HTML Version Statistics

This page shows trends for HTML and XHTML DOCTYPEs for sites submitted to the online demo.

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.