[Skip navigation links]

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 for over 90% of pages, XHTML 1.0 accounts for under 5% of pages and HTML 4.01 for under 1% of pages

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.