HTML Elements

Explore a selection of common HTML elements with examples, semantics, accessibility notes, and styling tips.

Return to Webdev

button

Clickable button elements for actions and controls.

Open

input

Single-line text fields, checkboxes, radios and other input types.

Open

textarea

Multi-line text input for comments, messages, and content.

Open

select

Dropdowns for choosing from a list of options.

Open

a (link)

Anchor elements for navigation and external links.

Open

AB

table

Tabular data with headers, rows, and cells.

Open

  • List

ul / ol / li

Ordered and unordered lists for grouping items.

Open

summary

details

details / summary

Expandable disclosure widgets for progressive disclosure.

Open

progress / meter

Visual representations of progress and scalar measurements.

Open

<code>

pre / code

Markup for showing code samples and preformatted text.

Open

canvas

Drawing graphics with JavaScript using the canvas APIs.

Open

svg

Scalable vector graphics for resolution-independent visuals.

Open