[whatwg] The version attribute for HTML5

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.

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