Forum Moderators: open
<HTML></HTML> is now purely optional and serves no purpose any more. It is on its way to oblivion. The scripting language HTML has been radically changed since v 1.0 especially with the inclusion of Cascading Style Sheets.
Problems exist because we are still writing to the old standards and for the non-standard implementations of old obsolete browers. Old Netscape browsers will not display a page not framed with <HTML></HTML>. Layering is a mess too in these old browsers.
Have we reached the point that we need to do some housekeeping (mental as well as physical pages)? Does it make sense to code to HTML 4.0 standards dropping all the optional clutter, use CSS and forget about the 1% of traffic that will have difficulties.
My question is "If we stop coding to the lowest common denominator what kind of impact will it have on your site"?
Do you have any official reference for that "depreciation"?
As far as I can tell from the w3c standards documents it has always been recommended practise to use both the SGML declaration and the <html></html> tags, as neither is a replacement for the other. I expect that to remain the case for the forseable future.
Btw: The <html></html> have been optional starting at least with HTML 2.0, as standardized in Nov. 1995 [ietf.org]. There is some confusion here because they didn't mark tags as optional in the early days, but marked all non-optional ones as mandatory instead.
And as a last point, what exactly are you losing by including 13 additional characters in your files, which are probably aleready present in most of them? It's not like it would take hours of extra time to keep our well formed page templates as easily parseable as possible to all browsers and spiders...
The scripting language HTML
Uh, what? ;)
An XHTML page without a <html> tag containing an xmlns attribute doesn't validate. And since the document needs to be "well formed", that makes the closing </html> mandatory as well.
So I just learned something too from this thread... ;)