HTML Elements Reference
This page provides a reference for HTML elements. It lists common elements and their usage.
| Element | Description |
|---|---|
| <!DOCTYPE> | Declaration that defines the document type and version of HTML. |
| <a> | Anchor element, used to create hyperlinks. |
| <abbr> | Defines an abbreviated form of a word or phrase. |
| <address> | Defines contact information for the author/owner of a document. |
| <area> | Defines a clickable area within an image map |
| <article> | |
| <aside> | |
| <audio> | |
| <b> | Bold element, used to apply bold styling to text. |
| <base> | |
| <bdi> | |
| <bdo> | |
| <blockquote> | Defines a block of quoted content. |
| <body> | Container for the visible content of the HTML document. |
| <br> | Line break |
| <button> | Defines a clickable button. |
| <canvas> | |
| <caption> | Defines a table caption |
| <cite> | Defines a citation or reference to a creative work. |
| <code> | Defines text that is computer code |
| <col> | Defines a column within a table |
| <colgroup> | Defines a group of columns in a table |
| <!--...--> | Defines a comment in HTML. |
| <data> | |
| <datalist> | |
| <dd> | |
| <del> | Defines text that has been deleted, usually a strike-through |
| <details> | |
| <dfn> | |
| <dialog> | |
| <div> | Defines a section in a document. Used as a container for other elements. |
| <dl> | Defines a description list. |
| <dt> | Defines a term in a description list. |
| <em> | Emphasis element, used to indicate emphasized text. |
| <embed> | |
| <fieldset> | |
| <figcaption> | |
| <figure> | |
| <footer> | Defines a footer for a document or section. |
| <form> | |
| <h1> to <h6> | Heading elements, used to define headings of different levels. |
| <head> | Container for metadata, scripts, and links to external resources. |
| <header> | Defines a header for a document or section. |
| <hgroup> | |
| <hr> | Horizontal rule |
| <html> | Root element that wraps the entire HTML document. |
| <i> | Italic element, used to apply italic styling to text. |
| <iframe> | |
| <img> | Image element, used to embed images in the document. |
| <input> | |
| <ins> | Defines text that has been inserted. Usually underlined. |
| <kbd> | |
| <label> | |
| <legend> | |
| <li> | Defines a list item. |
| <link> | Defines a link to an external resource. |
| <main> | |
| <map> | Defines a client-side image map |
| <mark> | Defines text that should be marked or highlighted. |
| <menu> | |
| <meta> | Defines metadata about an HTML document. |
| <meter> | |
| <nav> | Defines a set of navigation links |
| <noscript> | |
| <object> | |
| <ol> | Ordered list element, used to create a numbered list. |
| <optgroup> | |
| <option> | |
| <output> | |
| <p> | Paragraph element, used to define a paragraph of text. |
| <param> | |
| <picture> | Defines a container for multiple image resources, allowing responsive images. |
| <pre> | Defines preformatted text. Preserves whitespace. |
| <progress> | |
| <q> | Defines a short quotation. |
| <rp> | |
| <rt> | |
| <ruby> | |
| <s> | |
| <samp> | |
| <script> | Defines a script for the document. |
| <search> | |
| <section> | |
| <select> | |
| <small> | Defines smaller text. |
| <source> | Defines multiple media resources for media elements |
| <span> | |
| <strong> | Strong element, used to indicate strong importance or emphasis. |
| <style> | Defines a style sheet for the document. |
| <sub> | Subscript: Appears half a character below the normal line. |
| <summary> | |
| <sup> | Superscript. Appears half a character above the normal line. |
| <svg> | |
| <table> | Defines a table |
| <tbody> | Defines a body of a table. |
| <td> | Defines table data cell |
| <template> | |
| <textarea> | |
| <tfoot> | Defines a footer of a table. |
| <th> | Defines a table header cell |
| <thead> | Defines a header of a table. |
| <time> | |
| <title> | Defines the title of the document, displayed in the browser tab. |
| <tr> | Defines a table row |
| <track> | |
| <u> | Defines underlined text. |
| <ul> | Unordered list element, used to create a bulleted list. |
| <var> | |
| <video> | |
| <wbr> |