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/2/2006 11:42:00 AM Harlan Messinger wrote: > 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? > > It isn't an HTML document at all. By its own declaration, it's a DIV > document. http://www.w3.org/TR/html4/struct/global.html#h-7.3 "After document type declaration, the remainder of an HTML document is contained by the HTML element." | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
