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

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