HTML documents are created with the help of tags. The basic structure of an html page consists of a root element that contains Meta tags and other attributes, followed by the body element, which contains the actual text. There are other attributes. However, that may be specified to build a hypertext link from one webpage to another. In addition to this, several other attributes may be specified to customize how the web page is displayed on a web browser or a search engine. The HTML standard also allows one to specify default values for attributes that the document does not require.
An HTML document begins with the title element, which contains meta-information. The title element will always be the first tag on the page. Next, a header element describes the content of the page, which begins with a lower case letter and enclosed in curly braces. The body element will contain the actual content of the web page. Within the body of the html page, you will find two more tags described above.
HTML is usually written as text, using text formatting language. However, web browsers use HTML code, which is called script tags. These tags let the browser know what the web page should look like and what it should do. While web browsers use script tags, they differ in the way they treat some non-Script tags.
One example of a non-script element is the h1 tag. The h1 tag is used to give the first heading or the first sentence of the article the appearance of boldface. Another example is the tag, used to define the heading or the first sentence of the content of the web page. The content of the h1 tag is not part of the HTML language, but these non-HTML tags still appear in the output of an html viewer.
Other important tags are the HTML keywords or the globally recognized XHTML, web, w3c, veg, txt, asp, PHP, and Java. All the tags, as mentioned earlier, are part of the HTML syntax. However, one tag cannot appear in the HTML syntax, and that is the description tag. The description tag is used to give more information about an HTML document.