answersLogoWhite

0


Best Answer

The basic syntax of HTML is

<HTML>

<head><title>...</head></title>

<body>

...

</body>

</HTML>

Here every HTML coding start with HTML tag. Anything written under <> is called a tag. Head and title tag are optional but given for more information. anything written in title tag gives the web page a title. For example when u open www.Yahoo.com

the title is yahoo! India- "your explorer name".

All other thing are written in body section.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

An HTML element consists of one or two HTML tags. Some elements (such as a paragraph) are made up of a matching pair of opening and closing tags. Others, like the image element, are made up of only a single tag.

Every HTML element opening tag follows a similar pattern. It is a less than sign, followed by the tag itself.

<p>

Within the tag you can add attributes. Some attributes are global, (like class) while others are specific to the tag type. An attribute's name is followed by the equals sign, and then a value for the attribute that should be contained in double quotes. For instance.

<p class="firstP">

A list of attributes is permitted. They should be separated by spaces.

<p class="firstP" id="pOne">

Most tags also have a closing counterpart used to complete the element. These closing tags follow the pattern less than sign, forward slash, tag identifier, greater than sign.

</p>

Paired, these two tags for the element.

<p class="firstP" id="pOne">Paragraph text</p>

Not all tags close.

This answer is:
User Avatar

User Avatar

Wiki User

7y ago

The HTML element is everything from the start tag to the end tag.

This answer is:
User Avatar

User Avatar

Wiki User

9y ago

An element in HTML is a certain tag defined. When we say the anchor element, we mean <a>.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the syntax of HTML element?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Are HTML tags and syntax the same?

No. Syntax is/are the rules of the language, tags are part of the syntax.


How do you make a link on a site?

An HTML LinkLink syntax: Link textThe start tag contains attributes about the link.The element content (Link text) defines the part to be displayed.Note: The element content doesn't have to be text. You can link from an image or any other HTML element.


What is the fundamental unit of HTML syntax?

the &lt;&gt; brackets, for example to begin an HTML document you begin with the tag &lt;html&gt;


What are the two HTML syntaxes?

HTML is a markup language and it's syntax is well defined. It can be used as &lt;html&gt;&lt;body&gt;...&lt;/body&gt;&lt;/html&gt;


Is there a way to get syntax colouring in HTML for HTML code inside a text area?

For Syntax coloring you can use HTML Editors such as : * Arachnophilia * BBEdit * BlueFish * Coda * E Text Editor * Eclipse with the Web Tools Platform * EditPlus * EmEditor * HTML-Kit * HomeSite * Notepad++ These editors automatically sets a color for your syntax.


What syntax-based language integrates into HTML pages?

JavaScript


Which of the following is the correct syntax for HTML Anchor Control?

linktest


What will be the HTML syntax of the image after copying it to a CD?

An image does not have an HTML syntax. If you copy an image from a Webpage, you save just the image file (e.g. image.jpg). You do not save any of the HTML code used to tell the browser where to locate the image to display on the page.


Benefits of using HTML?

The main benefit of using HTML is its easy syntax. The tags are very powerful to use.


How do you get xml in HTML?

xml can be written straight into html code and vice versa using the correct syntax, ie your html in here and your xml in here


Syntax when using image tag to an HTML document?

The basic syntax is:Additional optional attributes include height, width, and border.


What is the general syntax for inline image?

The general syntax for an inline image in HTML is: &lt;img src=&quot;image.jpg&quot; alt=&quot;Description of image&quot;&gt;