HTML Reference Manual -(HTML5 Standard)
by Function
New: HTML5 New Tags
| Tags | Description |
|---|---|
| Basics | |
| <!DOCTYPE> | Defines the document type. |
| <html> | Defines an HTML document |
| <title> | Defines a title for the document |
| <body> | Defines the document's body |
| <h1> to <h6> | Defines HTML headings |
| <p> | Defines a paragraph |
| <br> | Defines a simple line break. |
| <hr> | Defines a horizontal line. |
| <!--...--> | Defines a comment |
| Formatting | |
| <acronym> | No longer supported in HTML5.Defines an acronym. |
| <abbr> | Defines an abbreviation. |
| <address> | Defines contact information for the author/owner of a document. |
| <b> | Defines bold text. |
| <bdi>New | Allows you to set a piece of text to be isolated from the text direction setting of its parent element. |
| <bdo> | Defines the text direction. |
| <big> | No longer supported in HTML5.Defines big text. |
| <blockquote> | Defines a block quotation. |
| <center> | No longer supported in HTML5. Deprecated in HTML 4.01.Defines centered text. |
| <cite> | Defines a citation. |
| <code> | Defines computer code text. |
| <del> | Defines deleted text. |
| <dfn> | Defines a definition term. |
| <em> | Defines emphasized text. |
| <font> | No longer supported in HTML5. Deprecated in HTML 4.01.Defines font, size, and color for text |
| <i> | Defines italic text. |
| <ins> | Defines inserted text. |
| <kbd> | Defines keyboard text. |
| <mark>New | Defines marked text. |
| <meter>New | Defines a scalar measurement. Only used for measurements with known maximum and minimum values. |
| <pre> | Defines preformatted text |
| <progress>New | Defines the progress of a task (process) in progress. |
| <q> | Defines a short quotation. |
| <rp>New | Defines what to show in browsers that do not support ruby elements. |
| <rt>New | Defines the explanation or pronunciation of characters (Chinese phonetic annotations or characters). |
| <ruby>New | Defines ruby annotations (Chinese phonetic annotations or characters). |
| <s> | Defines strikethrough text. |
| <samp> | Defines sample output from a computer program. |
| <small> | Defines small text. |
| <strike> | No longer supported in HTML5. Deprecated in HTML 4.01.Defines strikethrough text. |
| <strong> | Defines text with stronger emphasis. |
| <sub> | Defines subscript text. |
| <sup> | Defines superscript text. |
| <time>New | Defines a date/time |
| <tt> | No longer supported in HTML5.Defines typewriter text. |
| <u> | Defines underlined text. |
| <var> | Defines a variable part of text. |
| <wbr>New | Specifies where in the text a line break is appropriate. |
| Forms | |
| <form> | Defines an HTML form for user input. |
| <input> | Defines an input control |
| <textarea> | Defines a multi-line text input control. |
| <button> | Defines a button. |
| <select> | Defines a selection list (dropdown list). |
| <optgroup> | Defines a group of related options in a selection list. |
| <option> | Defines an option in a selection list. |
| <label> | Defines a label for an input element. |
| <fieldset> | Defines a border around elements in a form. |
| <legend> | Defines a title for a fieldset element. |
| <datalist>New | Specifies a list of possible options for an input element. |
| <keygen>New | Specifies a key-pair generator field used for forms. |
| <output>New | Defines the result of a calculation |
| Frames | |
| <frame> | No longer supported in HTML5.Defines a window or a frame in a frameset. |
| <frameset> | No longer supported in HTML5.Defines a frameset. |
| <noframes> | No longer supported in HTML5.Defines alternative content for users that do not support frames. |
| <iframe> | Defines an inline frame. |
| Images | |
| <img> | Defines an image. |
| <map> | Defines an image map. |
| <area> | Defines an area inside an image map. |
| <canvas>New | Draws graphics (such as charts and other images) via a script (usually JavaScript). |
| <figcaption>New | Defines a caption for a <figure> element |
| <figure>New | The figure tag is used to group elements. |
| Audio/Video | |
| <audio>New | Defines sound, such as music or other audio streams. |
| <source>New | Defines media resources for media elements (<video> and <audio>). |
| <track>New | Defines external text tracks for media elements (<video> and <audio>). |
| <video>New | Defines an audio or video |
| Links | |
| <a> | Defines a link |
| <link> | Defines the relationship between a document and an external resource. |
| <main> | Defines the main content of a document. |
| <nav>New | Defines navigation links |
| Lists | |
| <ul> | Defines an unordered list |
| <ol> | Defines an ordered list |
| <li> | Defines a list item |
| <dir> | No longer supported in HTML5. Deprecated in HTML 4.01.Defines a directory list. |
| <dl> | Defines a definition list |
| <dt> | Defines a term in a definition list. |
| <dd> | Defines a description of a term in a definition list. |
| <menu> | Defines a menu list. |
| <command>New | Defines a command that the user may invoke (such as a radio button, checkbox, or button). |
| Tables | |
| <table> | Defines a table |
| <caption> | Defines a table caption. |
| <th> | Defines a header cell in a table. |
| <tr> | Defines a row in a table. |
| <td> | Defines a cell in a table. |
| <thead> | Defines header content in a table. |
| <tbody> | Defines body content in a table. |
| <tfoot> | Defines footnote content (footer) in a table. |
| <col> | Defines attribute values for one or more columns in a table. |
| <colgroup> | Defines a group of columns in a table for formatting. |
| Styles/Sections | |
| <style> | Defines style information for a document. |
| <div> | Defines a section in a document. |
| <span> | Defines a section in a document. |
| <header>New | Defines a header section of a document. |
| <footer>New | Defines a footer for a document. |
| <section>New | Defines a specific area of a document. |
| <article>New | Defines article content. |
| <aside>New | Defines content outside of its surrounding content. |
| <details>New | Defines supplementary details that the user can view or hide. |
| <dialog>New | Defines a dialog box or window. |
| <summary>New | Defines a visible heading. When the user clicks the heading, detailed information is shown. |
| Meta Info | |
| <head> | Defines information about the document. |
| <meta> | Defines meta information about an HTML document. |
| <base> | Defines the default address or default target for all links on a page. |
| <basefont> | No longer supported in HTML5. Deprecated in HTML 4.01.Defines default font, color, or size for text in a page. |
| Scripting | |
| <script> | Defines client-side scripts. |
| <noscript> | Defines alternative content for users that do not support client-side scripts. |
| <applet> | No longer supported in HTML5. Deprecated in HTML 4.01.Defines embedded applets. |
| <embed>New | Defines a container for embedding external applications or interactive programs (plugins). |
| <object> | Defines embedded objects. |
| <param> | Defines parameters for an object. |