HAL-PC Web Technolgies SIG

Mail List | SIG Leader

Doctype Switch Examples

HAL-PC Web Technologies SIG

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

Windows Browsers Quirks vs. StandardsMode by Browser on Windows XP Pro
Browser Quirks 4.01 Standards 4.01 Quirks XHTML 1.1 Standards XHTML 1.1
Internet Explorer 6        
Mozilla 1.4        
Opera 7        
Mac Browsers Quirks vs. Standards Mode by Browseron OS X 10.3
Browser Quirks 4.01 Standards 4.01 Quirks XHTML 1.1 Standards XHTML 1.1
Safari        
Internet Explorer 5.2        
Mozilla 1.4        

 

About Us | Site Map | Advanced Search | Privacy Policy | Contact Us | ©1999-2006 HAL-PC Web Technologies SIG Leader Cheryl D. Wise