Click to See Complete Forum and Search --> : HTML Tag list


JoannaRivera
05-21-2009, 08:14 AM
hi ,

What is the open tag and closed tags and some one tell me how many tags and also give me list ?

Charles
05-21-2009, 08:29 AM
HTML is made up of nested elements as defined in some specification. There are different types of HTML each having its own specification. Typically, you make elements with tags. "<tag_name>" is an opening tag, "</tag_name>" is a closing tag. Now some elememts don't need tags at all, the element is required so you don't have to type it. The HTML element is like that. Some elements, like P, have optional end tags. If it looks like you are trying to create an ilegitament child the browser will assume a closing tag. And some elements, like HR, can't have children so they never take a closing tag.

The list can be found at http://www.w3.org/TR/REC-html40/index/elements.html .