Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: Root element specified by DTD ? [Thread Next] Re: Root element specified by DTD ?To: NULL Date: 6/4/2006 12:42:00 PM Chris Morris wrote: > Lachlan Hunt <spam.my.gspot@g...> writes: >> Andy Dingley <dingbat@c...> wrote: >>> Is this fragment a valid HTML document ?... >>> <!DOCTYPE div PUBLIC "-//W3C//DTD HTML 4.01//EN" >>> "http://www.w3.org/TR/html4/strict.dtd"> >>> <div> >>> <p>Foo</p> >>> </div> >> Yes, it's valid. The validator would have told you that. > > It's valid, but is it a valid *HTML* document? There is a difference between validity and conformance. It is a valid document, though it is not a conforming HTML document. -- Lachlan Hunt http://lachy.id.au/ http://GetFirefox.com/ Rediscover the Web http://GetThunderbird.com/ Reclaim your Inbox | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
