Helpful Information
 
 
Category: XML
simple queston on DTD

Will older browsers render a page correctly even if it has an XHTML DTD?

Regards,
Boggly

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).

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.

Okay, thanks all.

-boggly










privacy (GDPR)