HTML Element List
This is a list of all elements in the HTML 4.01 Specification which became a W3C Recommendation on 24th December 1999.
Even though this was 13 years ago it remains the current version of HTML used on the Web as HTML5 is still under development and has yet to be released as a working specification.
Basic Structure
| Element |
Definition |
| <!DOCTYPE> |
Defines the document type |
| <html> |
Defines an HTML document |
| <body> |
Defines the body of an HTML document |
Other Structural Tags
| Element |
Definition |
| <p> |
Defines a paragraph |
| <h1> to <h6> |
Defines a heading |
| <br> |
Inserts a single line break |
| <hr> |
Defines a horizontal rule |
Forms
| Element |
Definition |
| <form> |
Defines an HTML form for user input |
| <input> |
Defines an input control |
| <isindex> |
Defines a single line text input area.Deprecated |
| <button> |
Defines a push button |
| <fieldset> |
Defines a border around elements in a form |
| <label> |
Defines a label for a form element |
| <legend> |
Defines a caption for a fieldset element |
| <select> |
Defines a select/menu list |
| <option> |
Defines an option in a select list |
| <optgroup> |
Defines a group of options in a select list |
| <textarea> |
Defines a multi-line text input control |
Tables
| Element |
Definition |
| <table> |
Defines a table |
| <tbody> |
Defines a table body |
| <colgroup> |
Defines groups of table columns |
| <col> |
Defines attribute values for one or more columns in a table |
| <tr> |
Defines a row in a table |
| <td> |
Defines a data cell in a table |
| <tfoot> |
Groups the footer content in a table |
| <thead> |
Groups the header content in a table |
| <th> |
Defines a header cell in a table |
| <caption> |
Defines a table caption |
Text Effects/Formatting
| Element |
Definition |
| <abbr> |
Defines an abbreviation |
| <accronym> |
Defines an accronym |
| <address> |
Defines contact information |
| <b> |
Defines bold text |
| <bdo> |
Defines the direction of text display |
| <big> |
Increases the size of displayed text |
| <blockquote> |
Defines a long quotation |
| <center> |
Aligns content in the center of a div. Deprecated |
| <code> |
Defines computer code text |
| <cite> |
Defines a citation |
| <del> |
Defines deleted text |
| <dfn> |
Indicates the definition of a term |
| <em> |
Defines emphasised text |
| <font> |
Defines font aspects of text Deprecated |
| <i> |
Displays text in italics |
| <ins> |
Defines text that has been inserted into a document |
| <kbd> |
Defines keyboard text |
| <pre> |
Defines preformatted text |
| <q> |
Defines a short quotation |
| <s> |
Defines strikethrough text Deprecated |
| <samp> |
Defines sample text |
| <small> |
Defines small text |
| <strike> |
Defines strikethrough text Deprecated |
| <strong> |
Defines strong text |
| <sub> |
Displays subscript text |
| <sup> |
Displays superscript text |
| <tt> |
Defines teletype text |
| <u> |
Displays underlined text Deprecated |
| <var> |
Indicates a variable or program argument within text |
Lists
| Element |
Definition |
| <ul> |
Defines an unordered list |
| <ol> |
Defines an ordered list |
| <li> |
Defines an item in a list |
| <dd> |
Defines a description of a term in a definition list |
| <dl> |
Defines a definition list |
| <dt> |
Defines an item in a definition list |
| <dir> |
Used to create a directory list Deprecated |
| <menu> |
Creates a list of menu choices Deprecated |
Frames
Meta Information
| Element |
Definition |
| <base> |
Defines a base url for all the links on a page |
| <basefont> |
Defines a default font, colour or size for text on a page. Deprecated |
| <head> |
Defines the head section of an HTML page |
| <title> |
Defines the title of a document |
| <!--...--> |
Defines a comment |
| <meta> |
Contains metadata about a document |
Links
| Element |
Definition |
| <a> |
Defines a link |
| <link> |
Links to an external resource |
Images
| Element |
Definition |
| <area> |
Defines an area inside an image map |
| <img> |
Defines a location for an image |
| <map> |
Defines a client-side image map |
Styles
| Element |
Definition |
| <div> |
Defines a section in the body of a page |
| <span> |
Defines a section in a document |
| <style> |
Defines style information for a document. |
Programming
| Element |
Definition |
| <script> |
Contains a script or a link to a script |
| <noscript> |
Offers alternative content when scripts are not supported |
| <applet> |
Defines an applet. Deprecated |
| <object> |
Defines an object to be placed in a page |
| <param> |
Defines parameters for an object |