Create a "HTML5 Transitional mode"
and in that mode drop the entire section 3.4 and 3.5,
so that it's FULLY HTML4 & XHTML backward compatible.
Otherwise the specifications looks just fine.
The section 3.4 and 3.5 is COMPLETE NON-SENSE to not say the least.
http://www.w3.org/TR/html5-diff/
And that is to not say completly aggrevating, I understand that you wish to promote CSS for styling and this is a nice goal, but lots of people, think otherwise or have to maintain sites which are neither compliant HTML4, neither compliant XHTML1.1, but could be FULLY HTML5 compliant without those section 3.4 and 3.5 out of the box, due to common hacks to work around legacy browsers.
i.e.: They are somehow using features of HTML4 not allowed in XHTML or vice-versa and their web pages while not validating works in major browsers (Opera, Safari, Firefox, Netscape, Chrome, IE6, IE7).
The HTML4 validator complains about the XHTML part, while the XHTML validator complains about the dropped feature of HTML4 (written in XML part).
We want a HTML/XHTML standard that is forward and backward compatible, that can deal with future needs, without breaking old browsers unnecessarly.
Basically, an HTML5 document should be fully handled by a "new browser" while a JavaScript library like jQuery, Mootools or Prototype could "add the missing behavior" to old browser like IE6 gracefully.
That is I can include in my page "legacy HTML4" that WILL WORK and validate out-of-the-box in fully compliant mode with HTML5 content. PERIOD.
Don't use guys just get it, there are tons of developper out there that must maintain legacy sites (95%+) and we need a standard were we can "gradually" upgrade pages to HTML5, while being FULLY compliant and validated.
More over if I have a HTML5 document it should degrade gracefully
to IE5, IE6, IE7, old version of Netscape 4 and 6, Safari, Opera, Firefox.
IE6 is still used by 24-36% of the population that won't or cannot upgrade to Windows XP SP2/Vista or are using 95, 98, ME, NT/2000 or Windows CE.
Are in locked down business environment (can't install or upgrade anything) or are using legacy embedded devices.
[http://www.w3schools.com/browsers/browsers_stats.asp]
[http://www.w3counter.com/globalstats.php]
According to a recent survey by Opera/Mamma.
[http://dev.opera.com/articles/view/mama-w3c-validator-research-2/]
[http://www.webmasterworld.com/html/3767142.htm]
[http://dev.opera.com/articles/view/mama-the-average-web-page/]
[http://dev.opera.com/articles/view/mama-key-findings/]
[http://devfiles.myopera.com/articles/532/elemlist-url.htm]
[http://www.thecounter.com/stats/2008/October/browser.php]
* 62% of websites are HTML4 transitional or lower (HTML3).
* 4.13% of web pages validate
* 85% of pages render in quirks mode
* <table> is used 18% more than <div> probably for layout as it's the default layout export for most HTML editor including Photoshop/Dreamweaver, etc.
* 51.0% of pages have a doctype
* HTML doctypes outnumbered XHTML doctypes by about 2 to 1
* Just under half of all pages displaying validation icons actually validate
* 80.39% of pages use CSS
* 74.58% of pages use scripting
* 3.20% of pages use XMLHttpRequest
* Average page size is ~16,500 characters
* The 3 most popular markup elements are <a> (5th most popular out of all elements), <img> (7th) and <table> (8th)
If you want "accessible table layout" as implicitly suggested in Section 1.4 just write this and be done with it:
<table irrelevant='true' border='0' cellspacing='0' cellpadding='0'>
some layout stuff
</table>
Easy fix, everyone's happy. If the customer later needs a more "flexible layout", they can always hire a CSS guy to do some <div> layout that will iron out all the quirks to make it work with IE6/7.
Unfortunately, on average, if they are not at least 2 full-time Photoshop guy in a company doing web development then you can be sure their layout are most likely table based or they bought an off-the-shelf CSS skin/layout to start with or they used something like RichFaces or similar.
Just the fact, that the BBCode support <b><i><u><s> should give you some clue about removing <u> and <s>. They are the first tags learned by any HTML newbie!!!
Also I never understood why I should put an alt on a GIF "pixel spacer"
to be fully compliant... <img src='s.gif'/>
By default, if there is no ALT, then the image is "irrelevant" period;
especially, if it's a "small" GIF file.
While any new development mainly do not contains <frame> some legacy applications do and must continue to be supported WITH new features.
Personally, I never wrote any code using <frame> for the last 5 years, but do maintain old web sites content that use them. Almost all new developments nowaday use <iframe> or AJAX loaded <div> content.
Why should I choose between <u><font><center> and <input type='date'/> ?
Tell me what's wrong with this old HTML legacy code + HTML5:
<html xml:lang='en' lang='en'>
<head><title>Some title</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /></head>
<body bgcolor='white'><div align='center'><center><table border='0' cellspacing='0' cellpadding='0'><tbody>
<tr><td><form id='f' name='f' method='get'>
bla<s>bla</s>bla <font face='Arial'>great!</font> <u>duh</u>
<input name='d' type='date' />
<input name='s' type='submit' value='Submit' />
</form>
</td></tr></tbody></table></center></div>
<script type='text/javascript' language='JavaScript' charset='utf-8' src='input_date_fix_lib.js'></script>
</body></html>
Give me one good reason why I could not maintain a page like this by replacing the input text field with type='date' and some glue javascript lib for legacy browsers without having to "rewrite it" completely?
So please stop making our life miserable for once and all.
Stop being purist and be pragmatic for god sake.
If you just don't "get it", I will force you to come and work here for 6 months for some of my clients until you "suffered enough" to understand why backward compatibility is EXTREMELY IMPORTANT and that is if you have any hair left after pulling them all out in tears.
You might want to read this blog:
http://blogs.msdn.com/oldnewthing/archi ... 99999.aspx
http://www.google.com/search?q=site:blo ... patibility
Don't make a strict standard that will only validate 5% of all webpages make one that works for the majority and that can gradually be promoted to pure CSS website, if desired.
Sincerely yours,
Fred.