Tags are instructions that are embedded directly into the text of a HTML document. Each HTML tag describes that the browser should do something instead of simply displaying the text. In HTML, the tags begin with (<) and end with (>)
HTML tags can be of two types. They are
1. Paired Tags
2. Unpaired Tags
Paired Tags: A tag is said to be a paired tag if the text is placed between a tag and its companion tag. In paired tags, the first tag is referred to as Opening Tag and the second tag is referred to as Closing Tag.
<i>This text is in italics. </i>
Note: Here <i> is called opening tag. and </i> is called closing tag.
Unpaired Tags: An unpaired tag does not have a companion tag. Unpaired tags are also known as Singular or Stand-Alone Tags.
<br> , <hr> etc. These tags does not require any companion tag.
Tags Based on their utility
We can differentiate tags based on the purpose they used. Basically we have three types here
We manage the size of the font, underline part of the text, make the text bold etc by using tags like <font>, <u>,<b> etc.
Page Structure tags
Description , title , head , body etc are part of the page structure tags. They are part of the basic html page and does not directly affect the formatting of text or image.
Form tags, Script tags, Radio buttons etc are part of the control tags
Number of User Comments : 16
|Click for more Questions on HTML|
|I found the best answer on your site.Thank|
you very much!!
|your theory for tag is very nice i like this|
|I found the exact info... Thanx|
|I have found the best material on your notes .......thnx.........|
|please i neeed specialtags|
|very limited information but still good|
|thnx! u saved my life....cas I was in desperate need of tat answer!!!!! |
|thnk u...i got d bst ans....n it saved me!..as i hv to do my work ........thank a lot|
|i find a good answer on this site but it is very limited. pls extend the answer so tha it can be more useful for the users. thnx....|
|ohho in this complex technologies. this website provide very easy defination thank u |
|Shallyn S M||23-04-2014|
|You refreshed my memory about tags. Thanks for enlightening me about it again.|
|thank u so much for uploading this it has helped a lot and i'm grateful unto u|
|thank you, i am satisfied, i found answer my question|
|Faryad Ali ||16-09-2014|
|Thank you for your note. It is so helpful for me.|