HTML 4.01 / XHTML 1.0 Reference
HTML Tag Reference - Functional
- Frame Tags
- Table Tags
- Object Tags
- Style Tags
- Meta Tags
- International Tags
- Deprecated Tags
- Invalid Tags
| Tag | Explanation | FF | IE | NN | SF | Dep | DTD |
|---|---|---|---|---|---|---|---|
| Standard Tags | The minimum you should have on your page. | ||||||
| <!DOCTYPE> | Document type definition | 1 | 2 | 2 | 1 | X | |
| <html> </html> | Root element of a Web page | 1 | 1 | 1 | 1 | ||
| <head> </head> | Head of the document | 1 | 1 | 1 | 1 | ||
| <title> </title> | Title | 1 | 1 | 1 | 1 | ||
| <body> </body> | Body of the page | 1 | 1 | 1 | 1 | ||
| <!-- --> | Comment | 1 | 1 | 1 | 1 | ||
| Text Tags | Tags to adjust text on your Web page. | ||||||
| <p> </p> | Paragraph | 1 | 1 | 1 | 1 | ||
| <br /> | Line break | 1 | 2 | 2 | 1 | ||
| <b> </b> | Bold | 1 | 2 | 2 | 1 | ||
| <i> </i> | Italics text style | 1 | 2 | 2 | 1 | ||
| <s> </s> | Strikeout text | 1 | 4 | 3 | 1 | D | L |
| <strike> </strike> | Strikeout text | 1 | 4 | 3 | 1 | D | L |
| <big> </big> | Large font size | 1 | 3 | 2 | 1 | ||
| <small> </small> | Small font size | 1 | 3 | 2 | 1 | ||
| Link Tags | Tags to adjust text on your Web page. | ||||||
| <a> </a> | Anchor or link | 1 | 2 | 2 | 1 |
|
|
| <base /> | Base URI paths for elements in the document | 1 | 2 | 2 | 1 | ||
| List Tags | Tags to create lists on your Web page. | ||||||
| <ul> </ul> | Unordered or buletted list | 1 | 2 | 2 | 1 | ||
| <ol> </ol> | Ordered or numbered list | 1 | 2 | 2 | 1 | ||
| <li> </li> | List item | 1 | 2 | 2 | 1 | ||
| <dl> </dl> | Definition list | 1 | 3 | 2 | 1 | ||
| <dt> </dt> | Definition list term | 1 | 2 | 2 | 1 | ||
| <dd> </dd> | Definition list description | 1 | 2 | 2 | 1 | ||
| Semantic Tags | Tags that describe the contents. | ||||||
| <abbr> </abbr> | Abbreviation | 1 | 7 | 6 | 1 | ||
| <acronym> </acronym> | Acronym | 1 | 4 | 6 | 1 | ||
| <dfn> </dfn> | Definition | 1 | 5 | 6 | 1 | ||
| <address> </address> | Address or authors of the document | 1 | 3 | 6 | 1 | D | |
| <code> </code> | Code reference | 1 | 2 | 2 | 1 | ||
| <tt> </tt> | Teletype text | 1 | 2 | 2 | 1 | ||
| <div> </div> | Logical division | 1 | 3 | 2 | 1 | ||
| <span> </span> | Generic inline style container | 1 | 4 | 4 | 1 | ||
| <del> </del> | Deleted text | 1 | 5 | 6 | 1 | ||
| <ins> </ins> | Inserted text | 1 | 5 | 6 | 1 | ||
| <em> </em> | Emphasis | 1 | 2 | 2 | 1 | ||
| <strong> </strong> | Strong emphasis | 1 | 2 | 2 | 1 | ||
| <h1> </h1> | First level headline | 1 | 2 | 2 | 1 | ||
| <h2> </h2> | Second level headline | 1 | 2 | 2 | 1 | ||
| <h3> </h3> | Third level headline | 1 | 2 | 2 | 1 | ||
| <h4> </h4> | Fourth level headline | 1 | 2 | 2 | 1 | ||
| <h5> </h5> | Fifth level headline | 1 | 2 | 2 | 1 | ||
| <h6> </h6> | Sixth level headline | 1 | 2 | 2 | 1 | ||
| <hr /> | Horizontal rule | 1 | 2 | 2 | 1 | ||
| <kbd> </kbd> | Text to be entered by the user | 1 | 2 | 2 | 1 | ||
| <pre> </pre> | Pre-formatted text | 1 | 2 | 2 | 1 | ||
| <samp> </samp> | Sample output | 1 | 2 | 2 | 1 | ||
| <sub> </sub> | Subscript | 1 | 3 | 2 | 1 | ||
| <sup> </sup> | Superscript | 1 | 3 | 2 | 1 | ||
| <var> </var> | Variable or user defined text | 1 | 2 | 2 | 1 | ||
| Image Tags | Tags that generate images. | ||||||
| <img /> | Image | 1 | 1 | 1 | 1 | ||
| <map> </map> | Client-side image map | 1 | 2 | 2 | 1 | ||
| <area /> | Client-side image map | 1 | 2 | 2 | 1 | ||
| Quotation Tags | Tags that define quotations. | ||||||
| <blockquote> </blockquote> | Long quotation | 1 | 2 | 2 | 1 | ||
| <q> </q> | Short inline quotation | 1 | 4 | 6 | 1 | ||
| <cite> </cite> | Citation | 1 | 2 | 2 | 1 | ||
| Form Tags | Tags that create and define HTML forms. | ||||||
| <form> </form> | Form | 1 | 2 | 2 | 1 | ||
| <button> </button> | HTML form button | 1 | 4 | 6 | 1 | ||
| <input /> | Input form element | * | * | * | * | ||
| <input type="button" /> | Button form element | 1 | 4 | 4 | 1 | ||
| <input type="checkbox" /> | Checkbox form element | 1 | 2 | 2 | 1 | ||
| <input type="file" /> | File upload form element | 1 | 2 | 2 | 1 | ||
| <input type="hidden" /> | Hidden form field element | 1 | 2 | 2 | 1 | ||
| <input type="image" /> | Image form element | 1 | 2 | 2 | 1 | ||
| <input type="password" /> | Password form element | 1 | 2 | 2 | 1 | ||
| <input type="radio" /> | Radio button form element | 1 | 2 | 2 | 1 | ||
| <input type="reset" /> | Reset button form element | 1 | 2 | 2 | 1 | ||
| <input type="submit" /> | Submit button form element | 1 | 2 | 2 | 1 | ||
| <input type="text" /> | Text field form element | 1 | 2 | 2 | 1 | ||
| <select> </select> | Select or drop-down menu lists | 1 | 2 | 2 | 1 | ||
| <option> </option> | Option in a select list | 1 | 2 | 2 | 1 | ||
| <textarea> </textarea> | Multi-line form element | 1 | 2 | 2 | 1 | ||
| <fieldset> </fieldset> | Form controls group | 1 | 4 | 6 | 1 | ||
| <label> </label> | Form label | 1 | 4 | 6 | 1 | ||
| <legend> </legend> | Form fieldset caption | 1 | 4 | 6 | 1 | ||
| <optgroup> </optgroup> | Group of options in a select list | 1 | 6 | 6 | 1 | ||
| Frame Tags | Tags that create and define HTML frames. | ||||||
| <frameset> </frameset> | Frameset | 1 | 3 | 2 | 1 | F | |
| <frame /> | Frame | 1 | 3 | 2 | 1 | F | |
| <noframes> </noframes> | Content when frames aren't available | 1 | 3 | 2 | 1 | F | |
| <iframe> </iframe> | Inline frame | 1 | 2 | 7 | 1 | ||
| Table Tags | Tags that create and define HTML tables. | ||||||
| <table> </table> | Table | 1 | 2 | 2 | 1 | ||
| <tr> </tr> | Table row | 1 | 2 | 2 | 1 | ||
| <th> </th> | Table header cell | 1 | 2 | 2 | 1 | ||
| <td> </td> | Table cell | 1 | 2 | 2 | 1 | ||
| <tbody> </tbody> | Table body rows | 1 | 4 | 6 | 1 | ||
| <tfoot> </tfoot> | Table footer rows | 1 | 4 | 6 | 1 | ||
| <thead> </thead> | Table header rows | 1 | 4 | 6 | 1 | ||
| <caption> </caption> | Table caption | 1 | 2 | 2 | 1 | ||
| <col /> | Table column | 1 | 4 | 6 | 1 | ||
| <colgroup> </colgroup> | Table column grouping | 1 | 4 | 6 | 1 | ||
| Object Tags | Tags that manipulate objects and multimedia. | ||||||
| <object> </object> | Non-standard object | 1 | 2 | 2 | 1 | ||
| <param /> | Parameter of an object element | 1 | 3 | 2 | 1 | ||
| <script> </script> | Scripts | 1 | 4 | 3 | 1 | ||
| <noscript> </noscript> | Content when scripts aren't available | 1 | 4 | 3 | 1 | ||
| Style Tags | Tags that style the contents or work with style sheets. | ||||||
| <style> </style> | Style sheets | 1 | 3 | 4 | 1 | ||
| <link /> | Link to related documents | 1 | 2 | 4 | 1 | ||
| Meta Tags | Tags that define meta data. | ||||||
| <meta /> | Metainformation about the document | 1 | 2 | 2 | 1 | ||
| International Tags | Tags that work with the language of the document. | ||||||
| <bdo> </bdo> | Bi-directional algorithm | 1 | - | 7 | 1 | ||
| Deprecated Tags | Tags that are not part of the strict specification. | ||||||
| <applet> </applet> | Java applet embedded in page | 1 | 3 | 6 | 1 | D | L |
| <center> </center> | Align to center | 1 | 2 | 2 | 1 | D | L |
| <dir> </dir> | Directory list | 1 | 2 | 2 | 1 | D | L |
| <embed /> | Embedded element | 1 | 3 | 2 | 1 | D | N |
| <font> </font> | Font color, face, and size | 1 | 2 | 2 | 1 | D | L |
| <isindex /> | Single line text input control | 1 | 2 | 2 | 1 | D | L |
| <menu> </menu> | Menu list | 1 | 2 | 2 | 1 | D | L |
| <noembed> </noembed> | Content when embed isn't available | 1 | 3 | 2 | 1 | D | N |
| <u> </u> | Underlined text | 1 | 2 | 2 | 1 | D | L |
| Invalid Tags | Tags that are not part of any HTML specification or browser-specific. | ||||||
| <audioscope> </audioscope> | Visual rendering of sound on WebTV | - | - | - | - | N | |
| <bgsound /> | Background music | - | 2 | - | - | N | |
| <blackface> </blackface> | Double-weight bold text on WebTV | - | - | - | - | N | |
| <blink> </blink> | Blink text on and off | 1 | - | 2 | - | N | |
| <comment> </comment> | Comment in Internet Explorer | - | 2 | - | - | N | |
| <keygen /> | Generate secure keys for certificate management | 1 | - | 3 | 1 | N | |
| <layer> </layer> | Layered content | - | - | 3 | - | N | |
| <marquee> </marquee> | Scrolling text marquee | 1 | 2 | 7 | 1 | N | |
| <shadow> </shadow> | Shadowed text on WebTV | - | - | - | - | N | |
| <sidebar> </sidebar> | Left side navigation bar on WebTV | - | - | - | - | N |
If there is a D in the deprecated column, the element was once a part of the specification but no longer is.
In the DTD column, elements are part of the XHTML 1.0 and HTML 4.01 DTD unless they have the following codes:
- L = loose DTD
- F = frameset DTD
- N = not in a DTD
- X = XML not XHTML or HTML

