Caution
JavaScript is disabled in your browser.
This site uses JavaScript for features such as search.
For the best experience, please enable JavaScript before browsing this site.
Dictionary
- Home
- HTML Tag Dictionary
HTML Tag Dictionary Index
| [Setup] HTML Development Environment | Steps for setting up an environment to write and display HTML. |
| <!DOCTYPE> / <html> | Document type declaration and the root HTML element. |
| <head> | Container for document metadata. |
| <meta> | Configuring metadata. |
| <link> | Linking external resources. |
| <body> | Container for the document body. |
| id / class | Identifying and grouping elements. |
| style / title / lang | Inline styles, tooltips, and language settings. |
| data-* / hidden / tabindex | Custom data attributes, visibility, and focus order. |
| <h1> to <h6> | Heading tags. |
| <p> | Paragraphs. |
| <div> | General-purpose block container. |
| <pre> / <blockquote> / <hr> | Preformatted text, quotations, and horizontal rules. |
| <ul> / <ol> / <li> | Unordered and ordered lists. |
| <span> | General-purpose inline container. |
| <strong> / <em> | Important and emphasized text. |
| <code> / <kbd> / <var> | Displaying code, keyboard input, and variables. |
| <br> / <wbr> / <ruby> | Line breaks and ruby annotations. |
| <small> / <s> / <u> / <mark> / <del> / <ins> | Text decoration elements. |
| <a> | Hyperlinks. |
| <nav> | Navigation block. |
| <dl> / <dt> / <dd> | Definition lists (terms and descriptions). |
| <header> / <footer> | Page and section headers and footers. |
| <main> / <article> | Main content and standalone articles. |
| <section> / <aside> | Sections and supplementary information. |
| <details> / <summary> | Collapsible content. |
| <table> / <tr> / <td> / <th> | Basic table structure. |
| <thead> / <tbody> / <tfoot> / <caption> | Table grouping and captions. |
| colspan / rowspan | Merging table cells. |
| <form> | Container for forms. |
| <input> — Text | Text input fields. |
| <input> — Selection | Checkboxes and radio buttons. |
| <input> — Button & Others | Buttons, file inputs, and hidden fields. |
| <textarea> / <select> / <option> | Multi-line input and dropdowns. |
| <label> / <fieldset> / <legend> | Labels, grouping, and legends. |
| <button> | Button elements. |
| name / value / placeholder / required | Key attributes for form inputs. |
| <input> — HTML5 Validation Attributes | Input restrictions and validation. |
| <input type="date"> Types | Date and time inputs. |
| <input type="number"> / type="range"> / <datalist> | Number inputs, sliders, and suggestion lists. |
| <img> | Embedding images. |
| <picture> / <source> | Responsive images and media switching. |
| <figure> / <figcaption> | Figures and captions. |
| <video> | Embedding video. |
| <audio> | Embedding audio. |
| <iframe> | Inline frames for embedding external content. |
| <script> | Embedding and loading JavaScript. |
| <canvas> / <svg> | Canvas drawing and SVG images. |
| <style> | Embedding CSS. |
| <noscript> | Fallback content for when scripts are disabled. |
| role Attribute | Explicitly defining the role of an element. |
| aria-label / aria-labelledby / aria-describedby | Associating names and descriptions with elements. |
| aria-hidden / aria-expanded / aria-live | Visibility state and notifications of dynamic updates. |
| <meta name="description"> / OGP | Metadata for search engines and social media. |
| <link rel="canonical"> / hreflang | Canonical URLs and multi-language support. |
| <link rel="icon"> / <link rel="preload"> | Favicons and resource preloading. |
| <dialog> | Dialog boxes. |
| <template> / <slot> | Templates and Web Components slots. |