[whatwg] DOCTYPE declaration
ash at ashleysheridan.co.uk
Sun Oct 16 15:06:26 PDT 2011
On Sun, 2011-10-16 at 23:10 +0200, Nils Dagsson Moskopp wrote:
> Boris Zbarsky <bzbarsky at MIT.EDU> schrieb am Sun, 16 Oct 2011 15:43:26
> > On 10/16/11 2:15 PM, Francis Boumphrey wrote:
> > > My point is, as the only possible use for a DOCTYPE declaration in
> > > HTML (any version) is for including<!ENTITY>declarations
> > And triggering browsers' standards mode, most importantly.
> > > why bother with an DOCTYPE declaration at all.
> > To trigger standards mode.
> It is also a nice „magic string“ to figure out if a file is a HTML file.
Surely the <html> tag would do that? :p
More information about the whatwg