| Tag | Description | Attribute | DTD | Block Level |
| <!--...--> | Defines a comment | STF | ||
| <!DOCTYPE>? | Defines the document type | STF | ||
| <a> | Defines an anchor, must not contain other <a> elements | href, hreflang, rel, charset | STF | No |
| <abbr> | Defines an abbreviation | STF | ||
| <acronym> | Defines an acronym | STF | ||
| <address> | Defines contact information for the author/owner of a document | STF | ||
| <applet> | Deprecated. Defines an embedded applet | DTF | ||
| <area /> | Defines an area inside an image-map | STF | ||
| <b> | Defines bold text | STF | ||
| <base /> | Defines a default address or a default target for all links on a page | STF | ||
| <basefont /> | Deprecated. Defines a default font, color, or size for the text in a page | DTF | ||
| <bdo> | Defines the text direction | STF | ||
| <big> | Defines big text | STF | ||
| <blockquote> | Defines a long quotation | STF | ||
| <body> | Defines the document's body | STF | ||
| <br /> | Defines a single line break | STF | ||
| <button> | Defines a push button, must not contain <input>, <select>, <textarea>, <label>, <button>, <form>, <fieldset>, <iframe> or <isindex> elements. | STF | ||
| <caption> | Defines a table caption | STF | ||
| <center> | Deprecated. Defines centered text | DTF | ||
| <cite> | Defines a citation | STF | ||
| <code> | Defines computer code text | STF | ||
| <col /> | Defines attribute values for one or more columns in a table? | STF | ||
| <colgroup> | Defines a group of columns in a table for formatting | STF | ||
| <dd> | Defines a description of a term in a definition list | STF | ||
| <del> | Defines deleted text | STF | ||
| <dfn> | Defines?a definition term | STF | ||
| <dir> | Deprecated. Defines a directory list | DTF | ||
| <div> | Defines a section in a document | STF | ||
| <dl> | Defines a definition list | STF | ||
| <dt> | Defines a term (an item) in a definition list | STF | ||
| <em> | Defines emphasized text? | STF | ||
| <fieldset> | Defines a border around elements in a form | STF | ||
| <font> | Deprecated. Defines font, color, and size for text | DTF | ||
| <form> | Defines an HTML form for user to input data, must not contain other <form> elements. | STF | ||
| <frame /> | Defines a window (a frame) in a frameset | F | ||
| <frameset> | Defines a set of frames | F | ||
| <h1> to <h6> | Defines HTML headings | STF | ||
| <head> | Defines information about the document | STF | ||
| <hr /> | Defines a horizontal line | STF | ||
| <html> | Defines an HTML document | STF | ||
| <i> | Defines italic text | STF | ||
| <iframe> | Defines an inline frame | TF | ||
| <img /> | Defines an image | STF | ||
| <input /> | Defines an input control | STF | ||
| <ins> | Defines inserted text | STF | ||
| <isindex> | Deprecated. Defines a searchable index related to a document | DTF | ||
| <kbd> | Defines keyboard text | STF | ||
| <label> | Defines a label for an input element, must not contain other <label> elements. | STF | ||
| <legend> | Defines a caption for a fieldset element | STF | ||
| <li> | Defines a list item | STF | ||
| <link /> | Defines the relationship between a document and an external resource | STF | ||
| <map> | Defines an image-map? | STF | ||
| <menu> | Deprecated. Defines a menu list | DTF | ||
| <meta /> | Defines metadata about an HTML document | STF | ||
| <noframes> | Defines an alternate content for users that do not support frames | TF | ||
| <noscript> | Defines an alternate content for users that do not support client-side scripts | STF | ||
| <object> | Defines an embedded object | STF | ||
| <ol> | Defines an ordered list | STF | ||
| <optgroup> | Defines a group of related options in a select list | STF | ||
| <option> | Defines an option in a select list | STF | ||
| <p> | Defines a paragraph | STF | ||
| <param /> | Defines a parameter for an object | STF | ||
| <pre> | Defines preformatted text, must not contain <img>, <object>, <big>, <small>, <sub>, or <sup> elements. | STF | ||
| <q> | Defines a short quotation | STF | ||
| <s> | Deprecated. Defines strikethrough text | DTF | ||
| <samp> | Defines sample computer code | STF | ||
| <script> | Defines a client-side script | STF | ||
| <select> | Defines a select list (drop-down list) | STF | ||
| <small> | Defines small text | STF | ||
| <span> | Defines a section in a document | STF | ||
| <strike> | Deprecated. Defines strikethrough text | DTF | ||
| <strong> | Defines strong text | STF | ||
| <style> | Defines style information for a document | STF | ||
| <sub> | Defines subscripted text | STF | ||
| <sup> | Defines superscripted text | STF | ||
| <table> | Defines a table | STF | ||
| <tbody> | Groups the body content in a table | STF | ||
| <td> | Defines a cell in a table | STF | ||
| <textarea> | Defines a multi-line text input control | STF | ||
| <tfoot> | Groups the footer content in a table | STF | ||
| <th> | Defines a header cell in a table | STF | ||
| <thead> | Groups the header content in a table | STF | ||
| <title> | Defines the title of a document | STF | ||
| <tr> | Defines a row in a table | STF | ||
| <tt> | Defines teletype text | STF | ||
| <u> | Deprecated. Defines underlined text | DTF | ||
| <ul> | Defines an unordered list | STF | ||
| <var> | Defines a variable part of a text | STF | ||
| <xmp> | Deprecated. Defines preformatted text | D? |
The tags are used in HTML and XHTML.
DTD indicates the document type definition in W3C, where
S=Strict
HTML: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
XHMTL: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
T=Transitional
F=Frameset
D=Deprecated, suggest not to use.
Attribute: only list non standard attributes. The Standard attributes are: id, class, style, title, lang, xml:lang, dir, accesskey, tabindex.