W3C home > Mailing lists > Public > public-html@w3.org > January 2008

Re: <?doctype ?> instead of <!doctype >

From: David Håsäther <hasather@gmail.com>
Date: Tue, 08 Jan 2008 16:57:53 +0100
To: "Dmitry Turin" <html60@narod.ru>, public-html@w3.org
Message-ID: <op.t4mbyrdnp8frts@hasather.net>

Dmitry Turin wrote:

> Now we have two way to write service information in html-document:
> 1) in <!name > (e.g. <!doctype >

A markup declaration.

> 2) in <?name?> (e.g. <?xml ?>, <?xml-stylesheet ?>

A processing instruction.

> I propose to unify and use <?tag ?> in any case.

They have different meanings and are used for different things, so it  
would never work. As an example, browsers would not recognize "<?doctype  
html?>" so it would not trigger standards mode.

-- 
David Håsäther
Received on Tuesday, 8 January 2008 15:58:02 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:29 UTC