Robots Atlas>ROBOTS ATLAS
Standard

HTML

1991ActivePublished: 30 November 2026Updated: 30 November 2026Published
Key innovation
A simple, declarative markup language that separates the structure and meaning of content from its presentation (CSS) and behavior (JavaScript), becoming the universal document format of the Web.
Category
Standard
Abstraction level
Standard
Operation level
ApplicationTooling
Use cases
Building websites and web applicationsUser interfaces (UI) generated by tools and AI modelsEmail templatesDocuments and reports rendered in a browserEmbedding media, forms and interactive contentContent rendered in webviews of mobile and desktop apps

How it works

An author describes content using elements delimited by tags (<tag>...</tag>) and refined by attributes (e.g. src, href, alt). The browser parses the HTML document โ€” leniently, following the standard's parsing rules โ€” into a DOM tree. CSS applies presentation rules to that tree, and JavaScript reads and mutates it at runtime. Semantic elements (e.g. <header>, <nav>, <article>) carry meaning used by assistive technologies and search engines.

Problem solved

Before HTML there was no common, portable way to describe linked documents (hypertext) that could be displayed on any machine. HTML provided a single, open, declarative format that every browser can parse and render regardless of operating system or hardware.

Strengths & limitations

Strengths
โœ“A universal, open standard supported by every browser
โœ“Declarative and human-readable
โœ“Backward compatible โ€” old pages keep working
โœ“Semantic elements support accessibility and SEO
โœ“Easy to generate programmatically and by AI models
Limitations
โœ—On its own it describes neither presentation (needs CSS) nor logic (needs JavaScript)
โœ—A permissive parser tolerates malformed markup, hiding mistakes
โœ—Incorrect or non-semantic use harms accessibility
โœ—Client-side rendered content can hinder indexing and SEO
โœ—Injecting unsanitized user content risks XSS attacks

Components

ElementContent structure and semantics

The basic unit of HTML content, usually delimited by an opening and closing tag; it carries structure and meaning (e.g. <p>, <img>, <article>).

TagSyntax for writing elements

The syntax that marks off an element โ€” the element name surrounded by < and >, e.g. <p> ... </p>. Names are case-insensitive, with lowercase being the convention.

AttributeElement configuration

An additional value that configures an element or adjusts its behavior, written in the opening tag (e.g. src, href, alt, class, id).

Document tree (DOM)Runtime representation of the document

The tree structure the browser parser builds from the HTML document; exposed as the Document Object Model that CSS and JavaScript operate on.

Implementation

Implementation pitfalls
Unclosed or badly nested tagsMedium

The permissive HTML parser repairs malformed markup per the standard's rules, producing a DOM different from the one intended while the mistake stays invisible.

Fix:Use a validator (e.g. the W3C Nu Html Checker) and formatting tools; write properly nested, closed markup.
Not escaping user content (XSS)High

Injecting unsanitized user data straight into HTML allows script injection (cross-site scripting).

Fix:Escape or sanitize data before insertion; rely on template auto-escaping and a Content Security Policy.
Ignoring semantics and accessibilityMedium

Building a UI only from <div> and <span> instead of semantic elements strips the content of meaning needed by assistive technologies.

Fix:Use semantic elements (<nav>, <main>, <button>) and ARIA attributes where necessary.

Evolution

Original paper ยท 1991 ยท CERN / World Wide Web ยท Tim Berners-Lee
HTML Tags (first public description of HTML)
Tim Berners-Lee
1991
First public description of HTML ("HTML Tags")
Inflection point

Tim Berners-Lee publishes the "HTML Tags" document describing the initial 18 elements.

1995
HTML 2.0 (RFC 1866)

The first HTML specification intended to be treated as a standard, published on 24 November 1995.

1999
HTML 4.01 (W3C)

Published on 24 December 1999; the last HTML version before development paused for several years.

2004
WHATWG forms and HTML5 work begins

Apple, Mozilla and Opera found the WHATWG and begin developing HTML5 in reaction to the W3C's direction toward XHTML.

2014
HTML5 becomes a W3C Recommendation
Inflection point

HTML5 standardized as a W3C Recommendation on 28 October 2014.

2019
WHATWG becomes the sole publisher of HTML (Living Standard)
Inflection point

On 28 May 2019 the W3C announced that the WHATWG would be the sole publisher of the HTML and DOM standards; HTML is developed as a Living Standard.

Hardware requirements

Primary

HTML is a platform-independent text format; it is parsed and rendered by browser engines on any hardware.