top | item 15920976

HTML 5.2 Recommendation

162 points| robin_reala | 8 years ago |w3.org

181 comments

order
[+] masswerk|8 years ago|reply
Hm – I'm not too happy to see most of the original HTML-elements marked "not conforming" and "must not be used", thus preparing for browsers to eventually drop the support. There are still lots of web-sites and valuable information stored and archived in this format. Back in the day, it was thought that basic HTML was a format to last. Who is going to update these documents in order to make them conforming to future browsers? Or are we just dropping a decade of documentation? Is it worth it?

(Consider: Apparently, MS-Word docs or PDF prove longer lived than basic HTML documents! Who would have thought of this?)

[+] domenicd|8 years ago|reply
I don't really know what process the W3C fork of our work uses for removal, if any, but you can learn more about how features get removed in the (WHATWG) HTML Standard per our working mode:

- https://whatwg.org/working-mode#removals

- https://whatwg.org/faq#removing-bad-ideas

In short, I think it's important to distinguish between conformance and removal from browsers. Removal from browsers is a big deal and, as per those links, is only done when it's not going to break the web, or when the benefits are very high (e.g. security issues). Removal from being conformant just reflects the evolution of best practices. See also https://github.com/whatwg/html/blob/master/FAQ.md#how-are-de...

[+] reificator|8 years ago|reply
<blink> is no longer supported by browsers, but with a few css declarations it works just fine.

Removing support for presentational markup does not mean a loss of information. Browsers will still render tags they don't recognize, and re-applying the styling of those tags is often trivial. (I mention <blink> because it's one of the more difficult, but not terribly so)

As the web evolved, our needs changed. Do we still need the <font> tag?

[+] vorpalhex|8 years ago|reply
The HTML mode tag should put the browser into compatibility mode. This content should not be lost.
[+] austincheney|8 years ago|reply
> Back in the day, it was thought that basic HTML was a format to last.

HTML was never intended to be archival. Archival assumes a long term relationship between format and user-agent, but those two things evolve independently.

> Who is going to update these documents in order to make them conforming to future browsers?

You don't update legacy documents stored in an archive. You find a conforming user-agent (appropriately old browser version) to consume them in their intended state.

> Is it worth it?

Yes, HTML is a versioned format. Improvements to the format are welcomed and necessary.

[+] jraut|8 years ago|reply
Dropping the support does not make the elements non-functional. Instead, they are presented differently. Formats and notations do undergo changes.

The comment mentions long-lived MS-Word doc. Which version of those, specifically, has been around the longest so far?

[+] Bahamut|8 years ago|reply
Doesn't this have negative ramifications for email too?
[+] frik|8 years ago|reply
What's wrong with W3C again? Are we on the same train we were with the ill-fated XHTML 1 strict and XHTML 2.

Anyway what's going on anyway with Google+Microsoft+Apple+W3C, why is there such a big push to HTTPS and HTTP/2, and declaring old HTTP/0.9 and HTTP/1 and HTTPS/1 and HTML5.0 as legacy!? And why is Mail still sent in plain text completely insecure, and no adoption hype to support SMIME/etc? It is beyond fishy. Or is it just pure greed, no one cares about non-walled-garden-open-web (aka everything has to live in LinkedIn/FB/AppStore/PWA) and there is no money in mail?

[+] taspeotis|8 years ago|reply
[+] rwmj|8 years ago|reply
For those who have not been paying attention for a decade, what's the relationship between this revision and WHATWG?
[+] planxty|8 years ago|reply
Thanks!

All I want for Christmas is an obvious link in the top of every W3C document showing me what's new.

[+] igravious|8 years ago|reply
Their TOC needs to be collapsible and selectively expandable. UX fail imho.
[+] TazeTSchnitzel|8 years ago|reply
WHATWG needs to add a <w3c-please-stop-plagiarising-the-whatwg-html-standard /> tag then gate some useful functionality behind it to see if W3C will dare include it
[+] kryptiskt|8 years ago|reply
"Although we have asked them to stop doing so, the W3C also republishes some parts of this specification as separate documents."
[+] ChrisSD|8 years ago|reply
> Copyright © 2017 WHATWG (Apple, Google, Mozilla, Microsoft). This work is licensed under a Creative Commons Attribution 4.0 International License.

See https://creativecommons.org/licenses/by/4.0/

> You are free to:

> Share — copy and redistribute the material in any medium or format

> Adapt — remix, transform, and build upon the material for any purpose, even commercially.

[+] bringtheaction|8 years ago|reply
Wasn't HTML 5 supposed to be the last explicit version and then it would be a living standard without changing the version number?
[+] dragonwriter|8 years ago|reply
No, WHATWG dropped numbers in favor of the “living standard”, but W3C continued to issue numbered HTML version standards.
[+] exabrial|8 years ago|reply
I really wish we'd "simplify" the HTML spec. The "pave the cow paths" approach to allow non-closed tags and mix of various syntaxes has lead to an explosion of complexity. That has regressed into terrible performance and memory hungry parsers.
[+] andrewmcwatters|8 years ago|reply
I wish WHATWG would properly version their work. I don't like the idea of a "living standard" because it leads to checking for individual functionality and feature detection, rather than being able to say, "This is fully HTML 5.x.x compliant."

Regardless of the state of W3C, if I built an embedded renderer based on their specs, I could at least say, "this renderer is based on <http-ref> and link to the recommended spec version. Whereas if I did that with the living standard href, I'd be out of date any time they decided to rename an attribute.

[+] _nalply|8 years ago|reply
This specification should be read like all other specifications. First, it should be read cover-to-cover, multiple times. Then, it should be read backwards at least once. Then it should be read by picking random sections from the contents list and following all the cross-references.

Ah, hyperbole. I didn't know that humor could be specified.

[+] philipwhiuk|8 years ago|reply
<link rel="humour" type="text/hyperbole" href="w3cHumour.hss" />
[+] tobyhinloopen|8 years ago|reply
what's with the separation of w3c & whatwg? Are there now 2 HTML5-ish standards? Also, I thought HTML5 was going to be the "final version"
[+] magnat|8 years ago|reply
What's the point of removing features such as "menu" from HTML standard? If there are browsers supporting it and webpages using it, would Mozilla (or Google or Microsoft) actually remove those features just because newest standard said so? I mean: marquee was deprecated long ago, yet browsers still render it correctly.
[+] sureaboutthis|8 years ago|reply
<marquee> has never been part of any HTML standard, ever. It is listed as an obsolete feature in the HTML5 standard for the point of making it obsolete (a weird reason) but not mentioned anywhere else since time began.

I don't recall the reasons for removing <menu>

[+] geofft|8 years ago|reply
<isindex> got removed from browsers, which I personally find kind of sad because that's what I learned in 1995 and I've written a web page that uses it. But it's weird and does nothing that a normal form couldn't do, so the browsers seem to want to deprecate it.
[+] rlanday|8 years ago|reply
Whether or not to remove a web platform feature from a browser basically comes down to how many people are using it vs. what is the maintenance cost. I suspect that browsers continue to support <marquee> so they can continue to render all those great webpages from the late 1990s properly.
[+] kenbellows|8 years ago|reply
I can't speak for the spec authors, but IMHO, tags should be deprecated and eventually removed when they are deemed to be useless, especially when their functions and/or semantics are covered by another tag, and especially when their use is harmful (or rather, more harmful than beneficial).

In my (very personal) opinion, an HTML tag or attribute, and more generally a feature of any design/development framework, should be considered possibly harmful if it:

- presents possible security problems; for examples, consider some of the points listed here: https://html5sec.org/

- promotes poor usability or accessibility; e.g. interactive tooltips with links or controls in them, for example, are quite difficult to make accessible, and I wouldn't want an HTML <tooltip> tag without a lot of discussion about accessibility

- promotes anti-patterns; e.g., at this point I think <marquee>-style scrolling informational text is an anti-pattern in a web context, since it can the text much harder to read, especially on small screens

Of course, none of these concerns should lead to immediate removal of a thing as soon as they're pointed out, but they should be discussed and considered. It's a cost-benefit analysis: what does this feature actually buy us that isn't easily achievable with other features, what problems is it causing and how severe are they, and are the benefits worth the problems?

As for <menu>, my guess, though I haven't been able to find the actual discussion, is that it was removed because its semantics are somewhat in conflict with <nav>, and probably its most common use was custom context (aka "right-click") menus, which bring a lot of accessibility problems with them. I don't know that I agree with the decision to remove it altogether, since I think its use to semantically identify and group web application controls is very valuable and not covered by any other tags (though I'd love to be corrected), but I do think that context menus, which to me seems like the most common use for the <menu> tag, are a very problematic design element. Again, it's a balance; is it worth the problems it causes? I guess the authors decided it wasn't.

(Just to reiterate, I don't know why <menu> was removed, I'm just guessing. If anyone can find any of the discussions about <menu> and the problems with it, I'd love to read more.)

[+] yuhong|8 years ago|reply
I already have suggested to base the W3C snapshots on the WHATWG web developer edition.
[+] tebruno99|8 years ago|reply
here is an idea, how about the w3 go to hell after selling us out on DRM.
[+] jlebrech|8 years ago|reply
nope, html needs to stop.

it's a document markup language and shouldn't be used for apps.

[+] eberkund|8 years ago|reply
What about XAML and all the other XML based UI markups? I find HTML refreshingly easy to use compared to the alternatives.
[+] SimeVidas|8 years ago|reply
What‘s the alternative (for web apps)?