W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2005

[whatwg] The version attribute for HTML5

From: Simon Pieters <zcorpan@hotmail.com>
Date: Mon, 20 Jun 2005 15:23:49 +0000
Message-ID: <BAY22-F314AF7E7F7FACBF4047FC8B4E90@phx.gbl>
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

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