[whatwg] The version attribute for HTML5

Hi,

Since HTML5 won't be an SGML application, the DOCTYPE could be shortened 
down to this:

|<!DOCTYPE html>

This DOCTYPE triggers standards rendering mode in current browsers. [1] To 
specify the version, we could reuse the version attribute:

|<html version="5.0">

XML documents could use the same DOCTYPE (if desired) since it is 
wellformed. [2] The html start tag would look like:

|<html xmlns="http://www.w3.org/1999/xhtml" version="5.0">

What do you think?

[1] http://zcorpan.1go.dk/test/version-attr.html
[2] http://zcorpan.1go.dk/test/version-attr.xhtml

Regards,
Simon Pieters

Received on Monday, 20 June 2005 08:23:49 UTC