DOCTYPEs and their Respective Layout Modes
Last updated: 21 February 2003.
- S : Standard mode
- Q : Quirk mode
Note: This table ignores the ‘almost standard’ mode of newer Mozilla versions.
Doctype | IEX5 / Mac | IEX6 | OP7.02 | NN 6.0 | Moz 0.9.5 | Moz 1.2a |
---|---|---|---|---|---|---|
No !DOCTYPE present, no Version present, and HTML 2.0, 3.0, 3.2: | Q | Q | Q | Q | Q | Q |
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 3.2 Final//EN”> | Q | Q | Q | Q | Q | Q |
Any unrecognized Doctype, e.g. <!DOCTYPE BHTML PUBLIC “-//BC//DTD BHTML 3.2 Final//EN”> |
S | S | S | S | S | S |
HTML 4.0 |
||||||
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0//EN” “http://www.w3.org/TR/REC-html40/strict.dtd”> |
S | S | S | S | S | S |
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0//EN”> | S | S | S | S | S | S |
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN” “http://www.w3.org/TR/REC-html40/loose.dtd”> |
S | S | S | Q | Q | Q |
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”> | Q | Q | Q | Q | Q | Q |
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Frameset//EN” “http://www.w3.org/TR/REC-html40/frameset.dtd”> |
S | S | S | Q | Q | Q |
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Frameset//EN”> | Q | Q | Q | Q | Q | Q |
HTML 4.01 |
||||||
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01//EN”> | S | S | S | S | S | S |
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01//EN” “http://www.w3.org/TR/html4/strict.dtd”> |
S | S | S | S | S | S |
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Strict //EN”> | S | S | S | S | S | S |
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Strict //EN” “http://www.w3.org/TR/html4/strict.dtd”> |
S | S | S | S | S | S |
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”> | Q | Q | Q | Q | Q | Q |
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”> |
S | S | S | S | S | S |
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Frameset//EN”> | Q | Q | Q | Q | Q | Q |
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Frameset//EN” “http://www.w3.org/TR/html4/frameset.dtd”> |
S | S | S | S | S | S |
XHTML Proposed Recommendation 1999 |
||||||
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/1999/PR-xhtml1-19991210/DTD/xhtml1-strict.dtd"> |
S | S | S | S | S | S |
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/1999/PR-xhtml1-19991210/DTD/xhtml1-transitional.dtd"> | S | S | S | S | S | S |
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Frameset//EN” “http://www.w3.org/TR/1999/PR-xhtml1-19991210/DTD/xhtml1-frameset.dtd"> | S | S | S | S | S | S |
XHTML 1.0 | ||||||
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/strict.dtd”> |
S | S | S | S | S | S |
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/transitional.dtd”> | S | S | S | S | S | S |
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Frameset//EN” “http://www.w3.org/TR/xhtml1/DTD/frameset.dtd”> | S | S | S | S | S | S |
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “DTD/xhtml1-strict.dtd”> |
S | S | S | S | S | S |
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “DTD/xhtml1-transitional.dtd”> |
S | S | S | S | S | S |
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Frameset//EN” “DTD/xhtml1-frameset.dtd”> |
S | S | S | S | S | S |
XHTML Basic |
||||||
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML Basic 1.0//EN” “http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd”> |
S | S | S | S | S | S |
The Web Standards Project is a grassroots coalition fighting for standards which ensure simple, affordable access to web technologies for all.