[Skip navigation links]

Home » Online Trial

HTML Version Statistics

This page shows trends for HTML and XHTML DOCTYPEs for sites submitted to this service.

  • The HTML 5 DOCTYPE is now the most common, used on over 60% of pages
  • XHTML 1.0 has dropped from 60% of pages in 2008, to fewer than 25% of web pages today
  • HTML 4.01 has dropped from 20% of pages in 2008, to fewer than 3% of pages today
  • The total sample size is over 10 million pages, with around 250,000 new pages scanned a month

HTML Version Trends

Graph: HTML versions in use: HTML 5 accounts of 35% of pages, XHTML 1.0 accounts for around 40% of pages and HTML 4.01 for under 10%

What is a DOCTYPE?

A Document Type Declaration, or DOCTYPE, is a piece of HTML code that says which version of HTML is being used. For example:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">

Note: Data is anonymized and aggregated to show averages. No site specific data is ever shown.

Free Online Trial

Test a Website

Test websites for accessibility, broken links, browser compatibility, SEO and over 700 quality issues.

Build a Site Map

Site mapping tool for generating visual site maps and XML sitemaps.