88 comments

[ 3.2 ms ] story [ 153 ms ] thread
looks a bit like xhtml. whats the point? html is not xml. why would it work this time?
(comment deleted)
Having <html:a href="/cats">Cats</a> as a link just looks weird.

What's wrong with just using <head>, <html> and <a> instead of <html:head>, <html:a> etc...?

Bad proposal IMO.

HTML will never be semantic. The whole idea should be scrapped. HTML is inextricably bound to CSS in 2014, and has become more and more about presentation and less and less about data.

Which is fine. We have JSON and XML for data. I would rather see some cohesive standards for JSON data formats, because that is the future. HTML is just the glue between CSS and Ajax requests.

To your point, I would also love to see more improvement in the area of using HTML/CSS/JS as a proper user interface toolkit. For example, Flexbox and CSS Grid Layout are steps in the right direction.

The web browser is a powerful sandboxed VM installed on virtually all Internet connected devices. And yet we a terrible toolkit for building applications on top of this VM (and I know it's because existing tools were built for hyperlinked documents and not proper stateful applications).

Also an interesting interesting topic are the different classes of these Internet applications. On one hand you have applications like Gmail, which are intended to reach a broad audience and should work on most "platforms" (substitute "web browser" for "platform" in this case). But you also have the traditional enterprise LOB application, where you may focus on one or two platforms and make that a "requirement".

I agree that HTML needn't be strictly semantic in the way that the OP suggests. But for the foreseeable future, it does need to encode basic structural data for CSS-less presentation. That includes links, headings, inter-page and intra-page navigation, and the like. Who needs that data? Screen readers, text-only browsers, and scrapers, to name a few.

Someday, it may be possible to do away with the concept of a web "page" or "document." Desktop and mobile apps aren't (generally) built in that paradigm. But if we move away from the document concept, we'll have a new set of problems. How do we represent things like blog posts, which really are more like documents than applications? How do we enable a variety of clients with varying capabilities to consume textual content? How do we maintain the useful concept of a URI, if at all? These may not be unsolvable problems, but they are challenging for sure.

I hate to shit on people's work[1] on HN because everyone else does it but I earnestly think this will get filed in the same bin as XHTML, aka "no web developer actually cares about this so no one will write it and it will die an awkward, forgotten death."

HTML5 did some very important things. Mainly it wrestled back the web from plugins.

Hey, remember Flash?

Isn't that great! That in 2014 I can say "Remember Flash?" Flash had such an insane grip on the web and now it's nearly gone! Not nearly, you might argue, but there are extremely few serious pages left that depend on flash. We've come a huge way since 2009.

It's crazy to think back, honestly. I'm amazed at how the grip of flash has receded. I would not have guessed in 2008 that this was where we'd be. I am a happy web developer.

This just doesn't solve the same scope of problems. It might be useful to some people, just like XHTML, but it's not worth building a new buzzword paradigm over.

[1] Everyone who writes a post like this deserves to be commended. Putting your own opinions out there is hard, so kudos to the author.

I don't think it's shitting on work to criticize this proposal. It has too many flaws to just be nice, smile and go on - it is the direction I don't want HTML to take, and the direction that already failed.

It's missing the lesson of XHTML. Namespaces and XML-correctness failed, what is wanted is easy to write HTML that is readable and rescueable by the browser if it is invalid. Namespaces are a clusterfuck when you just want to get a html-element with a parser, and they make writing code so much more complicated.

Also, the whole idea of elements that have no meaning for the browser misses the niceness of HTML5. Yes, we have now some elements that have only semantic meaning like the header element, but there is at least the option for browser to help with them. It is a standard set to build readable code, not fully customizable XML with no anchor in the browser. Really appreciated are the elements that use the browser, like audio and video, as you mentioned. That is missing here.

Maybe things like the media element are a good idea. Or maybe not, since it does not hurt to be explicit what you are specifying here, a video or an audio file - talking about semantic.

HTML5 may have enabled some of that, but I think the thing that actually "wrestled the web back from plugins" is the iPhone, or more generally, the smartphone. Popular devices that people wanted to target, without support for plugins (sure, Android had Flash for a while, as a second-class citizen, but it never had support for arbitrary plug-ins).
>extremely few serious pages left that depend on flash. //

I'll bet of the pages served the [vast] majority depend on flash for display of content and/or advertising.

On the other hand many _sites_ no longer rely on flash in that they offer an alternative HTML5 implementation. But, of the pages served I'd imagine that version is far less commonly presented to the site visitor. I'm thinking YouTube as an example.

http://httparchive.org/trends.php?s=Top1000&minlabel=Nov+15+... shows that in the Top 1000 (however they're judging that) the instances of flash use are down on average from 52 to 34% over the last 4 years. However the average flash amount of flash transferred and the average number of flash items on a page don't show any downward trend.

http://trends.builtwith.com/framework/Shockwave-Flash-Embed shows a different story - look at the whole internet version and they show a precipitous drop around April 2014, what caused that?

I think the title (and domain name) are a bit misleading: that's not HTML6, because it doesn't appear to be endorsed by anything related to the web standards (Mozilla, W3C, etc). That's MyHTML, sure, but not really HTML6.

Funnily enough, at a first glance it looked like a real proposal, then I looked again and it appeared as a joke (I mean ... <html:html> and <form:form> are a bit satirical), and then I looked the repo and there's enough issues to think that it is actually real.

> I think the title (and domain name) are a bit misleading: that's not HTML6, because it doesn't appear to be endorsed by anything related to the web standards (Mozilla, W3C, etc). That's MyHTML, sure, but not really HTML6.

HTML5 was exactly that; just a bunch of implementors (WhatWG) until the W3C eventually endorsed it.

Except WHATWG is made of many of the same members as the W3C.
WHATWG is made of a very small subset of the members of W3C. The vast majority of W3C members are not part of WHATWG.
WhatWG are still a lot more diverse than this singular person. 'HTML 6 spec dot com' is misleading.
I for one was neither mislead by this post nor did I take it as a joke.

I agree with lmm's comment, and clarify a tacit assumption that you're implying: that these ideas are somehow less valid because they aren't associated with a standards body.

It's true you never outright claim that, but you accuse the author first of being misleading, and then of making a joke. In fact this is (clearly) a real, heartfelt attempt to articulate the path one person wants HTML to move in, and I object strongly to any rhetoric that seeks to invalidate this persons views.

The domain is even more misleading: this isn't the 'HTML6 spec', it's one person with little support or peer review (completely unlike whatwg). It's worth flagging the article.
I'm almost disappointed to see a post like this with no comments - because while it's often quite negative - HN comments often provide me with context and a counterpoint that's really quite useful.

My first reaction is that I quite like it. It's more semantic than dozens of nested divs and spans, and perhaps that's not as useful for machine generated code - for those of us coding html by hand.

Is it really more semantic? Consider the first example, starting "<calendar><month name="January"><day>1</day>...".

It looks reasonable from the start, but then you get into real-world issues: why do you need to specify the days? What do you do if you want a 10 year calender? How do you treat February? What are the odds of everyone getting the calender correct, especially when doing it by hand? How do you specify the first day of the week? Some countries start the week on a Sunday and others on a Monday. Can the month name be localized, so that French readers see it as Janvier while the back-end still knows it's January?

People tried really hard to get semantic namespaces working with XML/XHTML, but it didn't really seem to pan out.

<html:html> <html:head> <html:title></html:title> <html:meta>

I simply can't imagine anyone wanting to adopt this. It seems like a lot of effort was put into the concept, and there are some great suggestions, but the added bloat goes against adopting the proposed solution.

There's only one thing I want in my future web client, and that's to not have to use javascript. Dart, or compilation in general is not quite the savior i'm hoping for...

I want to be able to write C#, or Ruby, or python, and reference it on a page, and for it to run. Gosh that would be great. I wouldn't even mind if its a very limited version of the language.

Edit: confused why i'm downvoted... hmmm

> I want to be able to write C#, or Ruby, or python, and reference it on a page, and for it to run.

Throwing back huge front-end stack fragmentation, insanely increased complexity of the browsers that you want to achieve with this approach? Statements like "I don't understand var scope in JS", "This prototype thing doesn't work", "JS is completely broken because [] == false" doesn't count, ok?

Because it has nothing at all to do with the article.
So, you want an operating system.
Think what kind of nightmare would that be now that web browsers are on phones, tablets and microwave ovens.

This salvation throws away decades of work of thousands of people that made our web browsers and our standards. Not to mention throwing away these decades spenting getting it right.

But if you really want to go there, go ahead, there's Java applets, Flash, Silverlight, Google's NaCl and probably more.

Or, probably better, get out of the browser land and write a freaking app.

just feels backwards to me. the <html:* > stuff seems like it should all be under the default html namespace and assumed. where as the other stuff may be better suited to be namespaced.

just seems like a waste adding "html:" to all of the root/core elements.

I thought it was a joke after I saw <html:html>.
If that happened browsers would have to make "html:" optional. So authors could get away without using it.
and at that point a complete waste of being in the spec to start with.
Err, no. XML allows you to set the root namespace for an element so it and child elements have an assumed namespace.

The point of using namespaces is to allow embedding different document/element types in the same document.

<html:media type...> seems like the wrong path to simplification, namely redundancy.

  - The file extension carry the type information (but may be missing)
  - The Content-Type MIME too
  - The actual data stream also (think $ file some-media)
  - And html6 adds an attribute
> HTML6 is conceptually HTML with XML like namespaces.

Aaaaaannnnnndddddd I'm done. Thanks, but no thanks.

This makes zero mention of shadow DOM or web components, which strikes me as somewhat ignorant on the author’s part.
The author seems to confuse HTML for XML. Basically, what he wants is XML.
I feel like being backwards-incompatible with html5 (while using the same doctype!) is a tiny bit of a deal-killer.
HTML6 is conceptually HTML with XML like namespaces.

Where is my ejector seat?

Isn't html5 supposed to be a living standard [1], meaning continuous updates and no html:next spec?

[1] https://wiki.whatwg.org/wiki/FAQ#What_does_.22Living_Standar...

You have to differentiate between the WHATWG and the W3C, which have different goals/purposes and different HTML specs.

As the link you referenced states, the WHATWG's non-versioned living standard attempts to stay "a little ahead of the implementations" with the goal of (hopefully) guiding implementors toward common goals.

The W3C periodically looks at already-implemented features and creates versioned snapshots (like HTML5, HTML5.1, etc.) with the goal of providing developers with a stable, known set of features for development.

Different purposes, different specs, both useful.

The one good idea here is merely the media tag, which could be useful for CMS for instance. But that's it. Namespaces are already too much in XML, don't bring them into HTML, please.
It's an interesting proposal.

But it breaks compatibility with what has been HTML since first version, by forcing to prefix existing HTML tags.

Rather, it should propose to enhance the new semantic tags by adding a prefix, for instance <e:calendar>...</e> (or </e:calendar> for readability) while preserving existing tags.

I've heard a bit about 'semantic markup' for the web but I don't really understand it.

I'd love it if someone could tell me, as an example, how semantic markup would support displaying a syntax-highlighted a block of code in a web page?

I'm not a fan of this idea at all and I think the title and website are very misleading.
I lost you somewhere around XML...
Is this a joke? Literally the dumbest thing I've seen in years. No one, ever, is going to namespace every html element.
So I'm not the least bit familiar with XML, (so ignore me if this doesn't make sense) but why do we need the <html:*> part of the element?

This seems like a great idea but if it requires all that redundancy ( <html:html> ) I have trouble seeing this used in practice.