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