The following are screen shots of the same page with different doctypes viewed in different browsers:
HTML 4.01 Strict Standards Mode and both XHTML 1.0 validate to their assigned doctypes. The only difference between the two XHTML pages are the presense or absence of the XML prolog.
In all cases the CSS fully validates.
Note: Screenshots are not yet available but you can test yourself using the following files:
No doctype
4.01 Short doctype - should trigger Quirks Mode
401 Full doctype almost Standard Mode
XHTML Short - should trigger Quirks Mode
XHTML Full doctype almost Standard Mode
Browser | Quirks 4.01 | Standards 4.01 | Quirks XHTML 1.1 | Standards XHTML 1.1 |
---|---|---|---|---|
Internet Explorer 6 | ||||
Mozilla 1.4 | ||||
Opera 7 |
Browser | Quirks 4.01 | Standards 4.01 | Quirks XHTML 1.1 | Standards XHTML 1.1 |
---|---|---|---|---|
Safari | ||||
Internet Explorer 5.2 | ||||
Mozilla 1.4 |