The following document triggers quirks mode in Firefox, Safari and IE7 (standards mode in Opera and per current spec): </ foo ><!doctype html> The following document triggers standards mode in Firefox and Safari (quirks mode in IE7 and Opera, and per current spec): XXX<!doctype html> -- Simon Pieters