Doctype Checker

Search Engine Optimization

Doctype Checker

Check any page's DOCTYPE & rendering mode

See exactly which HTML standard a page declares, and whether browsers will render it in Standards, Almost Standards, or Quirks Mode.

Fetching the page and reading its DOCTYPE…
Detected Doctype
Position In Document
Doctype Reference Guide
DoctypeRendering Mode
HTML5 (<!DOCTYPE html>)Standards
HTML 4.01 StrictStandards
XHTML 1.0 StrictStandards
XHTML 1.1Standards
HTML 4.01 Transitional / Frameset (with DTD URL)Almost Standards
XHTML 1.0 Transitional / FramesetAlmost Standards
HTML 4.01 Transitional / Frameset (no DTD URL)Quirks
HTML 3.2, HTML 2.0, or no doctype at allQuirks
What's the difference between these rendering modes?

Standards Mode renders the page according to the modern CSS specification - the box model, layout, and sizing behave exactly as documented.

Almost Standards Mode is nearly identical to Standards Mode, with one legacy exception involving how table cells size images vertically. In practice it behaves like Standards Mode for almost everything else.

Quirks Mode emulates old, non-standard browser behavior from the late 1990s - box model sizing, font sizing, and various CSS behaviors differ from the spec, which can cause layouts to render inconsistently across browsers. Modern sites should always use the simple <!DOCTYPE html> declaration to guarantee Standards Mode.

Update cookies preferences