W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2006

[whatwg] The version attribute for HTML5

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 24 Feb 2006 23:53:02 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0602242352040.315@dhalsim.dreamhost.com>
On Mon, 20 Jun 2005, Simon Pieters wrote:
> 
> Since HTML5 won't be an SGML application, the DOCTYPE could be shortened down
> to this:
> 
> |<!DOCTYPE html>

Agreed. Done.


> To specify the version, we could reuse the version attribute:
> 
> |<html version="5.0">

It's not clear to me what benefit we derive from this.


> XML documents could use the same DOCTYPE (if desired) since it is 
> wellformed.

It seems preferable for them to use no DOCTYPE at all.


> [2] The html start tag would look like:
> 
> |<html xmlns="http://www.w3.org/1999/xhtml" version="5.0">
> 
> What do you think?

I don't see any reason to include the version="" attribute, but other than 
that I agree.

Thanks,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 24 February 2006 15:53:02 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:26 UTC