| Start tag | Purpose | NN | IE | DTD |
|---|---|---|---|---|
| Basic tags | ||||
| <!DOCTYPE>? | Defines the document type | STF | ||
| <html> | Defines a html document | 3.0 | 3.0 | STF |
| <body> | Defines the body element | 3.0 | 3.0 | STF |
| <h1> to <h6> | Title 1 -- Title 6 (Defines header 1 to header 6) | 3.0 | 3.0 | STF |
| <p> | Defines a paragraph | 3.0 | 3.0 | STF |
| <br /> | Inserts a single line break | 3.0 | 3.0 | STF |
| <hr /> | Defines a horizontal rule | 3.0 | 3.0 | STF |
| <!--...--> | Comments (Defines a comment) | 3.0 | 3.0 | STF |
| Char Format | ||||
| <b> | Defines bold text | 3.0 | 3.0 | STF |
| <font> | Defines the font face, size, and color of text | 3.0 | 3.0 | TF |
| <i> | The text is italic (Defines italic text) | 3.0 | 3.0 | STF |
| <em> | Text is important (Defines emphasized text)? | 3.0 | 3.0 | STF |
| <big> | Text enlargement (Defines big text) | 3.0 | 3.0 | STF |
| <strong> | Text is very important (Defines strong text) | 3.0 | 3.0 | STF |
| <small> | Defines small text | 3.0 | 3.0 | STF |
| <sup> | Defines superscripted text | 3.0 | 3.0 | STF |
| <sub> | Text subscripted (Defines subscripted text) | 3.0 | 3.0 | STF |
| <bdo> | ? ? ? (Defines the direction of text display) | 6.2 | 5.0 | STF |
| <u> | Defines underlined text | 3.0 | 3.0 | TF |
| Output | ||||
| <pre> | Preformatted text (preserve the size of spaces in the file) | 3.0 | 3.0 | STF |
| <code> | Code (for displaying source code) (Defines computer code text) | 3.0 | 3.0 | STF |
| <tt> | Printer font (Defines teletype text) | 3.0 | 3.0 | STF |
| <kbd> | Keyboard (Defines keyboard text) | 3.0 | 3.0 | STF |
| <dfn> | Defines?a definition term | 3.0 | STF | |
| <var> | Defines a variable | 3.0 | 3.0 | STF |
| <samp> | Defines sample computer code | 3.0 | 3.0 | STF |
| <xmp> | Deprecated. Defines preformatted text. Use <pre> instead | 3.0 | 3.0 | |
| Structural definition | ||||
| <acronym> | Defines an acronym only | 6.2 | 4.0 | STF |
| <abbr> | Abbreviation (Defines an abbreviation) | 6.2 | ? | STF |
| <address> | Defines an address element | 4.0 | 4.0 | STF |
| <blockquote> | Citation block (Defines an long quotation) | 3.0 | 3.0 | STF |
| <center> | Defines centered text | 3.0 | 3.0 | TF |
| <q> | Defines a short quotation | 6.2 | 4.0 | STF |
| <cite> | Citation (Defines a citation) | 3.0 | 3.0 | STF |
| <ins> | Insert (Defines inserted text) | 6.2 | 4.0 | STF |
| <del> | Defines deleted text | 6.2 | 4.0 | STF |
| <s> | Defines strikethrough text | 3.0 | 3.0 | TF |
| <strike> | Defines strikethrough text | 3.0 | 3.0 | TF |
| Link | ||||
| <a> | Link (Defines an anchor) | 3.0 | 3.0 | STF |
| <link> | Resource reference? ? (Defines a resource reference) | 4.0 | 3.0 | STF |
| frame | ||||
| <frame> | Defines a sub window (a frame) | 3.0 | 3.0 | F |
| <frameset> | Defines a set of frames | 3.0 | 3.0 | F |
| <noframes> | Defines a noframe section | 3.0 | 3.0 | TF |
| <iframe> | Defines an inline sub window (frame) | 6.0 | 4.0 | TF |
| enter | ||||
| <form> | Defines a form | 3.0 | 3.0 | STF |
| <input /> | Defines an input field | 3.0 | 3.0 | STF |
| <textarea> | Defines a text area | 3.0 | 3.0 | STF |
| <button> | Defines a push button | 6.2 | 4.0 | STF |
| <select> | Defines a selectable list | 3.0 | 3.0 | STF |
| <optgroup> | Defines an option group | 6.0 | 6.0 | STF |
| <option> | Defines an item in a list box | 3.0 | 3.0 | STF |
| <label> | Defines a label? for a form control | 6.2 | 4.0 | STF |
| <fieldset> | Defines a fieldset | 6.2 | 4.0 | STF |
| <legend> | Defines a title in a fieldset | 6.2 | 4.0 | STF |
| <isindex> | Deprecated. Defines a single-line input field. Use <input> instead) | 3.0 | 3.0 | TF |
| List | ||||
| <ul> | Defines an unordered list | 3.0 | 3.0 | STF |
| <ol> | Defines an ordered list | 3.0 | 3.0 | STF |
| <li> | Defines a list item | 3.0 | 3.0 | STF |
| <dir> | Defines a directory list | 3.0 | 3.0 | TF |
| <dl> | Defines a definition list | 3.0 | 3.0 | STF |
| <dt> | Defines a definition term | 3.0 | 3.0 | STF |
| <dd> | Defines a definition description | 3.0 | 3.0 | STF |
| <menu> | Defines a menu list | 3.0 | 3.0 | TF |
| picture | ||||
| <img /> | Image (Defines an image) | 3.0 | 3.0 | STF |
| <map> | Image map (Defines an image map)? | 3.0 | 3.0 | STF |
| <area /> | Defines an area inside an image map | 3.0 | 3.0 | STF |
| sheet | ||||
| <table> | Defines a table | 3.0 | 3.0 | STF |
| <caption> | Defines a table caption | 3.0 | 3.0 | STF |
| <th> | Defines a table header | 3.0 | 3.0 | STF |
| <tr> | Defines a table row | 3.0 | 3.0 | STF |
| <td> | Defines a table cell | 3.0 | 3.0 | STF |
| <head> | Defines a table header | 4.0 | STF | |
| <tbody> | Defines a table body | 4.0 | STF | |
| <tfoot> | Defines a table footer | 4.0 | STF | |
| <col> | Defines attributes for table columns? | 3.0 | STF | |
| <colgroup> | Defines groups of table columns | 3.0 | STF | |
| style | ||||
| <style> | Defines a style definition | 4.0 | 3.0 | STF |
| <div> | Defines a section in a document | 3.0 | 3.0 | STF |
| <span> | Defines a section in a document | 4.0 | 3.0 | STF |
| Header information | ||||
| <head> | Defines information about the document | 3.0 | 3.0 | STF |
| <title> | Defines the document title | 3.0 | 3.0 | STF |
| <meta> | Defines meta information | 3.0 | 3.0 | STF |
| <base /> | Defines a base URL for all the links in a page | 3.0 | 3.0 | STF |
| <basefont /> | Defines a base font | 3.0 | 3.0 | TF |
| Scripts, references to external objects | ||||
| <script> | Defines a script | 3.0 | 3.0 | STF |
| <noscript> | Defines a noscript section | 3.0 | 3.0 | STF |
| <applet> | Defines an applet | 2.0 | 3.0 | TF |
| <object> | Defines an embedded object | ? | 3.0 | STF |
| <param> | Defines a parameter for an object | 3.0 | 3.0 | STF
Related Articles
|