Monday, January 4, 2010

HTML tags

HTML tags are enclosed with two angle brackets ‘<’ and ‘>’. These tags are in pairs. The first tag indicates the starting and the second one finishes the command. For instance, to make a certain phrase bold you will use and . The entire text between these two tags will be displayed in bold fonts in the browser. The data placed between both the tags is known as element content.

Description of the tags used in the example on the previous page:

In this part, you will learn about every tag’s function.

HTML tag: Html tag is the very first tag of your HTML document. It tells the browser that this is the starting point of your page. Also, this is the last tag of your HTML document. It tells the browser that the document has ended.


Head Tag: All the data between the first head tag and the last head tag is the header data. However, this header data is not displayed in the browser window.


Title Tag: The text between two title tags ‘


Body Tags: The text between two body texts which are ‘’ is the body of the page. All the matter put in between these two titles will be displayed in your browser.


Bold tags: and are known as bold tags. All the matter placed between these two tags will appear in bold fonts in your browser.

No comments:

Post a Comment