HTML Tags

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.

Example

<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.

Example

<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

Formatting tags

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.

Control tags

Form tags, Script tags, Radio buttons etc are part of the control tags

Number of User Comments : 18


Google+
edward

17-05-2012

I found the best answer on your site.Thank you very much!!
Mohd abdulla

08-09-2012

your theory for tag is very nice i like this
Sayli

09-10-2012

I found the exact info... Thanx
Suhail mir

15-11-2012

I have found the best material on your notes .......thnx.........
rahul

01-12-2012

awsm babe
suresh kumar

06-01-2013

please i neeed specialtags
harriet

09-04-2013

very limited information but still good
rohan

29-04-2013

thnx! u saved my life....cas I was in desperate need of tat answer!!!!!
piyush

31-07-2013

thnk u...i got d bst ans....n it saved me!..as i hv to do my work ........thank a lot
aman

10-11-2013

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....
anil

04-02-2014

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.
daph

30-05-2014

thank u so much for uploading this it has helped a lot and i'm grateful unto u
pramod kumar

11-09-2014

thank you, i am satisfied, i found answer my question
Faryad Ali

16-09-2014

Thanks
Moshiur Rahman

22-09-2014

Thank you for your note. It is so helpful for me.
Don Bensua

18-12-2014

tanks 4 given me answer 2 my question
Ali Tunio

18-04-2015

thank u so much for uploading this it has helped a lot and i'm grateful into u It is so helpful for me thanks a lot.

Post Comment This is for short comments only. Use the forum for more discussions.






OPINION POLL

What is the most important factor of a web site
HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us
©2000-2015 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer