This page shows trends for HTML and XHTML DOCTYPEs for sites
submitted to this service.
- XHTML 1.0 is used on approximately 60% of web pages
- HTML 4.01 has dropped from 20% of pages in 2008, to around 10% of pages
- The HTML 5 DOCTYPE is becoming more common, used on around 10% of pages
- The total sample size is over 2 million pages, with around 50-100,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">