View Full Version : simple queston on DTD
boggly
08-06-2002, 10:20 AM
Will older browsers render a page correctly even if it has an XHTML DTD?
Regards,
Boggly
MCookie
08-06-2002, 01:28 PM
Yes. That's why you have to put a space in front of the slash in tags that don't have a closing tag.
<br /> <img /> <input />
XHTML 1.0 was designed to be backwards compatible. Like MCookie said, the only hangup is that NS4 will not render <br/> (which is valid), but will render <br /> (which is also valid).
Alex Vincent
08-07-2002, 03:31 AM
Internet Explorer has a couple hangups on an XHTML 1.1 document, with the doctype, that is.
Originally posted by Alex Vincent
Internet Explorer has a couple hangups on an XHTML 1.1 document, with the doctype, that is.
MS doesn't claim any support higher than XHTML 1.0 Transitional for IE last time I checked.
boggly
08-07-2002, 10:43 AM
Okay, thanks all.
-boggly
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.