Topic
HTML
HTML is the markup language used to describe the structure and meaning of web content.
At a glance
- Expansion
- HyperText Markup Language
- Primary role
- Content structure and semantics
Overview
HTML is the markup language used to describe the structure and meaning of web content. Elements identify parts such as headings, paragraphs, links, and form controls. A browser interprets that structure alongside styling and scripts to present an interactive page.
Meaning before appearance
Choosing an element communicates what a piece of content is. A heading establishes structure, a link identifies navigation, and a button exposes an action. Their roles remain meaningful when visual styles change.
HTML in a page
An HTML document supplies the content structure, while CSS controls presentation and JavaScript can add behavior. Using native elements gives browsers and assistive tools information that anonymous containers do not provide by themselves.
Sources and review
MOOR's explanatory text is supported by the following source links.
- HTML reference — MDN Web Docs
- HTML Living Standard — WHATWG