Posted by David Hεsδther on 11/26/99 11:17
JimO <joneill517###NoSpam###@earthlink.net> wrote:
> If DTDs are supposed to enforce syntax rules, then why if I have the
> following DTD the html underneath works?
>
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>
> <b><i>italics bold</b></i>
> <img src="images/bacon.jpg">
Works? Where?
If you mean that it works your favorite browser, that's because it
doesn't handle DOCTYPE declarations (the way it's supposed to).
--
David HΓ₯sΓ€ther
Navigation:
[Reply to this message]
|