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