This page shows trends for HTML and XHTML DOCTYPEs for sites submitted to the online demo.
- The HTML 5 DOCTYPE is now the most common, used on over 90% of pages
- XHTML 1.0 has dropped from 60% of pages in 2008, to fewer than 5% of web pages today
- HTML 4.01 has dropped from 20% of pages in 2008, to fewer than 1% of pages today
- The total sample size is over 24 million pages, with around 250,000 new pages scanned a month
HTML Version Trends

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> <!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.