[whatwg] The version attribute for HTML5

Ian Hickson ian at hixie.ch
Fri Feb 24 15:53:02 PST 2006


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.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list