Every entry, one line each. Highlighted ones have a detailed example below — click to jump there.
- html
- The root element of the document
- head
- Container for document metadata
- body
- Container for the visible page content
- title
- The document's title, shown in the browser tab
- meta
- Metadata that cannot be expressed by other elements
- link
- Links the document to an external resource
- base
- The base URL for all relative URLs in the document
- style
- Embeds CSS directly in the document
- script
- Embeds or references executable JavaScript
- noscript
- Fallback content when scripting is disabled
- div
- A generic block-level container with no semantic meaning
- span
- A generic inline container with no semantic meaning
- a
- A hyperlink to another page, file, or location
- ul
- An unordered (bulleted) list
- ol
- An ordered (numbered) list
- li
- A list item, inside <ul> or <ol>
- dl / dt / dd
- A description list, its terms, and their descriptions
- blockquote
- An extended quotation from another source
- q
- A short, inline quotation
- cite
- The title of a creative work being referenced
- address
- Contact information for the nearest article or body
- hr
- A thematic break between paragraph-level content
- br
- A single line break
- pre
- Preformatted text — whitespace is preserved
- article
- Self-contained, independently distributable content
- aside
- Content tangentially related to the surrounding content
- section
- A generic standalone section of a document
- nav
- A section with navigation links
- header
- Introductory content, typically a group of navigational aids
- footer
- A footer for its nearest sectioning content
- main
- The dominant content of the document body
- figure / figcaption
- Self-contained content and its caption
- dialog
- A dialog box or other interactive component
- time
- A specific period in time
- mark
- Text marked or highlighted for reference purposes
- template
- A mechanism for holding HTML that isn't rendered immediately
- data
- Links content with a machine-readable value
- bdi
- Isolates text that might be formatted in a different direction
- wbr
- A word break opportunity
- b / i / u
- Stylistically offset text, alternate voice, and underline
- small
- Side comments and small print
- del / ins
- Deleted and inserted text (tracked changes)
- sub / sup
- Subscript and superscript text
- abbr
- An abbreviation or acronym, with its full form in title
- form
- A section for collecting and submitting user input
- input
- A form control — its type attribute picks the widget
- textarea
- A multi-line plain-text input control
- button
- A clickable button
- select / option
- A dropdown list and its options
- optgroup
- Groups related <option>s under a label
- label
- Caption for a form control, tied to it via 'for'
- fieldset / legend
- Groups related form controls, with a caption
- datalist
- A set of predefined options for an input
- output
- The result of a calculation or user action
- meter
- A scalar value within a known range, or a fractional value
- progress
- The completion progress of a task
- img
- Embeds an image
- audio
- Embeds a sound or audio stream
- source
- Media resources for <picture>, <audio> or <video>
- track
- Text tracks (captions, subtitles) for media elements
- picture
- A container for multiple image sources
- iframe
- Embeds another HTML page within the current one
- embed
- Embeds external content at the point in the document
- object
- Embeds external resources via a plugin or the browser
- canvas
- A bitmap area for drawing via JavaScript
- svg
- Embeds scalable vector graphics
- map / area
- A client-side image map and its clickable regions
- table
- Represents tabular data
- td / th
- A data cell, and a header cell
- colgroup / col
- Groups and styles one or more table columns