History of HTML

From a physicist's side project in 1989 to the language powering billions of web pages — the story of how HTML became the web's foundation.

Where It All Began: Tim Berners-Lee, 1989

HTML was invented by a British scientist named Tim Berners-Lee while he was working at CERN — the famous particle physics laboratory in Switzerland. In 1989, he submitted a proposal to his boss titled "Information Management: A Proposal." His boss wrote "Vague but exciting" on the cover and handed it back.

That "vague but exciting" idea became the World Wide Web.

Berners-Lee's problem was simple: CERN had thousands of scientists, many computers, and mountains of documents. Finding information meant either knowing exactly where to look or asking the right person. There was no easy way to link one document to another. He wanted to create a system where you could jump from one piece of information to another with a click — what he called hypertext.

In 1991, he published the first version of HTML — a small set of just 18 tags. The web's very first page is still live today at info.cern.ch. It's just plain text and links, but it set off everything that followed.

🔬 Context: what the web solved

Before the web, computers could share files but there was no universal, clickable way to navigate between them. It was like having every book in the world in separate locked rooms with no library, no catalogue, and no hallways between them. Berners-Lee built the hallways — and the doors, and the signs above the doors.

HTML Versions: A Timeline

HTML has gone through several major versions. Each one added new capabilities and fixed old problems:

VersionYearWhat it added
HTML 1.0199118 basic tags. Links, headings, paragraphs. The original.
HTML 2.01995First formal standard. Added forms so users could submit data.
HTML 3.21997Tables, text alignment, font tags. Things got messy.
HTML 4.011999Separated structure from style — CSS was the future.
XHTML 1.02000Stricter, XML-based HTML. Popular but difficult to write.
HTML52014Massive overhaul. Native video, audio, canvas, semantic tags, accessibility. What we use today.
HTML Living Standard2019–nowHTML is now a "living standard" — continuously updated, no version numbers.

The Browser Wars (and Why They Matter)

In the mid-1990s, two browsers competed for dominance: Netscape Navigator and Microsoft Internet Explorer. Each browser added its own custom HTML tags to attract developers and users. The problem was that a page built for Netscape might look broken in Internet Explorer, and vice versa.

This period is called the Browser Wars. It caused enormous headaches for developers who had to write double the code just to support both browsers.

The wars wound down in the early 2000s when Internet Explorer won through its bundling with Windows — but the lesson stuck: HTML needed a neutral governing body to set rules that all browsers would follow.

📌 The W3C and WHATWG

The W3C (World Wide Web Consortium) was founded by Berners-Lee in 1994 to standardise the web. For years, it published official HTML specifications. In 2004, browser makers Apple, Mozilla, and Opera formed a rival group called WHATWG (Web Hypertext Application Technology Working Group) because they felt the W3C was moving too slowly. WHATWG created the HTML Living Standard that browsers actually implement today. Since 2019, the two organisations agreed to collaborate — the WHATWG Living Standard is now the official reference.

HTML5: The Modern Era

HTML5, published as a full standard in 2014, was the biggest leap in HTML's history. It wasn't just adding a few tags — it fundamentally rethought what HTML could do:

  • Semantic elements — new tags like <header>, <nav>, <article>, and <footer> that describe the meaning of content, not just its appearance.
  • Native multimedia<video> and <audio> tags so you no longer needed Flash to play video on the web.
  • Canvas — a drawing surface for graphics and animations using JavaScript.
  • Form improvements — new input types like email, date, and range that the browser validates automatically.
  • Offline capabilities — ways to cache pages and work without internet.
  • Better accessibility — ARIA attributes to make pages work with screen readers.

HTML5 also killed the need for browser plugins like Flash, Silverlight, and Java Applets. Today those technologies are all but extinct, and HTML5 (along with CSS and JS) does everything they used to do.

The Living Standard: HTML Today

Today there is no "HTML 6." Instead, HTML is a Living Standard — a document that is continuously updated as new needs emerge and new capabilities are added. The people updating it are the engineers at major browser companies (Google, Apple, Mozilla, Microsoft) working in the open at github.com/whatwg/html.

This means HTML improves constantly, but browsers also have to decide when and how to implement new features. The result is that most modern browsers support an enormous and largely identical set of HTML features — a far cry from the Browser Wars days.

Why Learn HTML History?

You might wonder: why does any of this matter to someone just starting to learn HTML? A few reasons:

  • When you encounter older tutorials online, they may use tags like <font> or <center> that are now obsolete. Knowing history helps you spot outdated advice.
  • Understanding why semantic HTML exists (to replace the chaos of the Browser Wars era) makes it easier to remember when and why to use semantic tags.
  • It explains why HTML is so forgiving — browsers were designed to survive broken HTML from the messy early days, and that tolerance was baked in permanently.
💡 HTML is forgiving by design

If you write invalid HTML, the browser won't crash and show an error like a programming language would. It will do its best to display something. This is intentional — browsers have always prioritised showing users something over showing them nothing. Don't rely on this forgiving nature when writing code, but it's reassuring to know a small mistake won't break the entire page.

Tim Berners-Lee Today

Berners-Lee never patented HTML or the World Wide Web. He gave it to the world for free. He still works on web standards and has in recent years been advocating for a more ethical, decentralised web through his project called Solid. He is widely regarded as one of the most consequential inventors in history — yet remains relatively unknown compared to tech billionaires who built empires on his freely shared work.

Interview Questions

Who invented HTML and when?

Tim Berners-Lee, in 1989–1991, while working at CERN. The first version had just 18 tags and was designed to share scientific documents between researchers.

What is the difference between HTML 4 and HTML5?

HTML 4 separated structure and style and relied heavily on CSS, but lacked native multimedia and modern semantic tags. HTML5 added semantic elements like <article> and <nav>, native <video> and <audio>, the canvas drawing API, form improvements, and better accessibility support.

What is the HTML Living Standard?

Since 2019, HTML has no version numbers. Instead, it is a continuously updated "living" document maintained by WHATWG. Browser makers implement features as they are added, so HTML effectively evolves in real time.

✏️ Exercise

Visit info.cern.ch in your browser. This is the world's first web page, still live after more than 30 years. Notice what it looks like — just text and links, nothing else. Now open any modern website beside it. That gap is the story of what HTML has become.

🧠 Quiz

1. What problem was HTML originally designed to solve?

Sharing and linking scientific documents between researchers at CERN. Berners-Lee wanted a way to jump between related pieces of information across different computers without manually navigating file systems.

2. What were the "Browser Wars" and what problem did they cause?

A period in the mid-1990s when Netscape and Internet Explorer competed by adding their own custom HTML tags. This meant pages worked differently in different browsers, forcing developers to write double the code.

3. Why is there no HTML 6?

HTML switched to a Living Standard model — it is continuously updated without version numbers, so there's no need for a numbered "next version."

🚀 Mini Challenge

Write a short HTML page with a timeline. Use an <h1> for "HTML Timeline", then a series of <h2> headings for each decade (1990s, 2000s, 2010s, 2020s) with a <p> paragraph under each one describing what happened in HTML history during that decade. Keep it in your own words.

Summary

  • HTML was invented by Tim Berners-Lee in 1989–1991 at CERN to link scientific documents.
  • It has evolved through multiple versions, with HTML5 (2014) being the biggest leap.
  • The Browser Wars of the 1990s showed why open standards and governing bodies matter.
  • Today HTML is a Living Standard — continuously updated, no version numbers.
  • Berners-Lee gave HTML to the world for free, which is why the web became universal.

Related Topics