Skip to content
Learn Netverks

tags

Tag index

Common HTML elements grouped by role—use as a lookup while authoring.

Root & document shell

ElementRole
htmlRoot of an HTML document; carries lang.
headMetadata container (title, links, meta).
bodyVisible document content.

Sections & landmarks

ElementRole
addressContact information for the nearest article or body.
articleSelf-contained composition (blog post, card).
asideTangential sidebar content.
footerFooter for section or page.
headerIntroductory / navigational group.
h1–h6Heading levels forming an outline.
mainPrimary unique content (typically once per page).
navMajor navigation blocks.
sectionThematic grouping with heading.

Text & phrases

ElementRole
pParagraph.
prePreformatted text block.
blockquoteExtended quotation.
qInline quotation.
citeTitle of cited creative work.
codeShort fragment of code.
emStress emphasis.
strongStrong importance.
smallSide comments / fine print.
subSubscript.
supSuperscript.
markHighlighted reference.
timeMachine-readable dates/times.
brLine break within inline context.
wbrOptional break opportunity.
spanGeneric inline wrapper.
divGeneric flow container.

Lists

ElementRole
ulUnordered list.
olOrdered list.
liList item.
dlDescription list.
dtTerm in description list.
ddDescription / definition.

Links & media

ElementRole
aHyperlink anchor.
imgEmbedded image.
pictureResponsive picture candidate sources.
sourceMedia candidates inside audio/video/picture.
videoVideo playback.
audioAudio playback.
trackTimed text tracks (captions, subtitles).
figureFigure with optional caption.
figcaptionCaption for figure.
mapImage map definition.
areaHotspot inside map.

Embedded & graphics

ElementRole
iframeNested browsing context.
embedExternal content integration.
objectExternal resource / fallback.
canvasScript-accessible bitmap canvas.
svgVector graphics (inline).

Tables

ElementRole
tableTabular data container.
captionTable caption.
colgroupColumn grouping.
colColumn metadata.
theadHeader rows.
tbodyBody rows.
tfootFooter rows.
trTable row.
thHeader cell.
tdData cell.

Forms

ElementRole
formForm submission scope.
labelCaption / activation for control.
inputSingle-field control (many types).
buttonPush-button control.
selectOption picker.
optionSelect option.
optgroupGrouped options.
textareaMulti-line text.
fieldsetGroups fields.
legendFieldset caption.
datalistPredefined suggestions.
outputCalculation / result output.
progressCompletion progress indicator.
meterScalar gauge.

Interactive & scripting

ElementRole
detailsDisclosure widget.
summarySummary for details.
dialogModal / non-modal dialog.
scriptEmbedded / linked script.
noscriptFallback without scripting.
templateInert HTML template fragment.
slotShadow DOM insertion point.

Metadata & linking

ElementRole
titleDocument title.
metaMetadata.
linkExternal relationships (CSS, icons, prefetch).
baseDefault URL / target for relative URLs.
styleEmbedded stylesheet.

Many other elements exist for specialized content (Ruby annotations, MathML hooks, legacy plugins). Reach for native semantics first; consult the HTML standard when you adopt niche tags.

← Back to reference index