RE: DTD etc

At 05:21 AM 09/12/2002, John Foliot wrote:
>Most user agents today will interpret HTML with or without the DTD, so from
>a practical "will it still work without" perspective, it's generally not an
>issue.

Today however some user agents (IE5+, Netscape6+) will interpret the HTML 
and CSS in different ways if the DTD is present versus absent.  Typically 
without a DTD the UA will try to emulate past old, buggy behavior in 
previous versions of itself, where with a current, correct DTD it will 
follow the standards more correctly.  So to get consistent results that you 
can count on, including a DTD can be very important.

Bill Mason
Accessible Internet
w3c@accessibleinter.net
http://www.accessibleinter.net/

Received on Thursday, 12 September 2002 10:32:13 UTC