[whatwg] DOCTYPE declaration

Boris Zbarsky bzbarsky at MIT.EDU
Sun Oct 16 12:43:26 PDT 2011


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.

> (Perhaps it's here just as some 'sacred cow' talisman and to prevent some
> 'hurt feelings' :>)

It's there to trigger standards mode in browsers.

-Boris




More information about the whatwg mailing list