Slashdot Mirror


W3C Publishes First Public Working Draft of HTML 5

Lachlan Hunt writes "Today W3C announced that the HTML Working Group has published the first public working draft of HTML 5 — A vocabulary and associated APIs for HTML and XHTML. It's been over 9 months since the working group began in March 2007 and this long awaited milestone has finally been achieved. '"HTML is of course a very important standard," said Tim Berners-Lee, author of the first version of HTML and W3C Director. "I am glad to see that the community of developers, including browser vendors, is working together to create the best possible path for the Web..." Some of the most interesting new features for authors are APIs for drawing two-dimensional graphics, embedding and controlling audio and video content, maintaining persistent client-side data storage, and for enabling users to edit documents and parts of documents interactively.' An updated draft of HTML 5 differences from HTML 4 has also been published to help guide you through the changes."

310 comments

  1. Of course, it won't matter. by morgan_greywolf · · Score: 1

    At least until some major browsers support it. And it really won't matter until IE supports it. Sad, but true, really.

    1. Re:Of course, it won't matter. by cromar · · Score: 3, Interesting

      Something I found interesting is that they will not consider the spec complete until there are two fully working implementations (FTFA). Sounds good to me... the spec can be trimmed if no one is going to implement the full thing (so at least there will be a smaller spec to refer to instead of a complete spec that no one uses). Another good effect is that if MS drags their feet, they will look even more stupid :)

    2. Re:Of course, it won't matter. by AKAImBatman · · Score: 3, Informative

      Of course, it won't matter. At least until some major browsers support it.

      Several of the features (e.g. Canvas) are already supported by all major browsers save for IE.

      And it really won't matter until IE supports it.

      One of the interesting aims of the HTML 5 standard was to spec the new functionality in such a way as to make it possible to emulate the new APIs in old browser. e.g. Canvas working in IE. (Make sure you click outside the block area to start. I haven't implemented the key passing yet.)

      The Storage APIs would be similarly easy to emulate through Cookies, Flash, or Google Gears. (Take your pick.) Server Side Events are more difficult, but I think it might be possible to emulate with XMLHttpRequest. If I'm wrong, there's always a Flash or Java shunt possible. DOM 2 Events is still not supported by IE, but that's easy enough to patch for by wrapping IE's attachEvent scheme.

      Basically, we can force Microsoft's hand on this. A simple runtime patch and BAM, we're coding to HTML 5 standards. If enough people do it, Microsoft will realize they've lost that front and move on.
    3. Re:Of course, it won't matter. by ChatHuant · · Score: 2, Insightful

      Something I found interesting is that they will not consider the spec complete until there are two fully working implementations (FTFA).

      Which sounds rather self-defeating to me; why would a group or company put in a lot of effort implementing the most difficult parts of the recommendation, if W3C explicitely reserves the right to change the spec under them any time before you're done?

    4. Re:Of course, it won't matter. by hixie · · Score: 2, Informative

      The browser vendors are part of the working group, so they would be part of any discussions as to what to change. In practice, it's actually the browser vendors who request the changes -- typically, it's because the spec requires things that are contradictory or that don't really work in the real world for one reason or another, and the browser vendors thus would rather implement something else. The requirement for waiting until we have 2 complete implementations is so that we know, when we say the spec is done, that it really can be implemented and that such implementations really can be interoperable.

    5. Re:Of course, it won't matter. by ChatHuant · · Score: 1

      it's because the spec requires things that are contradictory or that don't really work in the real world for one reason or another [...]

      The requirement for waiting until we have 2 complete implementations is so that we know, when we say the spec is done, that it really can be implemented and that such implementations really can be interoperable.


      Interesting; I had no idea that the W3C design process for the specs is actually trial and error. Thanks for the info! I'd say that explains a lot :).

    6. Re:Of course, it won't matter. by hixie · · Score: 2, Insightful

      Actually most specs at the W3C don't use this model, which is what explains a lot. :-)

      But yeah, like with software development, you have to fix bugs when you find them, and you rarely find the bugs before actually trying to use the software (or in this case, the spec).

    7. Re:Of course, it won't matter. by HeroreV · · Score: 1

      I believe the W3C has that requirement for all specifications. It's the reason CSS 2.1 has been in the Candidate Recommendation stage for ages.

    8. Re:Of course, it won't matter. by jonbryce · · Score: 1

      Does two working implementations mean for example Firefox and Seamonkey or Konqueror and Safari, or do they have to be unrelated implementations?

    9. Re:Of course, it won't matter. by SQL+Error · · Score: 3, Insightful

      The alternative to trial and error when creating a spec is just error.

    10. Re:Of course, it won't matter. by bdash · · Score: 1

      Firefox and Seamonkey do not implement a HTML rendering engine, the underlying Gecko engine does. Konqueror and Safari use two different HTML engines, KHTML and WebKit. Two of the rendering engines would need to support it, not two browsers built on top of the rendering engines.

    11. Re:Of course, it won't matter. by arekq · · Score: 1

      Konqueror and Safari use two different HTML engines, KHTML and WebKit.

      I don't think they should be considered two different engines as WebKit started as a fork of KHTML and now they are merging together.

    12. Re:Of course, it won't matter. by BladeMelbourne · · Score: 1

      I'm guessing this is Ian of WHATWG fame ;-)
      http://forums.whatwg.org/index.php

    13. Re:Of course, it won't matter. by Bootarn · · Score: 1

      Firefox and Opera will support this first. After a while Safari will probably support it. Microsoft will then either make their own standard for IE7 which includes a lot of proprietary extensions which _all_ web designers will use, giving us the same incompatibility problems as we have today, or they will not implement HTML5 at all, forcing all web designers/developers to use HTML4 because IE lacks support for HTML5.
      That's at least how I think it will play out.

    14. Re:Of course, it won't matter. by JordanL · · Score: 1

      Both Opera and Apple were part of the original working group, and I believe that Mozilla is onboard now.

    15. Re:Of course, it won't matter. by sveinungkv · · Score: 1

      In fact Safari, or to be more specific Webkit, already has support for parts of html5. For example it already support in nightly builds.

      --
      Spelling/grammar nazis welcome (English is not my first language and I am trying to improve my spelling/grammar)
    16. Re:Of course, it won't matter. by Bootarn · · Score: 1

      Even better! I'm a Mac user, so I use Safari and Firefox. I prefer Safari because it's faster, but I use Firefox when Safari can't handle a specific page.
      The browser included with the Syllable OS (ABrowse) is also based on webkit, so it would be cool if it was to support HTML5 before IE does :D

  2. Number 5 ALIVE, Stephanie! by rsborg · · Score: 1

    Looks like this is what Mozilla, Apple, Microsoft, etc will need to begin supporting 5 in the future.
    How long that takes, noone really knows. More importantly, how easy will this be to use and how useful will the semantic bindings be?

    Finally, anyone know if HTML5 mandates any specific version of EMCA/Java-Script? That part seemed vague to me.

    --
    Make sure everyone's vote counts: Verified Voting
    1. Re:Number 5 ALIVE, Stephanie! by geminidomino · · Score: 1

      How long that takes, noone really knows. About a month less than it will take for them to roll out HTML 6, at a guess...
    2. Re:Number 5 ALIVE, Stephanie! by Tacvek · · Score: 1

      Looks like this is what Mozilla, Apple, Microsoft, etc will need to begin supporting 5 in the future.
      How long that takes, noone really knows. More importantly, how easy will this be to use and how useful will the semantic bindings be?

      Finally, anyone know if HTML5 mandates any specific version of EMCA/Java-Script? That part seemed vague to me. No, a user agent need not support scripting at all. If it does support an ECMAScript-based scripting language then it would likely be using the third edition or later, as the specification includes an exception system, and try catch blocks were not introduced until the third edition. However, that is no guarantee that that version will be used, as older versions with support for exception added would work as well.
      --
      Stylish sheet to fix many problems in Slashdot's D3: https://gist.github.com/801524
    3. Re:Number 5 ALIVE, Stephanie! by Anonymous Coward · · Score: 0

      Looks like this is what Mozilla, Apple, Microsoft, etc will need to begin supporting 5 in the future.
      How long that takes, noone really knows. More importantly, how easy will this be to use and how useful will the semantic bindings be?

      Finally, anyone know if HTML5 mandates any specific version of EMCA/Java-Script? That part seemed vague to me. "Noone" is spelled as two separate words, i.e. no one.
  3. Re:Not again by nacturation · · Score: 4, Insightful

    Yes, let's roll out another new standard for no reason at all when most of the web still hasn't caught up to the last one.

    I can't be the only one who thinks the W3C is annoying as hell... So you're advocating holding back progress because a lot of sites authors don't bother to make their HTML compliant? With the new APIs, this hardly qualifies as "no reason at all".
    --
    Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
  4. The treadmill.... by gandhi_2 · · Score: 5, Insightful
    I have this theory...some of you might too....

    Large for-profit software giants must constantly make product to stay in business, pay programmers, and make profit...even if there's nothing REALLY to fix. Just make upgrades...sell new versions.

    Consumers and businesses are constantly put on an upgrade-treadmill as older products are purposely torpedoed...even when they worked fine and did the job they needed to do.

    now replace "for-profit software giants" with "design-by-committee standards organization" and "stay in business, pay programmers, and make profit" with "stay in charge and not have to get real jobs".

    1. Re:The treadmill.... by keytoe · · Score: 3, Insightful

      It's not a treadmill if you actually cover ground.

    2. Re:The treadmill.... by cromar · · Score: 1

      Yeah. It's not like the W3C has contributed anything to the internet at all. Sheesh. Who do they think they are?

    3. Re:The treadmill.... by Trailer+Trash · · Score: 1

      It's not a treadmill if you actually cover ground.

      Not necessarily. To extend your analogy, I can still cover 2-3 feet on a treadmill while making it look like I'm running. That's what we're dealing with here.

    4. Re:The treadmill.... by CharAznable · · Score: 1

      Upgrade treadmill my ass... a lot of the changes in HTML 5 are very welcome, and I wish they were implemented yesterday. This is not Microsoft shoving Vista down your throat.

      --
      The perfect sig is a lot like silence, only louder
    5. Re:The treadmill.... by KillerCow · · Score: 1

      I would agree with you... if requirements never changed.

    6. Re:The treadmill.... by winomonkey · · Score: 1

      I think that what he meant, rather than uphill-treadmill, was giant hamster ball.

      The two are easily confused.

    7. Re:The treadmill.... by nick.ian.k · · Score: 1

      now replace "for-profit software giants" with "design-by-committee standards organization" and "stay in business, pay programmers, and make profit" with "stay in charge and not have to get real jobs".

      Right. Because the current standards are so flawless and slopping over with intuitiveness that they can't be improved upon, and the needs of developers, content providers, and end users never ever change. If there's anything to love about the web game, it's how it's reliable and rock solid and fantastically static: we can all count on things staying the same, with obvious solutions to all problems already accounted for to pube-thickness precision.

      Personally, I like to think of it as a steel industry for the imagination: tons of demand, tons of profit, and stability so profound it gives the guy who came up with the Edsel a run for his money.

    8. Re:The treadmill.... by hixie · · Score: 4, Informative

      HTML5 is the furthest thing from committee-driven development in the W3C. Basically, I'm a dictator and every piece of feedback goes through me. (This is a point of contention with a lot of people who disagree with my approach, which has basically been to focus on use cases, pragmatic arguments, and research, and to eschew "expert opinions" as the sole guide to what the spec should say.)

      Also, spec writers aren't in charge of anything. This is actually a common fallacy, which leads to people writing specs without paying attention to their users and implementers -- just look at most specs coming out of the W3C. No, spec writers are in fact at the very bottom of the food chain. We can only specify things which the implementers want to implement, otherwise they'll ignore us, and we are only able to control what users do in so far as we tell them to do things that they want to do, otherwise they'll ignore us too. Just look at browser vendors ignoring specs they disagree with. Just look at how many pages have some sort of syntax error (over 93% according to a study of several billion documents I did last year).

      With HTML5 we're specifically trying to avoid torpedoing what implementers and users are doing today. A huge part of the effort is to make the spec relevant, specify what users are doing, specify things that other specs left vague, add features where users are working around holes in the spec, etc.

      As to whether my job is a "real job" or not... I can't speak to that. It's a lot of work, at least. :-)

    9. Re:The treadmill.... by STrinity · · Score: 2, Funny

      But what if W3C is an airplane and you put it on the treadmill -- does it stay still or take off?

      --
      Les Miserables Volume 1 now up with my reading of
    10. Re:The treadmill.... by mabhatter654 · · Score: 1

      HTML4 was released in 1997!!! CSS2 (the one STILL not supported) in 1998!!! The web has stood still on ancient tech because of 1 big company a REALLY long time. It's time to push HTML5 (XHTML5?) CSS3 & other new things and push those who don't keep up into the cold.

    11. Re:The treadmill.... by Anonymous Coward · · Score: 0

      I am suspecting that HTML 5 will be a failure. The only thing it brings is the obsolescense of XHTML (which was broken upon release) and potentially the audio and video tags. But since they failed to specify a mandatory codec that was reasonably easy to contain and reasonable to use (ogg vorbis comes to mind) it won't be worth a whole lot.

      Too bad really. If the audio/video tags work out well enough I might make a custom DTD based of HTML 4.01 with those tags in it. Otherwise I'm staying on HTML 4.01 Transitional (Mozilla Almost-Standards-Mode is so worth it).

      Don't feel too bad. I've been proven wrong before.

    12. Re:The treadmill.... by hixie · · Score: 1

      We'll find a codec for in due course.

      I think there's a lot more to HTML5 than just audio and video, though. Some new features, like <canvas>, are already widely implemented. The HTML5 parsing spec is already revolutionising how people handle HTML on the server side (see e.g. html5lib). The DOM Level 0 stuff that we're specifying is going to make it a lot easier to get the browsers to align on their weird heretofore-undocumented APIs.

      As far as staying on HTML4 -- good! HTML5 isn't anywhere near ready yet.

    13. Re:The treadmill.... by TheLink · · Score: 1

      How about adding a tag to help turn stuff off and keep them off?

      http://lists.w3.org/Archives/Public/www-html/2007Sep/0034.html

      It feels like the W3C and browser makers are building "cars" with no brakes. And when "cars crash" users and websites are blamed.

      For a website to output stuff safely from a 3rd party (e.g. spammer on blog/guestbook) they have to make sure every accelerator pedal is not pressed, AND somehow it has to work for new/future accelerator pedals...

      --
    14. Re:The treadmill.... by TheRaven64 · · Score: 1

      The only thing it brings is the obsolescense of XHTML It doesn't. XHTML and HTML 5 are orthogonal. HTML is defined as an SGML dialect. XHTML is a mapping from SGML to XML for this dialect. There is already a draft for representing HTML 5 as XML.
      --
      I am TheRaven on Soylent News
    15. Re:The treadmill.... by hixie · · Score: 1

      Yeah, this is one of the things on my list of things to look at.

      http://www.whatwg.org/issues/#graphics-iframe

      (see in particular the e-mails with the subject "sandboxing ideas")

  5. First thoughts by apathy+maybe · · Score: 2, Interesting

    Still no client side include (no, object doesn't cut it...).
    People are talking about browser support, it seems to be written in such a way as they should already be able to support it if they support either HTML 4 or XHTML.
    It removes lots of sylistic tags, CSS way to go.

    New section tag is good.

    Overall, looks interesting, cleaning up HTML a bit more, forcing it to be more of a structure rather then presentation language.

    Anyway, I'll start using it, when and if, it becomes useful for my work. Otherwise, XHTML and HTML 4 are it.

    --
    I wank in the shower.
    1. Re:First thoughts by onion2k · · Score: 1

      I can see advantages for most things they're proposing ... except for dropping the target attribute in anchor tags. I don't get that one. That's really useful for making external links open in new windows/tabs. Unless there's an alternative I've missed I think that could be a big mistake.

    2. Re:First thoughts by aftk2 · · Score: 1

      I would imagine they would simply advocate JavaScript for this sort of thing (not that I agree, necessarily). I could also see CSS to some degree controlling this; it's not necessarily presentational, but I could see different stylesheets making use of different target attributes for links.

      --
      concrete5: a cms made for marketing, but strong enough for geeks.
    3. Re:First thoughts by brunascle · · Score: 1

      it's because the end-user is supposed to decide whether or not to open a link in a new window/tab, not the site.

    4. Re:First thoughts by RDMsoft · · Score: 1

      HTML 5 doesn't drop the target attribute for a elements, in fact it's kind-of adding it, as it was deprecated in HTML 4. It does, however, drop it for link elements.

    5. Re:First thoughts by cromar · · Score: 1

      What do you want to do with client side include?? With all the security flaws around these days, I'm happy my browser isn't going to be executing external code. Or do you mean something else by that phrase?

    6. Re:First thoughts by Anonymous Coward · · Score: 0

      Still no client side include (no, object doesn't cut it...). Maybe I am missing something here...but why on Earth would you need this? I really can't even see the benefit of using JS to "include" files into a web page anyways. If your web host doesn't have some kind of support for server-side development, then I think it's time to look for a new host.

    7. Re:First thoughts by Anonymous Coward · · Score: 0

      Still no client side include (no, object doesn't cut it...).

      You can use Ajax for that and fall back to a static frameset. Am I missing a problem... why would you want to do this?

      XHTML and HTML 4 are it.

      Yeah, but what's the HTML5 namespace?

      <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h5="http://namespace.please/">

      Then there's all the weird stuff about script... bullshit notes such as the following that completely ignore the fact the end user has the final say...


      Web browsers that do not support scripting, or that have scripting disabled, might be unable to fully convey the author's intent.


      I wonder, are these the same moron authors who can't do XHTML or provide fallback content for users without script?



      Incidentally, best practice for unobtrusive js in XML serialization must now be...

      <?xml version="1.0" encoding="UTF-8" ?>
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
      <head>
      <title>js</title>
      <script type="text/javascript">
      //<![CDATA[
      function rewrite_noscript(){
        var e = document.getElementById('noscript');
      // Repopulate with innerHTML
      }
      window.onload = rewrite_noscript;
      //]]>
      </script>
      </head>
      <body>
      <div id="noscript">
      No attempt has been made to ensure this page functions without javascript.
      </div>
      </body>
      </html>

      I don't know XHTML5, so I did in plain XHTML but you get the idea

    8. Re:First thoughts by Tangent128 · · Score: 1

      Still no client side include (no, object doesn't cut it...). XSLT covers all the usages for client-side includes I can think of; it's actually surprisingly well supported- even IE6 supports much of it.

      I'm surprised you don't see much more of it.
    9. Re:First thoughts by hixie · · Score: 1

      target="" is mostly useful for targetting iframes.

    10. Re:First thoughts by RalphSleigh · · Score: 1

      So you can have one html file for your content, then include another html file with your sites header/footer/etc without having to resort to server side scripting. You could secure it by saying you can only include from the same domain as the main page.

      --
      Come as you are, do what you must, be who you will.
    11. Re:First thoughts by hixie · · Score: 1

      Wait, I misunderstood what you wrote. I thought you were asking why HTML5 kept it, not why it was removing it. We're not removing it. We're keeping it, for precisely the reason you gave. The only change is we have made "_blank" be an invalid value, to encourage people to use named windows or iframes instead of annoying popup windows for all their links (as a user, I'd rather say when I want a link to open in a new tab).

    12. Re:First thoughts by hixie · · Score: 1

      The namespace for the XML version of HTML5 is the same as XHTML 1.0 and 1.1: http://www.w3.org/1999/xhtml

      I don't think the spec ignores that the user has the final say, I think it is entirely true that if you have scripting disabled, you MIGHT be unable to fully convey the author's intent. What should that sentence say instead?

      Here's the XHTML5 version of the page you quoted (basically no need for a DOCTYPE, and the type="" attribute on <script> is optional for JavaScript):

      <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
      <head>
      <title>js</title>
      <script>
      <![CDATA[
      function rewrite_noscript(){
      var e = document.getElementById('noscript');
      // Repopulate with innerHTML
      }
      window.onload = rewrite_noscript;
      ]]>
      </script>
      </head>
      <body>
      <div id="noscript">
      No attempt has been made to ensure this page functions without javascript.
      </div>
      </body>
      </html>
    13. Re:First thoughts by Anonymous Coward · · Score: 0

      So you can have one html file for your content, then include another html file with your sites header/footer/etc without having to resort to server side scripting. There is no advantage to doing this client side. This is just adding more unnecessary client side logic anyways.

      Sitepoint covered this fairly well already: http://www.sitepoint.com/blogs/2004/04/04/dont-use-client-side-includes/
    14. Re:First thoughts by bar-agent · · Score: 1

      Not all web pages are served from a host. What if you have CD documentation? For those cases, frames work great, but client-side includes would work too. But there has to be something, and I'm disappointed that there is nothing in HTML 5 for this case, afaict.

      --
      i'd hit it so hard, if you pulled me out you'd be the king of britain [bash.org]
    15. Re:First thoughts by Tangent128 · · Score: 1

      XSLT is a way to do that. Today. Seriously, even IE6 suppports it.

    16. Re:First thoughts by Anonymous Coward · · Score: 0

      The namespace for the XML version of HTML5 is the same as XHTML 1.0 and 1.1: http://www.w3.org/1999/xhtml

      Isn't that a problem if I want to do XHTML1.0 strict with just html5:video? I can emit that without retooling.

      What should that sentence say instead?

      Implementors should already understand the issues with not supporting dynamic content, the real problem is that so much script is completely unnecessary. Authors are reminded that not all user agents have scripting available and that users may have scripting disabled or filtered. ??? Org policy, "web firewalls", browser prefs, noscript extension, lynx, dillo, netSurf. The authors intent is irrelevant here; my intent is telekinesis tho I'm not prepared to read any texts on the subject.

      You said somewhere below that XHTML failed. By the same metric, I could say that HTML5 has failed! Everyone knows where the failure really lies, I'm (^wA) certain mainstream browser support is required for both.

    17. Re:First thoughts by hixie · · Score: 2, Informative

      There's no difference between XHTML1 and XHTML5. They have identical processing requirements. You don't need to distinguish them.

      I'll see about adding a sentence to remind authors not to rely on script if at all possible.

      HTML5 adoption hasn't really started yet, but that's a good thing, we're nowhere near ready for adoption. Even basic things in the spec are still changing in big ways at the moment. There have always been plans to write shims for adding HTML5 support to IE, e.g. http://excanvas.sourceforge.net/ provides <canvas> support in IE today, so that you can use <canvas> in all browsers. It's early days still as far as that goes. We can add support in this way for many features, in ways far easier than for XHTML.

    18. Re:First thoughts by Anonymous Coward · · Score: 0

      Client-side includes (CSI, maybe you've seen its TV show? :) were directly in the 2.0 spec and 3.0 draft, but replaced in the 3.2 spec with OBJECT-PARAM. We can still use CSI in HTML4/XHTML1 by setting a profile attribute:

      <head profile="http://www.w3.org/MarkUp/draft-ietf-html-relrev-00.txt">

      To encode a CSI, just put rel="include" on any hyperlink (a or link tag). The include link-type can co-exist with others in the rel attribute, it's a space-separated list:

      <a href="readme.text" rel="include" type="text/x-markdown"> Release Notes</a>

      No browsers implement CSI, but several JavaScript projects do. The pre-XHR "csi.js" script once at http://csincludes.org/ has been rolled into the "ariah.js" Ajax project at http://ariah.org/, downloadable from http://ariah.googlecode.com/ since December. CSIncludes.org now points to a decent explanation of CSI on Ariah's wiki.

      The Ariah source code isn't exactly easy to grok, but it is pretty cool; uses CSI to do client-side templates (rel="template"), client-side Markdown parsing through Showdown, and a lot more. For example, you can do rel="include source" to show source code instead of parsing the file.

    19. Re:First thoughts by TheLink · · Score: 1

      Well forcing the use javascript for that is a step backwards.

      Sites WILL open new windows for users.

      --
    20. Re:First thoughts by bvimo · · Score: 1

      I want external links to open in a new tab and internal links to use the same tab. Currently I have to remember to press with the mouse click (I use Opera).

      i.e. the links in a /. summary or within the comments should open in a new tab.

      --
      In either case, here at Microsoft, we feel standards are important. And we have fun, too. Doug Mahugh, Microsoft
    21. Re:First thoughts by Anonymous Coward · · Score: 0

      There's no difference between XHTML1 and XHTML5. They have identical processing requirements. You don't need to distinguish them.

      Respectfully; that's a little mendacious unless elements such as audio and video are represented as fnords in the XHTML1.0 DTD. I assume a XHTML1.5 with modules for HTML5 elements is possible?



      I also think canvas pales against the potential of widespread ES4 (screamingmonkey), SVG and vorbis/theora support. All despite the best efforts of certain vendors...

      <works>
        <spanner />
      </works>
    22. Re:First thoughts by Anonymous Coward · · Score: 0

      This isn't the authors decision. If I click on a link I want it to replace the current document, if I want a new window or new tab I'll open the link in a new window or new tab thank you kindly.

      Isn't this exactly what you described? And if you don't like how opera does it, configure a mouse gesture or something.

    23. Re:First thoughts by hixie · · Score: 2, Insightful

      ...then you should configure your browser to do that. I, on the other hand, don't want that -- and I shouldn't have to fight the author to get what I want either.

    24. Re:First thoughts by hixie · · Score: 1

      I don't understand what you are saying or asking in your first paragraph. Browsers aren't going to ignore the new HTML5 elements when they find them in XHTML1 documents, they'll just apply their HTML5 meaning. All the elements that are in both versions have the same processing rules. What's deceptive about this? What do DTDs have to do with what browsers do?

    25. Re:First thoughts by tepples · · Score: 1

      If your web host doesn't have some kind of support for server-side development, then I think it's time to look for a new host. Web developers who are too young to have a job, such as my cousin, can't afford hosting that's more expensive than, say, Tripod.com. Which free host do you recommend that has acceptable server-side processing capability? And which combination of operating system and web browser has server-side processing capability for the file: protocol?
  6. Read the diff by DeltaSigma · · Score: 2, Insightful

    And I must say, I like where this is going so far. It feels like a very natural progression from HTML4's ideology, while respecting authors' collective recent interests, such as media embedding, and .

  7. Re:Not again by L4m3rthanyou · · Score: 1

    What progress? With every new standard, I hardly see any improvement. Browsers still render compliant pages differently, web designers still use multiple standards, and all the while the W3C tries to convince everyone that their way is the right way.

    The idea of concrete "standards" isn't really compatible with the open, ever-changing, free-for-all we know as the internet. To keep up, the W3C has to keep updating their "standard", which partially defeats the purpose. frankly, I'm sick of hearing about it.

    End-users don't give a damn whether a page is compliant or not. As long as it works, it's fine.

    --
    One of these days, I'm going to cut you into little pieces.
  8. Re:Not again by Anonymous Coward · · Score: 1, Insightful

    I wonder what the support for HTML 1-4.0 was before 4.1 came out. I bet it was less than total. Standards support for HTML 4.1 is pretty damned good when you look at the big picture. The standard is only not followed (even in IE) for very few features when you look at the entire standard. Full support of HTML 4.1 isn't even a requirement to start on 5. Why would we wait for everybody to finish 4.1 then say "ok, now that you are done with that, lets go do something completely different that will make all of your former work obsolete."

    HTML 5 will make it so we don't have to do crazy shit to tease the functionality we want out of a standard that wasn't meant to do what we have come to expect from websites.

  9. Still sloppy by nagora · · Score: 4, Insightful

    "The DOCTYPE declaration is <!DOCTYPE html> and is case-insensitive in the HTML syntax."

    So we have

    <!DOCTYPE html><html>

    At the start of every HTML document served with an text/html mime type? That's real rational. Let's get this tidied up once and for all and start html documents with

    <HTML version='xxxx'>

    Is that such a difficult concept?

    TWW

    --
    "Encyclopedia" is to "Wikipedia" what "Library" is to "Some people at a bus stop"
    1. Re:Still sloppy by RDMsoft · · Score: 1

      The doctype syntax is retained in order to put existing browsers in no-quirks mode. Also, the html element's start tag is optional, like in HTML 4.

    2. Re:Still sloppy by Just+Some+Guy · · Score: 1

      Is that such a difficult concept?

      I'll make you a deal: you talk to the W3C and get them to drop this completely and utterly bass-ackward broken idea of creating new non-XML flavors of HTML, and I'll talk to the XML folks about dropping the DOCTYPE requirement.

      --
      Dewey, what part of this looks like authorities should be involved?
    3. Re:Still sloppy by jalefkowit · · Score: 1

      The problem is that most non-IE browsers rely on the presence of a DOCTYPE to signal whether the document should be parsed in a strict standards-compliance mode or a loose "quirks" mode. So if you ditch the DOCTYPE you're taking away authors' ability to "opt in" to stricter parsing.

    4. Re:Still sloppy by LordLucless · · Score: 1
      --
      Just because you're paranoid doesn't mean there isn't an invisible demon about to eat your face
    5. Re:Still sloppy by hixie · · Score: 5, Interesting

      Actually originally we wanted to remove the DOCTYPE altogether, and since the start tag is optional that would have made the boilerplate "" (the empty string), or "" if you want to include the start tag. Unfortunately, in non-HTML5 browsers, if there's no DOCTYPE, you'll get quirks mode, which we wanted to avoid. That's why we went with the shortest string we could find that triggered standards mode, namely "".

      I agree that it's not ideal, but I couldn't really see a way around it.

    6. Re:Still sloppy by BZ · · Score: 1

      IE also relies on the doctype to switch between standards and quirks (though they're planning ot add some bells and whistles in IE8).

    7. Re:Still sloppy by swansontec · · Score: 1

      This standard is designed to work in the Real World. When Real World browsers see a document without a doctype tag, they go into quirks mode and render CSS wrongly. Thus, eliminating the doctype tag would either make HTML 5 incompatible with current browsers or force everyone to use the broken quirks-mode CSS behavior. That would suck a lot. The present solution is not the most beautiful, but it is the most rational and realistic.

    8. Re:Still sloppy by Jesus_666 · · Score: 1

      And who talks to Microsoft to actually make XHTML relevant?

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    9. Re:Still sloppy by Serious+Callers+Only · · Score: 1

      Then you should have a transition strategy to remove that ugly !DOCTYPE bit. Add a version="5.0" field as well, and then later you can drop the DOCTYPE part, once enough browsers support looking at the version.

    10. Re:Still sloppy by hixie · · Score: 1

      We don't really want a version attribute at all.

      We can't put anything on the <html> start tag, because that tag is optional, and we don't want to require it to be present to trigger standards mode.

      The "<!DOCTYPE HTML>" thing isn't that big a deal, IMHO.

    11. Re:Still sloppy by bvimo · · Score: 1

      What tag will HTML 6 have?

      --
      In either case, here at Microsoft, we feel standards are important. And we have fun, too. Doug Mahugh, Microsoft
    12. Re:Still sloppy by bunratty · · Score: 1

      If there ever is such a thing, perhaps ?

      --
      What a fool believes, he sees, no wise man has the power to reason away.
    13. Re:Still sloppy by Just+Some+Guy · · Score: 1

      We can't put anything on the <html> start tag, because that tag is optional

      Out of curiosity, what drove that decision? Without knowing the justification, it would seem that making <html> mandatory would solve the same problem. Is there a reason to make it optional?

      --
      Dewey, what part of this looks like authorities should be involved?
    14. Re:Still sloppy by Serious+Callers+Only · · Score: 1

      We can't put anything on the start tag, because that tag is optional


      Don't do that then, you certainly aren't sticking slavishly to the conventions of html pre v.5, so why here?

      Defining a standard for documents (i.e. html 5) without any sort of versioning for the standard seems like it would lead to loads of problems later on. When you get to html 6, how would a browser/validator know which version of html it's supposed to be looking at? Surely that would help with rendering if nothing else? Are browsers really supposed to have some kind of sucky 'guess-layout-intentions-by-doctype' routine, even though it'd be simple for a version number to go in there? Have no browser makers asked for this?? Otherwise when you get to version 6 and wish to revise the rendering/behaviour of an element, there will be no way to do it.

      I'm aware you've thought about this a great deal more than most people here, so perhaps you could enlighten us. Sorry if this has been done to death elsewhere.
    15. Re:Still sloppy by bunratty · · Score: 1

      You could still do versioning by using as I explain above.

      --
      What a fool believes, he sees, no wise man has the power to reason away.
    16. Re:Still sloppy by Serious+Callers+Only · · Score: 1

      You could still do versioning by using as I explain above.


      No, you can't. It breaks the rendering in current Firefox builds, they'll go into quirks mode. See this test-case.

      http://zcorpan.1go.dk/test/doctype-html5.html

      So you may as well not bother with the !DOCTYPE, plus that means you have a different top level tag for each new revision of html, which is kind of ugly. A version attribute (as someone originally suggested) is neater than a doctype anyway IMHO, however, having had a quick google around, it seems Ian is of the opinion that there is no problem :

      http://annevankesteren.nl/2005/07/html5-doctype#comment-4391

      There's no versioning problem. We will never require UAs to do different things based on what version of HTML they find a page claiming to use. It's bad enough that UAs have been forced into quirks vs standards mode versioning. - Ian Hicks


      While I sympathise with the attempt to release browsers from quirks mode hell, you still need a version of some kind for a document format, otherwise you can't ever break with the previous formats in any way at all. It also helps with validation, which would otherwise be impossible (how would an html 5 document be validated? By searching for the exact string '!DOCTYPE html' and hoping for the best? ? ?!? !?! ).

    17. Re:Still sloppy by bunratty · · Score: 1

      That appears to be a bug in current Firefox builds. According to the documentation, a DOCTYPE declaration without a DTD should trigger full standards mode. Feel free to submit a bug report.

      --
      What a fool believes, he sees, no wise man has the power to reason away.
    18. Re:Still sloppy by hixie · · Score: 1

      We don't want to invalidate documents for no good reason, and we don't really want to require , since HTML has been happily going along with it being optional for so long.

      I don't see how "<html version=5>" is any better than "<!DOCTYPE HTML>", to be honest. Both are just magic strings, at the end of the day. I'd rather have my magic strings look magical (with exclamation marks and capital letters) rather than look like any other part of the markup. :-)

    19. Re:Still sloppy by hixie · · Score: 4, Interesting

      Versioning is basically meaningless on the Web. Browser vendors (other than Microsoft, at least) have repeatedly said that they don't want to have multiple code paths for features, which means that they want each version of HTML to work the same as each previous version. Same for CSS, same for the DOM APIs.

      If every version of HTML is going to be identical from the browser's point of view, why bother including any versioning information in there at all?

      As far as validators go: the point of validators is to report errors. When HTML6 comes out, if there are things in HTML6 that are errors that aren't errors in HTML5, that presumably means we found bugs in the HTML5 spec, and so it is more helpful to authors if we report them than if we don't. Therefore validators should always validate against the latest spec (unless manually configured otherwise, of course), and the validators don't need a version number in the format.

      Having version numbers in formats makes people do stupid things, like make behaviour depend on the version flag. Not having a version number in the format makes people notice that kind of mistake more (since then explicit flags have to be invented to make the mistake, instead of just using the version number in the format).

    20. Re:Still sloppy by Just+Some+Guy · · Score: 1

      I don't see how "" is any better than "", to be honest.

      Likewise. DOCTYPE is ugly, but after all this time I don't see it anymore. I wasn't one of the people criticizing it.

      --
      Dewey, what part of this looks like authorities should be involved?
    21. Re:Still sloppy by hixie · · Score: 2, Insightful

      Not ever breaking the previous formats in any way at all is a good thing.

      Validation should be against the latest version, otherwise you'll be telling authors not to use new features (which is dumb) and not telling them about the mistakes that earlier versions didn't know about (which is also dumb). Thus validators also don't need a version switch.

    22. Re:Still sloppy by Serious+Callers+Only · · Score: 1

      Firstly, thanks for taking the trouble to reply. Your responses have seriously improved the quality of this discussion. This is posted from an iPod, so I'll be brief.

      It's interesting to see that you don't feel the web needs versions - every other doc format I can think of has them. Perhaps that's part of the strength of the web, but it also seems to me to be a weakness. It means that no changes in behaviour can be introduced without breaking renderings of previous versions. Eventually all the added behaviour will accrete until things are just too complex. Prunning stuff like font from the spec for example will radically change renderings of older content unless UAs use some form of versioning to keep rendering those only in older docs - otherwise it's not really been removed.

      I think on the web the unfortunate practice of coding to particular versions of UA has clouded the issue somewhat.

      Anyway thanks for the response and HTML 5 - there's some great stuff in there.

    23. Re:Still sloppy by hixie · · Score: 1

      Most document formats on the Web don't have them, and even those who do (e.g. all earlier versions of HTML) have not actually had them used for rendering differences. (Really the reason is the same as the reason why IE's version switch idea is a bad one.)

      One problem is what happens in older UAs when you change the behaviour and the older UAs visit a new page?

      Also, consider people claiming to use the new version before the new version is supported (e.g. the way so many people claim to use XHTML) -- new browsers would "break" those pages when they came out, since they expect the old behaviour despite claiming the new version. (With XHTML, the example would be using an XML parser on XHTML files sent as text/html -- it's not possible, you'd be reporting XML parse errors all over the place, and your market share would drop like a stone.)

      On removing features: browsers don't actually ever remove features, unless they have near-zero use. I don't expect browsers to ever not support <font>, for instance. I don't see that as a problem. Indeed HTML5 will eventually have a section defining how to support these old features. That doesn't make them a part of the language.

      Maybe eventually the spec will get "too" complex, but it's also likely that eventually we'll have something so radically better than HTML that it is actually worth migrating to a new format altogether. People are always trying to do this, and they succeed occasionally.

      Anyway. It's hard work to make a spec backwards- and forwards- compatible when the installed base is as large as HTML's. But it's not impossible, if you're careful, and patient. I think it's worth it.

    24. Re:Still sloppy by Anonymous Coward · · Score: 0

      That sir is your problem and all of your other eliteists t*ssers like Henri Sovinen.

      Getting rid of tag soup and poorly coded crap is not only a good reason, it's the way forward.

      You even say "HTML has been happily going along with it being optional for so long." - holly crap - they put you in charge of html5?!?!?!

      Get with the program and help design a better web - not a web that is going to be a laughing stock of tag soup and browser specific hacks.

      If an author says his site is "HTML5 compliant" render it as such - if it doesn't work it's his problem, or we might as well all go back to NCSA mosaic.

    25. Re:Still sloppy by hixie · · Score: 1

      Actually, _I_ put me in charge of HTML5.

      I don't see how omitting optional tags is "tag soup" or "poorly coded crap". Omitting optional tags doesn't in any way affect the precision of the meaning of the markup.

      HTML5 defines the processing and rendering of all HTML content, including HTML4 content, including invalid content. Why does it matter what the author claims he is writing?

      I didn't understand the rest of the message.

  10. Someone hire this guy! by nacturation · · Score: 4, Insightful

    Looks like this is what Mozilla, Apple, Microsoft, etc will need to begin supporting 5 in the future. I think they should hire you for your keen insight.

    How long that takes, noone really knows. Another stunning peek into the future.

    More importantly, how easy will this be to use and how useful will the semantic bindings be? It'll be as easy to use as a snowboard and as useful as a hammer.

    Finally, anyone know if HTML5 mandates any specific version of EMCA/Java-Script? That part seemed vague to me. A three second scan of the linked article yields:

    "Implementations that use ECMAScript to implement the APIs defined in this specification must implement them in a manner consistent with the ECMAScript Bindings for DOM Specifications specification, as this specification uses that specification's terminology. [EBFD]"

    Their language indicates that ECMAScript isn't a requirement. Essentially, "if you use it, you must implement it in a certain way". They don't mention requirements for implementations that don't use ECMAScript.
    --
    Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
    1. Re:Someone hire this guy! by Anonymous Coward · · Score: 0
      It'll be as easy to use as a snowboard and as useful as a hammer.

      As useful as a hammer is for snowboarding, you mean...

    2. Re:Someone hire this guy! by TheRaven64 · · Score: 1

      Essentially, "if you use it, you must implement it in a certain way". I think you have misread this quote. It is specifying constraints on how parts of the HTML 5 spec are implemented in older browsers using ECMAScript, not on how ECMAScript may be implemented in conforming browsers.
      --
      I am TheRaven on Soylent News
    3. Re:Someone hire this guy! by CastrTroy · · Score: 1

      Have you ever tried snowboarding? It's actually quite easy to pick up. Most people I know pick it up way faster than skiing.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
  11. Includes? by pr0nbot · · Score: 2, Insightful

    Good to see they're binning frames.

    But - why has there never been an include mechanism in HTML?

    1. Re:Includes? by MightyYar · · Score: 1

      But - why has there never been an include mechanism in HTML? I don't know the answer, but I suspect two things:
      • Not that much demand from developers... this is simple to solve server-side.
      • Potential for abuse/mistakes. You'd have to protect browsers against nested includes/circular references which could get tricky.
      --
      W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
    2. Re:Includes? by pr0nbot · · Score: 1

      But all that is true of CSS, and yet we have the ability to include external CSS in both HTML and in CSS itself.

    3. Re:Includes? by MightyYar · · Score: 1

      With CSS you are sold on external sheets because they cache and thus shorten load time. You might be able to make the same argument about certain types of html - say a navigation sidebar... but I bet the html that makes up even a complex sidebar is in the 1kb range once zipped. For instance, the whitespace-heavy Slashdot sidebar is 3.4k and compresses to 1.2k. I'm not sure that it is worth caching that. Their CSS, on the other hand is 56k (12k zipped).

      --
      W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
    4. Re:Includes? by porneL · · Score: 1

      There has been - frames - and it didn't work out very well. It's because the web has deep-rooted assumption that every document has its own URL.

    5. Re:Includes? by Anonymous Coward · · Score: 0

      The reason I was told, many years ago, is that includes would require the client to make multiple connections to the server, which would hurt performance.

      Seems laughable today. Some days I think we're lucky the W3C guys haven't glued their hands together.

    6. Re:Includes? by Anonymous Coward · · Score: 0

      Actually, the "include" link-type was in HTML 2.0, but has been only tangentially referenced since 3.2 (through the head's profile attribute), so it's fallen out of use. However, the cross-browser Ariah project activates it in Ajax. See http://csincludes.org/ and http://ariah.googlecode.com/ for more info.

      The security objections against activating XML external entities client-side were overcome with the sandboxing of XMLHttpRequests, so there's no good reason not to use client-side includes now.

      I use client-side includes on a couple of projects, and they work fine.

    7. Re:Includes? by You're+All+Wrong · · Score: 1

      Strange, when I go to http://fungames.tld/my_games I get a completely different list of games, i.e. a completely different document, from when other members of the site go to it. Your view of the web seems to not have reached the stage where cookies were invented yet.

      --
      Your head of state is a corrupt weasel, I hope you're happy.
    8. Re:Includes? by TheRaven64 · · Score: 1

      3.4KB adds up though. How many times do you load pages on Slashdot per day? Say, 100. That's 340KB. Assume that you are reading Slashdot 20 days a month, that's 6800KB. How many people on your ISP read Slashdot? Maybe 1000? That's 6,800,000KB (6.49GB) per month just to transfer the sidebar. If it could be included and cached then OSDN would be sending 3.4KB to your ISP for the sidebar, rather than almost 6.5GB. Sounds like a significant bandwidth saving to me...

      --
      I am TheRaven on Soylent News
    9. Re:Includes? by MightyYar · · Score: 1

      You have a good point, though Slashdot gzips their http, so divide all your numbers by 1/3 :) And you are still talking 10x less than the CSS size, so CSS was still the low-hanging fruit to go after...

      --
      W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
    10. Re:Includes? by Just+Some+Guy · · Score: 1

      Good to see they're binning frames.

      Some people are gonna be mad.

      --
      Dewey, what part of this looks like authorities should be involved?
    11. Re:Includes? by Just+Some+Guy · · Score: 1

      3.4KB adds up though.

      It adds up even more quickly if you could factor out huge blocks of HTML so that you'd only have to serve, say, one copy of a story's comments to an ISP.

      --
      Dewey, what part of this looks like authorities should be involved?
  12. The web will finally be useful! by Anonymous Coward · · Score: 0

    Audio AND video on the same page? The mind boggles. And with 2-D graphics? I can barely conceive it.

    And persistent client-side data storage has been a dream since the mythical cookie.

    And editing of documents will just lead to anarchy.

    This sounds like HTML Vista.

  13. Re:Not again by framauro13 · · Score: 1

    Concerning CSS, site authors don't write standard compliant code because most browsers aren't standard compliant. Just to emulate the standards across multiple browsers requires tons of hacks and alternate approaches that normally wouldn't have to be done if the damn browsers were compliant to begin with. It's not the authors' faults that they have to hack around non-compliant rendering engines.

    Sorry, I'm just a very frustrated CSS developer :)

    --
    In an effort to conform with internet communication standards, please note that the above comment is 100% biased opinion
  14. Re:Not again by Anonymous Coward · · Score: 0

    What do you propse we do instead then? Wait for the browsers to implement new features on their own so we have 4 major browsers going their own way trying to do what they think is best and end up with 4 different sets of features and implementations so that no new features will be implemented cross browser? Yeah that is a great way to get the end user websites that work. God damn, the standards aren't for the people writing the HTML as they are for the people writing the browsers.

  15. From the differences page by snl2587 · · Score: 1

    Absent Elements
    font, although it is allowed when inserted by a WYSIWYG editor due to limitations in the state of the art in user interface for these editors.

    I know this is for ease of use, but seriously: if the people at W3C really want a "standard", doing stuff like this does nothing but make it ok to ignore the standard. So which is it, CSS or font? Pick one!

    1. Re:From the differences page by Tacvek · · Score: 1

      They are planning on dropping this. What they will recommend dumb WYSIWYG ediotrs to use is unclear, but it may just be simple style attributes containing inline CSS. (That is certainly better than the font tag).

      --
      Stylish sheet to fix many problems in Slashdot's D3: https://gist.github.com/801524
    2. Re:From the differences page by hixie · · Score: 1

      Why is it better than the tag?

    3. Re:From the differences page by porneL · · Score: 1
      This part isn't ignored. In fact, it's pretty much the opposite: all current implementations of WYSIWYG editor insert and browser vendors refuse to change that, because websites rely on that behavior.

      If W3C demanded CSS, then it would get ignored or at best implemented as <span style="color:red">, which is just as bad as <font color="red">.

    4. Re:From the differences page by snl2587 · · Score: 1

      This is more of a philosophical "what is HTML for?" question. The reason using CSS is better than the font attribute is that, at the core, HTML is designed for layout only, and at that only basic layout. The hope was, especially at the introduction of CSS, that all styling would take place in the stylesheets and not on the pages themselves. This, of course, is not what happened in practice. By simplifying the standard even further and removing formerly deprecated elements (the "font" element being one of them) HTML5 is attempting to make HTML even more basic and fundamental. Which, from a certain point of view, is a very good thing.

      I realize that until something other than HTML is the standard for webpages there is never going to be a regard for strict standards, but one can hope.

    5. Re:From the differences page by Anonymous Coward · · Score: 0

      I guess because CSS has more formatting and indentation options available, and because it's easier to map inline CSS to the .

    6. Re:From the differences page by hixie · · Score: 1

      I agree that CSS is better than . My question was why is style="" (HTML that happens to include a CSS declaration) better than (also HTML, which happens to include CSS values)?

      HTML5 actually introduces a bunch of stuff to make it into more than a layout language, and more of a language and application description language, with things like <article>, <section>, <footer>, <dialog>, <datagrid>, etc. Hopefully that will encourage separation of layout/formatting/style and semantics, but we'll see.

    7. Re:From the differences page by hixie · · Score: 1

      I guess one could make the argument that given and style="", the latter is more powerful and thus better, true.

    8. Re:From the differences page by Anonymous Coward · · Score: 0

      ...map inline CSS to the tag.

    9. Re:From the differences page by snl2587 · · Score: 1

      Ah, my mistake. In my opinion, the style attribute still isn't a whole lot better unless it's used as an override to a stylesheet, and even then there are better practices (disagree with the person the question was initially directed toward). I guess the only point may be that "font" has been deprecated since HTML4 (I think), whereas only now are they considering dropping the style attribute in favor of id attributes.

      With the exception of "canvas" and a few other API descriptors, I still think most of the language is for layout and grouping things for CSS and the actual content to use. However, point taken.

    10. Re:From the differences page by Anonymous Coward · · Score: 0

      Yeah, like in terms of font-size you can use units in CSS, or margins, etc. This is just for WYSIWYG editors though, so maybe they'd want margins too (better than using blockquote like how they do now)

  16. Summary by Anonymous Coward · · Score: 0

    Many pages on the internet, are not well formed HTML.
    One cannot force everybody to rewrite their pages.
    HTML 5 defined the rendering behavior for pages where previously were "Implementation Defined".
    In a way it describes the bahevior of the Mozilal program. Not because it is more reasonable. Simply it's what mozilla does.
    On top of that, it adds a couple of new tags which help googlebots.
    The problem is that a 10000 page standard that describes the bahevior of Mozilla, is not a useful standard.
    Monopoly through complexity, etc...

    1. Re:Summary by msuarezalvarez · · Score: 1

      Wow. Great contribution to the debate!

  17. Re:Not again by MightyYar · · Score: 3, Interesting

    I don't really keep up with the politics, but I think that HTML 5 is the W3C caving to exactly the sentiment that you are expressing. People weren't happy with the W3C and their pushing of standards that people weren't following (or at least not uniformly). They responded to outside pressure and HTML5 was born. So cut them some slack - they have seen the light and are attempting to be accommodating.

    Anyway, the situation that you describe won't really be the case in a few years. Safari, Opera, Mozilla, and IE are all fairly standards-compliant these days. When IE6 decreases to 10% or so, the last of the really non-compliant browsers will be history.

    Getting your site pixel-perfect on all of them is not and never will be trivial, because HTML is not supposed to do that. Certain sites do demand that, and for those sites we have things like Flash.

    --
    W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
  18. no default ogg, sadly... by hitmark · · Score: 1, Insightful

    title says it all really. basically they are not going for a default of ogg for audio and video by the looks of it...

    --
    comment first, facts later. http://chem.tufts.edu/AnswersInScience/RelativityofWrong.htm
    1. Re:no default ogg, sadly... by Anonymous Coward · · Score: 0

      Some "important players" put a lot of pressure in order to remove ogg/vorbis/theora minimal requirement for and during last HTML5 meeting... this is merely sabotage... maybe the W3C is not to be trusted anymore?
      The Net needs real open source and royalty free codec standards NOW!

    2. Re:no default ogg, sadly... by theurge14 · · Score: 1

      Why? Ogg was supposed to be a free version of MP3. We now have AAC/MPEG-4 part 3 for audio and H.264/MPEG-4 part 10 for video. Barely anything out there supports Ogg except for a VLC and maybe one handful of apps and one or two iRiver players.

    3. Re:no default ogg, sadly... by nickptar · · Score: 2, Informative

      "We now have AAC/MPEG-4 part 3 for audio and H.264/MPEG-4 part 10 for video"... both of which are patent-encumbered.

    4. Re:no default ogg, sadly... by hixie · · Score: 1

      HTML5 doesn't say that... where did you get that quote from?

    5. Re:no default ogg, sadly... by nickptar · · Score: 1
    6. Re:no default ogg, sadly... by hixie · · Score: 1

      Er. Wow. Sorry about that. I clearly need to read the comments here more carefully. :-)

      Anyway. Yeah. The codec issue isn't resolved yet. The spec lists our requirements, and people are indeed working on addressing this.

    7. Re:no default ogg, sadly... by hixie · · Score: 1

      Actually there was very little pressure to remove the text from the spec (and absolutely no pressure to do so during the last HTML5 meeting), I did it purely because the text in the spec was basically a lie. It promised that browser vendors would implement Ogg, but not all vendors are willing to implement Ogg.

      Everyone involved in the HTML5 effort basically agrees with your sentiment ("The Net needs real open source and royalty free codec standards NOW!"). But we're not sure how to get there. We're trying.

    8. Re:no default ogg, sadly... by Jesus_666 · · Score: 1

      And a bunch of other MP3 players and every single MP4 player manufactured in China.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    9. Re:no default ogg, sadly... by TheRaven64 · · Score: 1

      both of which are patent-encumbered. Which is only a problem in the USA which has insane rules allowing algorithms to be patented. In the rest of the world, these constraints don't exist. If you don't want the USA to become an uncompetitive technological backwater, I suggest you write to your representatives now and harmonise your patent rules with the rest of the world.
      --
      I am TheRaven on Soylent News
  19. What a Snoozer! by moore.dustin · · Score: 0, Flamebait

    What a lame duck HTML5 will be. These changes serve to only annoy current developers, little more. The only benefit here is for people looking to learn HTML from the source code. It will make a little more sense at a glance, but forgive me for not finding that worthwhile. Who learns HTML via notepad and source code anymore? All the rooks are going to keep using dreamweaver and thinking they understand what is actually happening. They don't.

    The only thing that might save me grief is going to be the small changes to form elements. Making something required is only half the battle though. If you are checking the data, you've gotta see if it empty anyways, so I guess this is good for the 'Name' and 'Company' fields :(

    1. Re:What a Snoozer! by bishiraver · · Score: 1

      Seems like it might also help machinereaders.

      Standardizing the name of the navigation element, for example, allows a screenreader to find it usefully (on demand instead of in-line with the page). Same with the rest of the elements.

      It also helps to standardize the semantic meaning of elements, to allow easier automatic syndication and searching. It's not about making the markup more readable for noobs, it's about making the markup more readable to machines (instead of everyone having a different id or class for their navigation, for example).

    2. Re:What a Snoozer! by cromar · · Score: 1

      I'm a developer. I don't think I'll be annoyed (it's not like I can't just keep using HTML4 or hell even 1 if I wanted). In fact, I'm pretty excited. It looks like there may be some really powerful changes being made. And yes, I do edit the HTML text directly and very frequently.

    3. Re:What a Snoozer! by moore.dustin · · Score: 1

      Developers would - that was the point :)

      I am not so sure about these being powerful changes... They look more like spitballs to me - Where is the powerful change that makes HTML5 worth it?

    4. Re:What a Snoozer! by cromar · · Score: 1

      The changes in section 3.1. New Elements look really promising. Think of Opera's automatic linking of back and forward on webpages, except we could customize our browsers to say, display blogs and other online reading in a different way than more utilitarian pages, simply because the browser recognizes , , , etc. The changes to input are neat and would at least save developers a little trouble. All in all, it will be up to the browsers to implement this sort of thing, but having the possibility for the extra meta data could change the way certain types of pages are interacted with in a lot of novel ways.

    5. Re:What a Snoozer! by Hatta · · Score: 1

      Who learns HTML via notepad and source code anymore?

      Is there another way to learn HTML?

      --
      Give me Classic Slashdot or give me death!
    6. Re:What a Snoozer! by Jesus_666 · · Score: 1

      Think of Opera's automatic linking of back and forward on webpages, except we could customize our browsers to say, display blogs and other online reading in a different way than more utilitarian pages, simply because the browser recognizes , , , etc.
      Just a little heads up: Slashdot ate the gast you entered; you have to use &lt; and &gt; instead of the brackets.

      Some kind of <verbatim> tag would be nice for Slashdot. Something that just makes sure that the enclosed text is bracket-transformed but otherwise retained verbatim. That would allow easy mixing of formatted text and HTML tags.
      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    7. Re:What a Snoozer! by cromar · · Score: 1

      Oh thanks! I meant , , and :)

    8. Re:What a Snoozer! by David+Gerard · · Score: 1

      . Wikimedia sites presently allow this as a last fallback option (the only existing implementation of the tag is Opera 9.5 previews, and it's too buggy to put earlier in the option list), but Firefox 3 is expected to have a usable implementation and we'd love to just be able to put Ogg Theora video out through such a tag. Saves messing about with plugins that may or may not work as expected or Java-based players. Let alone Flash.

      --
      http://rocknerd.co.uk
  20. Finally by Wiseman1024 · · Score: 2, Insightful

    XML's syntax sucks. It's annoyingly verbose, and annoyingly lowercase (lowercase tags suck because they are harder to tell from normal text). I'm glad they're supporting HTML syntax.

    On top of that, we get decent application controls such as grids, trees, better lists, and meters.

    Though audio and video I can live without. I'll be the first to get rid of it in my user CSS.

    Oh, and I hope they know what they're doing by removing CENTER. Currently, there's no way to replicate its behaviour from CSS (CSS2). (And no, text-align: center ain't the same.)

    --
    I was about to say 13256278887989457651018865901401704640, but it appears this number is private property.
    1. Re:Finally by phybere · · Score: 1

      because everyone uses

    2. Re:Finally by Daniel_Staal · · Score: 1

      You want to center a block? Set it's width, and set left and right margins to 'auto'. That's CSS for 'center block relative to enclosing block.' (And yes, that behaviour is in the spec.)

      Otherwise, what are you looking to do that you can't?

      --
      'Sensible' is a curse word.
    3. Re:Finally by mikael_j · · Score: 1
      XML's syntax sucks. It's annoyingly verbose, and annoyingly lowercase (lowercase tags suck because they are harder to tell from normal text). I'm glad they're supporting HTML syntax.

      I'd say that XHTML (which is what we should be talking about) is actually quite nice and lowercase is a lot nicer than uppercase, or are you one of those people who think COBOL was fun to write?

      Oh, and I hope they know what they're doing by removing CENTER. Currently, there's no way to replicate its behaviour from CSS (CSS2). (And no, text-align: center ain't the same.)

      Oh really? Ever try actually formatting a page with CSS? set the width of your page element and then use margin-left: auto; margin-right: auto; and watch what happens...

      Conclusion: HTML 5 is a new standard meant to be easier to understand since someone apparently thought the reason a lot of pages aren't standards-compliant is because XHTML is too hard, the real reason is that all those people making non-standards-compliant pages are just lazy and they'll continue being lazy with HTML 5. Also, try learning about XHTML and CSS before bashing them.

      /Mikael

      --
      Greylisting is to SMTP as NAT is to IPv4
    4. Re:Finally by Anonymous Coward · · Score: 0

      1) XML is case sensitive, not lowercase. XHTML is lowercase in the main*, but hey, that's what those lil' angle braces are for, decent commenting, and syntax highlighting. uppercasing for "readability" is stupid.
      2) HTML5 is not a replacement for XHTML - it is a complementary tech, and XHTML still can do things HTML5 cannot do.
      such as embedding SVG, ODT, MathML or other XML into the document as needed.
      3) No one uses center anymore. Except you I guess, and rest of your post puts your knowledge kind of in doubt.
      http://dorward.me.uk/www/centre/
      At least you put that CSS2 qualifier in there, btw. But even there you are wrong since what you really mean is IE compatible CSS2 - which is a rather reduced subset (see below "display: table-cell")
      http://www.w3.org/Style/Examples/007/center

      * not all the time 'cause it is XML and can hook into other definitions. You may end up with a lot of perfectly legit XHTML docs using the attribute schemaLocation for example.

    5. Re:Finally by LordLucless · · Score: 1

      And if your block isn't fixed-width? Seriously, I've never understood why you need to tinker with an object's margins to changes its alignment. A whole stack of CSS stuff like this seems terribly clunky and unintuitive.

      Of course, my mine gripe with the centering methods in CSS is that IE6 doesn't support them, but that's not W3Cs fault.

      --
      Just because you're paranoid doesn't mean there isn't an invisible demon about to eat your face
    6. Re:Finally by mikael_j · · Score: 1

      Setting the left and right margins to auto works just fine in IE6, although I wouldn't have been surprised if it didn't.

      Also, as long as your element is set to a width smaller than the parent element then it should work, and if you want everything inside a <div> to be centered then you set "text-align: center;".

      /Mikael

      --
      Greylisting is to SMTP as NAT is to IPv4
    7. Re:Finally by TheSunborn · · Score: 1

      If it's not fixed width, it will be as wide as it's parent and thus centering it would not make sense. What is it you are trying to do but can't do?

    8. Re:Finally by Daniel_Staal · · Score: 1

      Your block will either be fixed-width or have some width relative to it's enclosing block, otherwise you wouldn't be centering it. (The only other option is completely unknown width, and if the width is completely unknown the browser can't center it. It won't know the width either.)

      And the margins thing makes sense, if you think about it: to center it, you tell it to distribute all extra space into the margins, equally. So it's logical, if a little unintuitive.

      CSS isn't always the most intuitive, I'll admit. There are usually good reasons for it, and it usually allows you to do complex things which more intuitive methods would preclude you from doing, but it does seem to make some simple things hard.

      --
      'Sensible' is a curse word.
    9. Re:Finally by Anonymous Coward · · Score: 0

      are you one of those people who think COBOL was fun to write?


      ADD ONE TO UPCASE GIVING LOVE
    10. Re:Finally by hixie · · Score: 2, Insightful

      With HTML5 we are doing a few things to address the fact that authors write invalid content. One is that we are relaxing a lot of the content model requirements. Another is that we are allowing the "/>" style on elements that have no end tag (like can be written ). We're also simplifying some things like making the type="" attribute optional on the and elements.

      There's also work to make validators for HTML5 that are far more detailed and friendly than the HTML4 validators ever have been.

      But to be honest, this hasn't been the main focus of HTML5. We've been concentrating more on making the behaviour well defined for browsers, and on adding new features for authors to relax the need for proprietary technologies like Flash.

    11. Re:Finally by hixie · · Score: 1

      HTML5 keeps the XML syntax variant alive. The HTML5 spec in fact has two syntaxes, one for text/html called HTML, and one for XML called XHTML. In fact, the HTML5 spec is intended to be a replacement for the XHTML 1.x specs.

    12. Re:Finally by Anonymous Coward · · Score: 0

      div align=center isn't the same as center?

      (I'm not being facetious, I'm really interested. I was always let to believe it was)

    13. Re:Finally by Jesus_666 · · Score: 1

      That's pretty much CSS's solution to most hairy problems: Put it in a and style that.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    14. Re:Finally by LordLucless · · Score: 1

      It doesn't for tables - I have no idea why. However, it will center them if you apply text-align: center to the containing element, or the old align="center" attribute on the table itself.

      Setting text-align: center on a div should only affect inline content, not block-level content. It doesn't on IE, but that's what it should do.

      --
      Just because you're paranoid doesn't mean there isn't an invisible demon about to eat your face
    15. Re:Finally by LordLucless · · Score: 1

      The other option is stretch to fit its contents - the default behaviour of tables, but one which can't be replicated on block-level elements. The table's width is unknown when you're writing the script, but know when the browser renders it. Tables can be centered that way, but all the CSS purists abuse people for using tables for anything other than tabular data, while reproducing a table's behaviour with a DIV is still problematic (especially considering IE6 bugs).

      --
      Just because you're paranoid doesn't mean there isn't an invisible demon about to eat your face
  21. Re:Not again by operagost · · Score: 1

    4.1? And here I am, stuck on 4.01.

    --

    Gamingmuseum.com: Give your 3D accelerator a rest.
  22. Re:Not again by timbck2 · · Score: 2, Informative

    When IE6 decreases to 10% or so, the last of the really non-compliant browsers will be history. Which shouldn't be a terribly long time:

    http://it.slashdot.org/article.pl?sid=08/01/21/0652248
    --
    Absurdity: A statement or belief manifestly inconsistent with one's own opinion. -- Ambrose Bierce
  23. Re:Not again by cromar · · Score: 1

    What progress?

    If you RTFA you would have seen that there are a lot of interesting changes in HTML5 that integrate with what people are doing NOW and providing a seamless set of markup and APIs. The audio, video, and canvas tags are particularly interesting to me, as well as the host of new meta tags. HTML5 could really take the web to the next level (and I'm just talking about organizing content, here, not even web apps or anything - it has some neat features pertaining to those as well).

  24. changes for the better by debatem1 · · Score: 1

    To be honest, after reading TFA, I thought that the response here would be mostly positive. These changes show that the w3c is committed to providing a standard that matches up with how the web is really used anymore, especially the new apis. While obviously writing sites to take advantage of them will have to wait for compliant browsers, it is pretty encouraging to me that they use the presence of implementations, rather than the finishing of the document, as the standard for completion. Personally, I look forward to the new way of handling server-side events, and the ability to ping uri's, which seems to promise a lot of power if sufficiently flexible.

  25. No more "td align" by argent · · Score: 0

    All this means is that instead of using "td align=...", you'll get people using "td style='text-align:...;'". Where's the win, other than making documents larger?

    1. Re:No more "td align" by robmv · · Score: 2, Insightful

      use CSS classes (for example ), define the look on a separate CSS file, and let the browser do its work and cache the CSS, you will reduce bandwith this way

    2. Re:No more "td align" by Rhalin · · Score: 1

      Thats really an understatement. Most of the time I see "td align" these days, its to address issues with CSS's lack of object alignment. Yes, text-align works in IE to position boxes, but this behavior has been, and probably will continue to be inconsistent between IE and Firefox, with firefox generally doing the "right" thing and only aligning the text, and IE doing the... well you get the idea. Before they start removing things from HTML because "CSS can do it", they need to make sure that CSS -really- can do it (and do it without complex nested tags or cross-browser trickery), and make sure that the browsers support that version of CSS. Disclaimer: I apologize if IE7 has fixed some of these CSS inconsistencies, but most of my work is specced to work on IE6 and FF, and if I can, Opera.

    3. Re:No more "td align" by hieu-dh · · Score: 1

      Just so that the authors notice the size bloatness of table layouts. And wake up.

    4. Re:No more "td align" by Scubafish · · Score: 2, Insightful

      If your using the style attribute for everything, your missing the point of CSS...

      <style type="text/css">
          table.align_left td{
              text-align:left;
          }
      </style>

      <table class="align_left">
          <tr>
              <td>Look a left aligned cell</td>
              <td>Look a left aligned cell</td>
          </tr>
          <tr>
              <td>Look a left aligned cell</td>
              <td>Look a left aligned cell</td>
          </tr>
      </table>

    5. Re:No more "td align" by porneL · · Score: 1

      And when IE6 finally dies, you won't even need classes for every column.

    6. Re:No more "td align" by TrebleJunkie · · Score: 2, Informative

      Uh, no you won't get people doing that, because they're removing the style= attribute. (See a previous reply of mine to learn exactly how stupid I think that particular move is.)

      --

      Ed R.Zahurak

      You know, oblivion keeps looking better every day.

    7. Re:No more "td align" by LordLucless · · Score: 1

      Yeah, because nesting divs to hack around all CSS/IEs shortcomings is so much more efficient.
      CSS is a wonderful thing, and has the potential to be even better, but its advantages are the ability to separate style and content, and remove code duplication for ease of maintenance. I've found that the size of the actual markup between table-based sites and CSS-based sites (not that the two are mutually exclusive) is pretty consistent.

      --
      Just because you're paranoid doesn't mean there isn't an invisible demon about to eat your face
  26. Re:Not again by NuShrike · · Score: 1

    That's the fault of all the dumb ass wannabe programmers out there who are getting by as corporate-paid web programmers. Most only learned it up to 2.0 spec; maybe 3.0. For further progress, they just shunted into Flash and that's it! It's not like there's compilers, nor pressure, to comply with the standard.

    It's all about the lazy man's philosophy that as long as it works, on to the next project. Until browsers start failing bad syntax, the web will stay with the basics, and new HTML revisions are just more leavings of white tower masturbation.

  27. Re:Not again by Just+Some+Guy · · Score: 2, Funny

    Browsers still render compliant pages differently

    Oh! I found the problem. You're looking for the article about PDFs. If you'll just follow me...

    --
    Dewey, what part of this looks like authorities should be involved?
  28. Still no value on select tags? by dumbo11 · · Score: 4, Insightful

    If anyone involved in the spec reads this, for the love of god PLEASE include a 'value' on the "select" tag.

    'as an alternative to flagging an option tag with selected="selected", a select tag may have a 'value' attribute. A renderer should select the first child option with a matching value attribute.'

    Please, my servers are getting fed up with rendering an entire country list just to flag one with selected="selected".

    1. Re:Still no value on select tags? by hixie · · Score: 1

      That's an interesting idea. I'll file it away for consideration. You can also send feedback to the lists (see e.g. http://www.whatwg.org/mailing-list#specs) or to me directly (ian@hixie.ch).

    2. Re:Still no value on select tags? by Jesus_666 · · Score: 1

      I also think that selected="selected" is pretty redundant. selected="true" would convey as much information, but look less, wel, redundant. Granted, it's just a few bytes, but it does look kind of stupid...

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    3. Re:Still no value on select tags? by notbob · · Score: 0

      I agree 100% with parent, a value tag would be massively simpler.

      I kind of like how html5 ditches some old tags to try to push css along, but css is kind of hard to build out by hand

    4. Re:Still no value on select tags? by hixie · · Score: 1

      In HTML you can just say with no attribute value and it'll work fine. It's even valid.

    5. Re:Still no value on select tags? by hixie · · Score: 1

      Let's try that again, without Slashdot eating my tags:

      In HTML you can just say <option selected> with no attribute value and it'll work fine. It's even valid.

    6. Re:Still no value on select tags? by Jesus_666 · · Score: 1

      Oh, right. That foo="foo" weirdness was X(HT)ML-only. Yet another reason why I don't really like XHTML.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    7. Re:Still no value on select tags? by LordLucless · · Score: 1

      While they're at it, how about splitting the element into checkbox, textbox, radiobox, button etc.

      --
      Just because you're paranoid doesn't mean there isn't an invisible demon about to eat your face
  29. My favorite by AutoTheme · · Score: 0

    The menu element is redefined to be useful for actual menus.

  30. container/video/audio ogg/theora/vorbis sabotage by Anonymous Coward · · Score: 0

    One of the requirement of the previous HTML5 was support of *at least* ogg/theora/vorbis.
    It was merely shot by "important players" at last conference.
    This is sabotage since those codecs are the ONLY ones to fulfill what's required for an open source royalty free W3C standard.
    The net is now able to do video and audio, but some collectives do not want it to happen by forcing a crippled standard.

  31. HTML5 is the wrong path by Dracos · · Score: 5, Insightful

    To (hopefully) anyone who understands and advocates XHTML and CSS, HTML5 is a tragic mistake. I can't believe TBL is supporting this garbage. It brings back some (but not all: <i> and <b>, but not <u>) presentational tags and gives them worthless definitions. It's full of concessions to lazy/unskilled developers. It makes XML compliance optional. It's full of niche tags which are so narrowly focused (aside, dialog) that they're almost certainly doomed to lousy browser support. It doesn't address the current inadequacies of forms. It has tons of design flaws and inconsistencies.

    Until there are consequences for not following the standards, it doesn't matter what the W3C does: People will continue to make pages and sites that are "just good enough", and browsers will continue to render what they want how they want. In the past, now, and for the foreseeable future, there's no incentive for anyone to do things right other than ego.

    I don't get it. The people designing this stuff are supposed to be experts in the field, yet they seem hell bent on force feeding everyone this drivel. If their true goal is the hurl the web into chaos, then they will certainly succeed.

    1. Re:HTML5 is the wrong path by hixie · · Score: 2, Informative

      XHTML failed: hardly anyone uses it. According to studies I did at Google, using a sample of several billion pages, about 0.0044% of pages use XHTML with the XML MIME type, and about 15% of people try to use XHTML, by giving the XHTML namespace, but actually use HTML, by sending it with the text/html MIME type.

      I'd rather work on a spec that is considered drivel but that everyone ends up using, than work on a spec that is theoretically perfect but which makes zero impact on the world at large.

    2. Re:HTML5 is the wrong path by Lachlan+Hunt · · Score: 1

      It doesn't address the current inadequacies of forms Forms were the first feature the WHATWG addressed when they began working on HTML5 back in 2004. The Web Forms 2.0 spec has even been implemented by Opera and there are partial implementations of some features in other browsers. The spec was adopted by the Web Application Formats working groups in 2006 (before the HTMLWG was formed), and pending the outcome of the Forms Task Force (between the W3C's HTML and Forms working groups), the forms features will be integrated into HTML5.

      http://www.w3.org/TR/web-forms-2/
      --
      By reading this signature, you hereby agree with the content of the above comment.
    3. Re:HTML5 is the wrong path by Nimey · · Score: 1

      So far as I know, Internet Explorer doesn't support XHTML. Since it's the majority browser, there you go.

      --
      Hail Eris, full of mischief...

      E pluribus sanguinem
    4. Re:HTML5 is the wrong path by Xest · · Score: 4, Interesting

      Indeed.

      HTML 5 is probably the worst thing that can happen to the web right now, slowly but surely XHTML compliance was bringing together browsers and sites, you only have to look at the magnificent jump in compatibility of sites from IE6 and Firefox 1 to IE7 and Firefox 2, whilst far from ideal still, developing Standards compliant code for the latest generation of browsers is much less of a headache than it's ever been.

      HTML 5 increases ambiguity, it's a language seemingly designed for the MySpace generation - people who just want to hack together quick and dirty sites without any care or thought for scalability and accessibility. The simplification of XHTML over HTML whereby ambiguity is decreased by fixed rules, and less presentation tags was absolutely fantastic for developing sites that work on a variety of user agents as much more is left for the user agent to figure out so that small handheld devices could finally display compliant sites in a way that best fit the screen. Accessibility software such as screen readers have a much easier time as they could largely ignore CSS and stick to reading out the actual content without worry that some random presentation tags with a non-strict syntax was going to bugger up the parsing.

      The most important concept with XHTML was separation of presentation from content coupled with a strict syntax and HTML 5 goes against these two extremely important points for ensuring we have a clean, standardised, accessible web. It's also quite a problem that HTML 5 says "Oh you don't have to use this or that, you can do it was you want", a standard needs to make up it's fucking mind not sit on the fence because otherwise it's not much of a standard as you get people doing things in many different ways, some of which are undoubtedly going to break in some user agent or another.

      Essentially what's happened with HTML 5 is we've got a language that caters for those incapable of working with a well structured language, on one hand this is great because more people can publish to the web, on the other it's awful as it basically fucks up the web further. Instead of dumbing down the underlying language and breaking the web as a result, we should be producing better tools for working with the existing language keeping the web clean without leaving it difficult to publish to.

      Do we really want to prolong the old situation of sites that only work or look differently with some browsers and that are inaccesible to people with special accessibility requirements? Not to mention that aren't scalable as content and presentation get mangled into one and hence really aren't maintainable either?

    5. Re:HTML5 is the wrong path by Anonymous Coward · · Score: 0
      Sending with the XHTML mime type is allowed in HTML4 in the compatibility section, so that example isn't a failure of XHTML. The real comparison would be between HTML 4.01 vs XHTML 1 compliance, if your measure is popularity.

      You guys were considering dropping the ALT attribute as required, right? Has that changed? (I hope not, because screen readers typically read out the @src attribute)

    6. Re:HTML5 is the wrong path by dargaud · · Score: 1

      Yes, my site is amateurish and has been like that since, oh, 1996. When I looked at the XHTML+CSS specs my only thought was "WTF, this can only be written by a code generator". I write my HTML by hand as the original web intended. Yes, I forget to close some tags and the presentation is kind of sucky. So what, I still get 10000 visitors a day. At least with HTML4/5, I know what the tags mean. Not so with XHTML. And XHTML never validates, period. I'd say HTML5 is a realistic implementation for old-style web pages.

      --
      Non-Linux Penguins ?
    7. Re:HTML5 is the wrong path by hixie · · Score: 1

      alt="" is required in almost all cases, but there are indeed some specific cases where it can be omitted (basically for sites like flickr who have no idea what the images are).

      See the part of the spec for more detail:

            http://www.whatwg.org/specs/web-apps/current-work/multipage/section-embedded0.html#the-img

    8. Re:HTML5 is the wrong path by hankwang · · Score: 4, Insightful

      Essentially what's happened with HTML 5 is we've got a language that caters for those incapable of working with a well structured language, on one hand this is great because more people can publish to the web, on the other it's awful as it basically fucks up the web further.

      As far as I understand, HTML 5 specifies exactly how a user agent should deal with formally incorrect code. I have never understood some people's obsession with XHTML, where a compliant browser is supposed to display an error message. With Opera, I encounter "XHTML" pages every now and then that do not display at all because they were dynamically generated from a database and there is a single illegal character in there or a forgotten close tag in a string coming from a database. How is that supposed to help anyone that every scripted page needs to be tested against every possible input condition? It could have been made optional in the user-agent to display a warning for web developers, but no, the spec requires that the browser justs bails out.

      And xhtml also sucks for hand-coded pages since it is full of redundant closing tags, for things like <br>, <tr>, <td>, <li, and so on. It's only more typing and more obfuscating syntactic sugar. There are millions of people who create web content, and only a handful browsers. To me it is obvious that it is a waste of manpower to require of millions of people to learn the exact strict xhtml rules rather than make the browsers more flexible with non-conformant input, in a well-defined cross-browser portable manner. HTML 5 will add new useful features. XHTML adds nothing that wasn't already possible in HTML 4.01-strict (the version without font/frameset/bgcolor/etc. stuff).

      [with xhtml] small handheld devices could finally display compliant sites in a way that best fit the screen.

      I think you are talking about spacer GIFs and table markup. As far as I know, you can still abuse tables for page layout in XHTML. Moreover, to make a page that is really portable between 1024 pixel monitors and devices with a 150 pixel-wide screen requires much more than just xhtml/css; both the CSS and the page structure need to be carefully designed to be portable, in a way that is not enforced by the xhtml spec.

    9. Re:HTML5 is the wrong path by hixie · · Score: 1

      Yeah, that might well be why most authors don't care about XHTML. But it would also be a reason for the spec to not drop text/html yet either.

      Personally, though, I wouldn't be surprised if most Web authors would prefer to keep using text/html even when faced with the realistic choice of using XML. XML is far more verbose, far more brittle (it requires showing error messages in the face of errors, and more things are considered errors in the first place with XML), and now that we have defined parsing for text/html, only really has one advantage, namely mixing in other vocabularies. We might even introduce that to text/html, if someone can work out a good way to do it.

    10. Re:HTML5 is the wrong path by DanJ_UK · · Score: 1

      XHTML never validates?

      --
      - Dan
    11. Re:HTML5 is the wrong path by Anonymous Coward · · Score: 1, Interesting

      I'd rather work on a spec that is considered drivel but that everyone ends up using, than work on a spec that is theoretically perfect but which makes zero impact on the world at large.

      If browsers support both specs, why not follow the superior one?

    12. Re:HTML5 is the wrong path by Jesus_666 · · Score: 1

      Why should anyone use XHTML when IE still the majority browser - will treat it as regular HTML anyway? If you want to avoid weird bugs that arise from one browser being in XML mode and one being in HTML mode you write everything as HTML from the start.

      XHTML is kind of nice, but Microsoft has rendered it irrelevant by ignoring it. So we use HTML 5, which maybe has a better chance of supplanting HTML 4.01.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    13. Re:HTML5 is the wrong path by hixie · · Score: 2, Informative

      They don't (IE doesn't do XHTML), and I'm also not convinced that XHTML is necessarily the superior one.

    14. Re:HTML5 is the wrong path by Xest · · Score: 0, Troll

      "And xhtml also sucks for hand-coded pages since it is full of redundant closing tags, for things like
      , , , li, and so on. It's only more typing and more obfuscating syntactic sugar."

      But that's exactly the point, you're suggesting the browser should simply guess where to end blocks, that breeds ambiguity when there's no set way to decide where a specific block should end, browsers simply have to make a best guess and when different browsers guess differently then well, you get fucked up pages on some browsers.

      I'm not really sure how explicity declaring the end of a block in any way obfuscates the code, it makes it much clearer as you can see rather easily where a specific block ends. Of course if you correctly indent your tags then matching up start and end tags is plenty easy enough.

      "To me it is obvious that it is a waste of manpower to require of millions of people to learn the exact strict xhtml rules rather than make the browsers more flexible with non-conformant input, in a well-defined cross-browser portable manner."

      But that's an impossible task without a strict ruleset, if there's no set way to do things then how can each browser vendor possibly know how they should be implementing things? I don't see learning the exact strict rules as that big a deal as they're pretty simple and certainly if you understand CSS, there's absolutely no reason you wouldn't be able to understand XHTML's strict syntax, the very fact it has less tags that are redundant with CSS (i.e. underline, bold etc.) means if anything it's easier than things like HTML5 where you seemingly have to find a specific tag for many things such articles and video but not quite everything so you still have to mangle CSS in as well, it leads to your presentation code being horribly mangled in with your content.

      "HTML 5 will add new useful features. XHTML adds nothing that wasn't already possible in HTML 4.01-strict"

      You mean apart from the very fact that it's eXtensible without any real limitations? I'd say that's a pretty big bonus. Currently HTML 5 defines lots of new things such as video and sound, but what happens if something new comes along, like 3D stuff or something related to touch computing for example? Do we have to wait until they ratify a new HTML spec like HTML 6 or HTML 5.1? With XHTML the industry can bring forth it's own solution an awful lot quicker than any HTML standards comittee will ever be able to.

      "I think you are talking about spacer GIFs and table markup. As far as I know, you can still abuse tables for page layout in XHTML. Moreover, to make a page that is really portable between 1024 pixel monitors and devices with a 150 pixel-wide screen requires much more than just xhtml/css; both the CSS and the page structure need to be carefully designed to be portable, in a way that is not enforced by the xhtml spec."

      No, that's not the case, the whole point of HTML is you have the loose structure and the content defined in the XHTML with the presentation defined in the CSS, with a handheld device you may simply ignore the CSS or apply your own to present it in a format best suited to your device. With HTML 5 you have presentation embedded inside the HTML itself and so you have to either ignore specific tags which can be troublesome if matching end tags aren't included (see my first point in this post), it is more resource intensive and it makes it harder to apply a device specific presentation layer (stylesheet) if other presentation is already declared in the body of the document.

      It goes further than personal home pages too, HTML 5 web applications are going to be an absolute nightmare to maintain for large businesses if they end up finding they're pretty much forced to adopt it. If you have a content management system and you have a web team responsible for ensuring a corporate standard for the site is met in terms of presentation and layout then the last thing you want is for your employees to be able to randomly change font settings and so forth by including inline tags - you may as well let them free on your stylesheets!

    15. Re:HTML5 is the wrong path by hixie · · Score: 1

      In HTML5 there is no ambiguity even in the face of very invalid content, since the HTML5 spec very strictly defines how you are to parse any random bytestream.

      But even in HTML4, which didn't define error handling, omitting optional end tags didn't make the document ambiguous. HTML4 defined (through SGML) how optional end tags were to be processed.

      Anyway, HTML5 doesn't take a position on this XML vs HTML issue -- it defines both an XML syntax and a text/html syntax, and lets the author pick which he prefers.

      I don't understand what you are talking about with the last three paragraphs of your document. HTML5 goes to quite extreme lengths to separate semantics and style.

    16. Re:HTML5 is the wrong path by mikael_j · · Score: 1
      And XHTML never validates, period.

      Practically every page I've created that uses XHTML validates just fine except for a warning about the MIME type being wrong (I use text/html across the board since IE doesn't support application/xhtml+xml). I think you just need to learn how to write XHTML, or would you say C was a crappy language if 'printf("Hello, World!"";' didn't compile?

      /Mikael

      --
      Greylisting is to SMTP as NAT is to IPv4
    17. Re:HTML5 is the wrong path by Dracos · · Score: 2, Informative

      No version of IE supports XHTML's correct mime type. XHTML "failed" not because people didn't want to use it, or didn't understand it, but because the majority browser didn't support it. So XHTML is served with the mime type IE does understand, and this is a practical, if far from ideal, compromise. The problem lies with the browser(s), not the users or developers.

      I'd rather have a spec that is perfect and correctly implemented than a perverted one that still won't be correctly implemented.

    18. Re:HTML5 is the wrong path by Xest · · Score: 1

      Why prolong a broken web when you could just figure out what the best way is to get people using the perfect spec?

      Large parts of the web were developed by amateur developers using easily accessible and easy to use but broken WYSIWYG editors like Frontpage. Nowadays people seem to use prepackaged stuff like the various web editors hosting packages provide but again they're providing broken HTML, HTML 5 wont change this.

      The best thing that can happen is that there is released a straightforward WYSIWYG editor for fully compliant XHTML - it's a tall order for sure but it's a worthwhile endeavour because it keeps development in the hands of the very people that made the web without also breaking it at the same time. The key is getting a strong spec like XHTML in the hands of amateurs, not leaving them with tools that provide broken, non-standards compliant markup - the same tools they'll use even when HTML 5 is out.

      If the amount of media attention that HTML 5 has gained thus far had instead been spent on letting people know HTML 4 is being phased out and XHTML is the way forward then it'd be much better for the web as a whole.

    19. Re:HTML5 is the wrong path by Xest · · Score: 1, Interesting

      How is the allowance of tables amongst other things an "extreme length" when it comes to separation of semantics and style?

    20. Re:HTML5 is the wrong path by Xest · · Score: 1

      I realise that people have many options when it comes to HTML 5 and believe I'll take the most solid, unambiguous, accessible and scalable option I can if I ever end up writing HTML 5 markup but that's not what bothers me, what bothers me is other people having choices and not understanding the consequences of their choices such that their page doesn't work properly in my browser so that as I've mentioned before, we continue to suffer a broken web.

      What is being done to discourage or ensure that the average Joes out there write markup that doesn't mangle presentation and content together potentially causing problems?

      You seem to be putting a lot of faith in the ability of companies producing browsers to solve a lot of the problems for you but when they have failed thus far to produce browsers that comply with simpler, less ambiguous and more straightforward specs to this point what makes you think they'll be able to support the potentially more problematic HTML 5 spec?

    21. Re:HTML5 is the wrong path by SQL+Error · · Score: 1

      I couldn't disagree more.

      I just want my web page to work. I don't give a damn about which standard I'm following, as long as it works. Not XML compliant? So? It's not XML, it's HTML.

      As a web framework developer I think HTML 5 is the best thing since sliced bread. It brings the HTML spec into line with what people want to do. In fact, I'd argue very strongly for the retention of <u> and <s>/<strike>, particularly the latter, which has clear semantic value.

      XHTML & CSS have been largely a disaster. They failed to properly separate content from design, failed to provide semantic markup, failed to provide or promote browser compatibility, failed to provide for multimedia content. (I'm not saying I want to give up CSS for styling, but for layout it's terrible.) Yes, you can do (whatever) with XHTML and CSS; I know, I've done it. But the fact that it's not actually impossible to get stuff done in no way makes these standards good, or even acceptable.

      HTML 5 all the way!

    22. Re:HTML5 is the wrong path by hixie · · Score: 1

      HTML5 allows authors to use both XHTML and HTML.

      Evidence I've seen suggests that actually hand-authoring is still very common.

      Regarding editors, I've yet to see a WYSIWYG editor that creates conforming markup that doesn't abuse the semantics of elements. I'd love to see someone find a way to do this, but until someone does, we can't design our spec on the assumption that it will happen.

      Regarding your last point: I don't control the media. :-) I would imagine that the media would find their audience less receptive to being told to use XHTML than they would to being told they can keep using HTML and that they are now being given even more toys.

    23. Re:HTML5 is the wrong path by hixie · · Score: 1

      I'd rather have a spec that is perfect and correctly implemented than one that is perverted and correctly implemented, but I don't see how to get there from here.

      Could you suggest some things that you think are perverted that you think we should change to be more perfect?

    24. Re:HTML5 is the wrong path by hankwang · · Score: 1

      I'm not really sure how explicity declaring the end of a block in any way obfuscates the code,

      When I write a webpage, I'm mainly dealing with the human-readible text. I can deal with a couple of tags here and there, but as the ratio between what's between < and > versus the actual content increases, it gets more and more cumbersome, whether it's redundant closing tags or font/color tags.

      You mean apart from the very fact that [xhtml] is eXtensible without any real limitations?

      Hmm, there you have a point. I was mostly thinking of XHTML 1.1 without realizing that XHTML 2 is supposed to offer these features.

      It goes further than personal home pages too, HTML 5 web applications are going to be an absolute nightmare to maintain for large businesses if they end up finding they're pretty much forced to adopt it. If you have a content management system and you have a web team responsible for ensuring a corporate standard for the site is met in terms of presentation and layout then the last thing you want is for your employees to be able to randomly change font settings and so forth by including inline tags

      I fail to see why they would be "forced" to adopt it. HTML 4, which is what the web apps use now, will be supported basically forever, and the disadvantages of HTML 5 you mention apply equally to HTML 4. The few websites with a CMS that really output strict XHTML right now need filtering of the user input anyway to prevent borking with "XML parse error" in the browser. An CMS for HTML 5 could implement similar filters with a subset of HTML 5.

    25. Re:HTML5 is the wrong path by hixie · · Score: 3, Informative

      Well, we need tables to be able to represent tabular data. How else would you, for example, represent an invoice? Or a timetable? There are certain things for which tables make sense.

      Naturally, semantic tables should never be used for layout purposes, and that has never been allowed by any of the HTML specs.

    26. Re:HTML5 is the wrong path by hixie · · Score: 1

      We're removing a lot of the presentational stuff from HTML5, but there's nothing we can do in the spec that I can think of which would stop people from using the old stuff or using layout tables or putting elements or style="" attributes everywhere.

      As far as other things go, I'm working on the Acid tests (http://www.acidtests.org/) and others are working on new HTML5 validators, both of which might help to make Web developers' lives easier, which might help.

      Beyond that, I don't know what we can do. Suggestions welcome.

    27. Re:HTML5 is the wrong path by Anonymous Coward · · Score: 0

      and now that we have defined parsing for text/html, only really has one advantage, namely mixing in other vocabularies.

      You forgot easier/faster parsing and a multitude of parsers that are already implemented properly. Being able to parse the document more simply means faster browsers, and user experience does matter.

      IDEs for xhtml are also easier to write accordingly. The extra verbosity doesn't matter if you're not coding it by hand, and really, <br /> is not much more verbose than <br>

      I suspect that the lack of adoption of xhtml is due to Internet Explorer not accepting the content type as valid, and Microsoft would adopt it in IE 8 if the demand stayed high.

    28. Re:HTML5 is the wrong path by Anonymous Coward · · Score: 0

      It brings back some (but not all: <i> and <b>, but not <u>) presentational tags

      WTF do you mean "brings back"? <b> and <i> exist in XHTML 1.1
    29. Re:HTML5 is the wrong path by bcrowell · · Score: 1

      Anyway, HTML5 doesn't take a position on this XML vs HTML issue -- it defines both an XML syntax and a text/html syntax, and lets the author pick which he prefers.
      What does this mean when it comes to inline MathML? The only reason I care about xhtml is that it's currently the only sane, standards-compliant way to do inline MathML.

    30. Re:HTML5 is the wrong path by hixie · · Score: 1

      Disclaimer: I've been using MathML+XHTML since the late 90s.

      Math is a hard issue for various reasons. MathML in particular has two variants, one for encoding the semantics of the maths (equivalent to HTML's elements like <p>, <em>, etc), and one for encoding the presentation (similar to, though not quite as bad as, <font> tags and style="" attributes). Unfortunately, there's no really good way to go from semantic MathML to a rendering, and the browser that supports MathML (Firefox) only does presentational MathML.

      Another problem is that there is very little desire in the browser space for implementing MathML. I don't know of any vendor other than Mozilla that has any desire to implement MathML, and even in Mozilla, MathML support has always been a second-class citizen that runs the risk of being cut out at a moment's notice.

      MathML also has the problem that it is very verbose. Writing it is painful, and even if you write it with an equation editor, maintaining it later is annoying.

      As far as HTML5 goes, we've been looking into how to address mathematics. It's not clear how to proceed. One option is to define how MathML can be written in text/html, but then do we define content MathML or presentational MathML? Another option is to define a new vocabulary that maps to MathML using certain defined rules, but again, which variant to we use? We could just have a generic namespacing mechanism for text/html, but that introduces all kinds of really hard problems and is not yet a solve problem. None of these suggestions solve the problem of browser vendors not wanting to support MathML, either.

      If you want to take part in these discussions, please feel free to do so. See http://whatwg.org/mailing-list#specs for the link to join the WHATWG list, and http://blog.whatwg.org/w3c-restarts-html-effort for the link to join the W3C list. We also have IRC channels, see http://wiki.whatwg.org/wiki/IRC for details.

    31. Re:HTML5 is the wrong path by Anonymous Coward · · Score: 0

      In that case, for disabled people, isn't an empty @alt attribute better than the lack of an alt attribute. Eg, imagine if you're a blind user and you come to a page on Flickr due to searching for some content that is in the comments thread below the photo -- wouldn't it be better that they are not read the @src attribute? Why is the lack of an alt attribute preferable to alt=""? I understand that they are different semantics, but considering that screen-readers read out @src when @alt isn't found then it seems to be a strange choice. Is this about helping user-agents and not badgering users for info they don't understand? If so, a default alt="" would still work. Thanks,

    32. Re:HTML5 is the wrong path by hixie · · Score: 1

      alt="" (with the empty string) means that the image is decorative, and should be ignored altogether. However, if you're on a page where the image is the main item of interest, it would be silly to just ignore the image altogether.

      Certainly it's possible that screen readers should have better behaviour than just to read out the filename if the alt="" is missing.

    33. Re:HTML5 is the wrong path by hixie · · Score: 2, Informative

      HTML5 has a defined parsing model and is not actually any harder or slower to parse than XML. In fact, I have heard implementors from several browser vendors say that HTML5's parser spec is easier to implement than XML, and that there should be no performance difference.

      There are also a growing number of HTML5 parsers out there, including some for Python, Ruby, and Java, with more being written. The spec makes it actually really brain-dead easy to implement an HTML5 parser that is compatible with Web content, and a big test suite has developed around it which makes tracking down bugs even easier.

      Regarding <br/> vs <br>, HTML5 allows both in text/html (though the / has no effect, it's just ignored).

      I've put XHTML tests into Acid3, so hopefully that will convince Microsoft to get with the programme and support it. We'll see.

    34. Re:HTML5 is the wrong path by Anonymous Coward · · Score: 0

      Ah, so by leaving it out you're declaring it important, but I guess I don't understand how that's a useful distinction. I guess that it might be worth saying that screen-readers shouldn't read out @src, because being read out this doesn't sound like fun: http://farm2.static.flickr.com/1232/1084301624_0e59aaa2c7_o.jpg

    35. Re:HTML5 is the wrong path by hixie · · Score: 1

      The spec says "non-visual user agents should apply image analysis heuristics to help the user make sense of the image". But yeah, maybe we could do more.

    36. Re:HTML5 is the wrong path by Xest · · Score: 1

      Would it not have been better to build on top of the more minimal XHTML spec and extend it to support the new features? Rather than end up with this situation where you have tags that really do need to be deprecated but can't be?

    37. Re:HTML5 is the wrong path by Anonymous Coward · · Score: 0

      Yeah, I mean if it doesn't say that non-visual user agents shouldn't base decisions on the @src then perhaps it could.

    38. Re:HTML5 is the wrong path by hixie · · Score: 1

      Actually, technically, we started from a blank slate, and only added the features we thought we should add. I'm not sure what you mean by "tags that really do need to be deprecated but can't be". We haven't just deprecated things like , we've obsoleted them altogether. They don't appear in the HTML5 language, deprecated or otherwise.

      XHTML1 Strict and HTML4 Strict are exactly the same language, by the way; they just use a different syntax. Neither is "more minimal" than the other.

    39. Re:HTML5 is the wrong path by hixie · · Score: 1

      The problem is that we don't want to disallow that kind of heuristic -- maybe there are certain well-known images or filename styles that could have specific behaviour. It's a tough area to give good rules for.

    40. Re:HTML5 is the wrong path by Anonymous Coward · · Score: 0

      You can blame IE's inability to understand the application/xhtml+xml MIME type for that. Most of the businesses I know are aiming for XHTML.

    41. Re:HTML5 is the wrong path by DiLLeMaN · · Score: 0

      Having the server give back the right mime type and then having your browser choke because of some XML-error that is caused by something out of your control (user input in a CMS, for example) isn't exactly my idea of fun, either.

      Unless I've missed something and there's an easy way around this...

      --
      /var/run/twitter.sock is a twitter socket puppet.
    42. Re:HTML5 is the wrong path by Xest · · Score: 1

      I appreciate your responses, you've certainly covered a lot of misconceptions I had regarding HTML 5 so far and whilst I still have some concerns about it. I feel a little less gloomy about the prospect of it becoming mainstream now but there still do seem to be a fair few issues, most notably related to accessibility more than anything.

      I do have some questions regarding the choice of some content and media blocks however, why do we have blocks for things such as asides, quotes and code but not for things such as tags (I realise we have tag for individual tags, but not for blocks of tags) and also things such as related links areas and so forth? What if these become more prominent than other areas such as footers? To me it's that the spec seems to specific in some areas, that it's simply not generic enough. We have divs to divide content and we can define what that specific div is for ourselves, do we really want to be defining some content blocks with specific tags whilst others are defined less explicitly in a more generic div?

    43. Re:HTML5 is the wrong path by hixie · · Score: 1

      Mostly the decision of what new semantic elements to include or not was based on seeing what authors were missing the most. For instance we looked at the most common class="" attribute values.

      See e.g. http://code.google.com/webstats/2005-12/classes.html

    44. Re:HTML5 is the wrong path by tepples · · Score: 1

      Sending with the XHTML mime type is allowed in HTML4 in the compatibility section But look at all the gyrations you have to use to properly hide script and style if you're sending the tag soup that is "compatible" XHTML.
    45. Re:HTML5 is the wrong path by Xest · · Score: 1

      But how resilient to changing trends is the spec? On one hand if these tags are set in stone they risk eventually becoming obsolete, if they're more dynamic it's obviously quite a nightmare to support and I'm not sure it'd then even really be classed as a standard so presumably the first option is being taken?

      Also in terms of other accessibility issues, is anything being done to improve that for multimedia content? Is there any support for the video or audio tag having an alt attribute to point to timestamped subtitle plain text files for example?

    46. Re:HTML5 is the wrong path by hixie · · Score: 1

      The meaning and implementation requirements of all features in the spec are well-defined (at least, that's the intent). Making them resilient to changing trends, making them abstract enough to be useful over long periods of time, making them concrete enough to be usable -- that's part of what makes writing specs an art. Hopefully we're doing a good job, but only time will tell. Certainly it's possible to get it wrong.

      Regarding movie and audio content, accessibility concerns should really be addressed in the formats themselves, otherwise the accessibility augmentations get lost when the media resource is used in other, non-HTML, contexts (e.g. saved to disk). Most modern codecs support extensive accessibility features, certainly including things like subtitles.

    47. Re:HTML5 is the wrong path by BenoitRen · · Score: 1

      slowly but surely XHTML compliance was bringing together browsers and sites

      What are you blathering about? 95% of XHTML sites out there:

      • Use the XHTML 1.0 Transitional DOCTYPE
      • Are served as text/html
      • Would break upon being served with the correct MIME type, which is application/xhtml+xml

      developing Standards compliant code for the latest generation of browsers is much less of a headache than it's ever been

      Which has zilch to do with XHTML and everything to do with better CSS support.

      less presentation tags

      Only if you bothered to use Strict, and few people did.

      The most important concept with XHTML was separation of presentation from content coupled with a strict syntax

      Really, HTML 4.01 was about the same thing, sans the strict syntax, which is really just another way of saying "show an unhelpful error dialog to users of a website if some syntax is wrong".

      Additionally, many XHTML hippies forget the following:

      • A well-formed XHTML document is not necessarily valid
      • A valid XHTML document is not necessarily semantically rich
  32. Still sloppy, but a least it works in all browsers by bunratty · · Score: 1

    That would cause older browsers to use quirks mode, but HTML 5 compliant browsers to use standards mode. causes both older and newer browsers to use standards mode, for an easy transition to HTML 5.

    --
    What a fool believes, he sees, no wise man has the power to reason away.
  33. No more style attribute?!?!?! by TrebleJunkie · · Score: 3, Interesting

    No more style attributes on any element.

    *blink*

    Idiocy. Abso-fucking-lute idiocy.

    This by itself nearly renders in-browser dhtml applications (ajax or no) non-complaint and broken.

    Somebody really needs to wrench the HTML spec out of the hands of the W3C and place it into the hands of somebody who spends a little time on other side of the ivory towers.

    --

    Ed R.Zahurak

    You know, oblivion keeps looking better every day.

    1. Re:No more style attribute?!?!?! by Kram_Gunderson · · Score: 1

      No more style attributes on any element. *blink* Idiocy. Abso-fucking-lute idiocy. This by itself nearly renders in-browser dhtml applications (ajax or no) non-complaint and broken.

      Without RTFA to know exactly what you're referring to, I assume the solution would be to use something like:

      document.getElementById('id').className = 'style1';

      instead of

      document.getElementById('id').style.color = '#ffffff';
      --
      If you're dumb, surround yourself with smart people. If you're smart, surround yourself with smart people who disagree
    2. Re:No more style attribute?!?!?! by TrebleJunkie · · Score: 1

      Specifying class is _not_ an acceptable substitute for specifying a unique style to individual elements.

      If I have 100 separate elements that all require separate styling, I now have to create a CSS that defines them all _and_ every possible style state they may happen to be in during the life of the application. Frankly, that's stupid.

      For instance, if I have a single element that could be some combination of red or green, bold or italic, floated left or floated right, and 12 or 22 point text, I would have to draft 2^4 different styles that this element could be. If I want to do a simple dhtml color fade from black to white across all 256 greyscale shades, I'd need to draft 2^8 different styles to accomplish it. If I want this fade to happen in conjunction with the element being bold or italic, floated left or floated right, that's 2^10 styles I need to draft. Now multiply that by all the unique elements I may have in my application. Now imaging if I'm creating these elements on the fly dynamically. One, your style-sheet would be absolutely nuts and probably be about half a megabyte in size. Yeah, that's efficient.

      Fuck. Ing. Rid. I. Cul. Ous.

      --

      Ed R.Zahurak

      You know, oblivion keeps looking better every day.

    3. Re:No more style attribute?!?!?! by hankwang · · Score: 1

      For instance, if I have a single element that could be some combination of red or green, bold or italic, floated left or floated right, and 12 or 22 point text, I would have to draft 2^4 different styles that this element could be.

      You can actually combine classes:
      <div class="bigfont leftfloat italic">blah</div>

      I agree though that html coding would get hard if an occasional style attribute is not allowed anymore. But the spec says:[ref]: We probably need to move this [style] attribute to more elements, maybe even all of them, though if we do that we really should find a way to strongly discourage its use (and the use of its DOM attribute) for non-WYSIWYG authors.

    4. Re:No more style attribute?!?!?! by TheRaven64 · · Score: 1

      Specifying class is _not_ an acceptable substitute for specifying a unique style to individual elements. You do know you can refer to individual elements by their id with a stylesheet, don't you?
      --
      I am TheRaven on Soylent News
    5. Re:No more style attribute?!?!?! by TrebleJunkie · · Score: 1

      Yes, I do. But being able to do so still doesn't do anyone a bit of good when developing applications in which the style of elements needs to change often, and may have different initial states upon a page load. Unless you want to resend the style sheet with every request, too, which kind of defeats the supposedly bandwidth-saving utility of CSS in the first place.

      --

      Ed R.Zahurak

      You know, oblivion keeps looking better every day.

  34. Uploading Files by Blobule · · Score: 2, Insightful

    I didn't see anything new for uploading files. It would be great if improved support for uploads could be considered. Currently uploading 10 files requires 10 file widgets and performing the browse/select process for each one. It would be nice if the kind of interface found on sites like facebook for uploading multiple images/files could be achieved without the need for Flash or Java.

  35. Re:Not again by hixie · · Score: 5, Informative

    Most of HTML5 was actually done outside of the W3C.

    However, to address your earlier point, one of the big things we're doing with HTML5 is we're going and specifying the bits that all the other specs avoided, like 'window', like 'setTimeout', like how to parse HTML in the face of errors, and so on, and saying exactly how they should work, based on how browsers do them now, so that we can get the browsers to converge on one interoperable set of behaviours.

    I'm also working on the Acid tests, e.g. Acid2 and Acid3, to foster interoperability on the older specs. It's working pretty well so far.

    http://ln.hixie.ch/
    http://www.webstandards.org/action/acid3

    So... HTML5 should actually help bring the browsers closer on the bits that weren't specified before, and the Acid tests are directly intended to do that with the bits that _were_ specified before. If you want to help out, please do -- see the links above for how to help with Acid3, and the links below for how to help with HTML5:

    http://blog.whatwg.org/w3c-restarts-html-effort

  36. Fix : text, sizing, rendering by victim · · Score: 3, Insightful
    Having used a bit, I say fix it now!
    1. They have still left text out of the <canvas> tag. This is near insanity. The web is littered with people working around this to get labels onto graphs, current solutions are:
      • overlay a transparent div and absolute position some text elements. Works, but no rotating and is fiddly to get the sizing correct.
      • Take a truetype font, render an image of all the glyphs into a grid and know the coordinates of each ones bounding box then paste them in ransom note style to make your text. Most people are used to subpixel rendering and this won't do it. Looks a little bad for small text, ok for large. Big downloads.
      • Be a plotter. Use the Hershey fonts from NIST back in the good old days of pen plotters. (google://hershey&canvas&element). Small, fast, only one font face, antialiasing looks a little blurrier than modern typography at small sizes.

      Hey working group! Use CSS to pick a font. Give a method to get the various metrics of a layed out string and one to draw it. That will cover most uses.

    2. Lack of dynamic resizing: The width and height is specified in the HTML. It would be nice for this to be dynamic so you could use a canvas for DIV backgrounds, like the gradients behind the slashdot article titles. (Yes, obviously those gradients take fewer bytes as images, but you could do something other than repeat a tiny graphic. Use your imagination.)
    3. Address rendering: The canvas uses coordinate transformations to nicely separate the display coordinates from the drawing coordinates. This is good, but if the browser antialiases then you get radically different results for lines that fall on the pixels and ones that fall in the cracks. There should be language in the spec that leads implementors to all make the same decisions about antialiasing so that authors don't have to try to guess which way a client is going to render.
  37. Great, No Inline Style by WebmasterNeal · · Score: 1

    Sadly they got rid of the inline style atribute i.e. span style="color: blue;" - http://www.w3.org/TR/2008/WD-html5-diff-20080122/#absent-attributes

    --
    "During My Service In The United States Congress, I Took The Initiative In Creating The Internet." -Al Gore
  38. Well done! by Anonymous Coward · · Score: 0

    No really, what a waste of time

    http://www.w3.org/TR/2008/WD-html5-20080122/#the-irrelevant

    Henri Sivonen and his elitist friends really have outdone themselves.

    Idiots, go back to 1999....

    1. Re:Well done! by hixie · · Score: 1

      What's wrong with that attribute?

    2. Re:Well done! by Anonymous Coward · · Score: 0

      An attribute which marks something as something which should not render, but should not be used specifically to not render something.

      It's kinda like saying you can publish the entire web in one html page and just turn on "irrelevant" on the bits you don't want? But please don't you aren't allowed to use it like that?!?!

      Now see a problem with the tag? how about "don't put fucking irrelevant content in your pages"

      or is this just to support all that backwards compatibility nonsense that you shouldn't have, but because browser vendors want - you do
      (oh wait, except for IE, who have finally realised it's the way forward...)

    3. Re:Well done! by hixie · · Score: 1

      It's aimed at Web Applications that, e.g., might want to hide a bunch of content until you have logged in, because that content is irrelevant until you have logged in.

  39. I'm Excited by DigitalisAkujin · · Score: 1

    As someone who works in a LAMP environment on the back end and a HTML, CSS, and JavaScript (Prototype.js) front end on a daily basis I have to say that I feel pretty confident in the fact that with the current technological tools at my disposal, I can build just about any page with the right people.

    However,
    HTML 5 makes me excited purely on the basis that the new elements being introduced will speed up and increase my productivity to put out more and more high quality and interactive sites.

    I can tell you this much:
    HTML 5 is a giant leap.
    HTML 5 won't be adopted over night but with it's high affinity towards binary multimedia content embedding it will certainly be pushed quicker then the previous HTML version ever were. There will be pressure on all the vendors to release a good browser for it as quickly as possible and as bug free as possible. This might force Microsoft to actually design a good browser since this would give them a fresh chance to do so as well. Furthermore, market forces are tending to push them towards that same goal so they probably will try.

    For users this is amazing news because CSS 3 and JavaScript 2 are gonna be part of the same generation of web development. The possibilities for applications suddenly explode and the ways you can use this content will drive development.

    Don't hate, celebrate. Good day for the Internet! :-D

  40. Two words: syntax highlighting by KingSkippus · · Score: 1

    XML's syntax sucks. It's annoyingly verbose,

    ...and delightfully extensible and powerful...

    and annoyingly lowercase (lowercase tags suck because they are harder to tell from normal text).

    ...which is why I used one of the many open source and/or freeware text editors out there that support syntax highlighting. I can honestly say that I've never had a problem telling my tags and attributes from my content, and even when I'm not using case-sensitive markup, I never use asinine CAPITAL LETTERS to denote such things. I let my computer do that for me.

    Sometimes choice is a good thing, such as when you decide which editor to use or which markup language you support. Sometimes though, it is a badge thing, such as when it leads to inconsistent and even ambiguous coding standards. Count me squarely in the lower-case tags camp.

    1. Re:Two words: syntax highlighting by bvimo · · Score: 1

      Which editor do you use?

      --
      In either case, here at Microsoft, we feel standards are important. And we have fun, too. Doug Mahugh, Microsoft
    2. Re:Two words: syntax highlighting by KingSkippus · · Score: 1

      Right now, Notepad++ is my editor of choice, but I've also used UltraEdit and PSPad. All of them are really good and solid.

      When you pair it up with NetDrive (an FTP filesystem mounter for Windows), you're pretty much set.

  41. Re:container/video/audio ogg/theora/vorbis sabotag by hixie · · Score: 1

    Ogg is not the only freely available codec, and it didn't fulfill the requirements of all the Web browser vendors. We are still looking into a way to resolve this, though. Everyone agrees that the solution must be royalty free.

  42. You don't seem to understand how this works by Piata · · Score: 1

    DOCTYPES tell a browser how to render content. Provided you use the HTML 4 doctype, your site will still render exactly the same as it did before. If you switch to the HTML 5 doctype, then it will read the document as HTML 5 and omit the redundant tags that have absolutely no place in HTML. It's not CSS's lack of object alignment that you're having difficulty with, it's a browsers lack of implementation of the CSS 2.1 spec. In this case it's IE which really should have been put down some time ago. If you actually use td align and text-align to position elements (you called them "boxes") in IE, you should strongly re-evaluate your occupation because no one with significant knowledge on the subject builds sites like that anymore. If you have similar issues with other browsers than I strongly suggest you read up on quirks mode and start using a doctype. Also check out CSS Zen Garden so you can see what CSS is really capable of.

  43. Good point by cababunga · · Score: 1

    XSLT covers all the usages for client-side includes I can think of; it's actually surprisingly well supported- even IE6 supports much of it.
    I'm surprised you don't see much more of it. It's true that XSLT processing is well implemented in FF and IE (I haven't tried others) and almost nobody uses this feature. However I don't think many people would go into trouble of learning XSLT just to be able to compose pieces of a page on the client side.
  44. do one thing and do it well? by bonkeroo+buzzeye · · Score: 1

    Web development is not my forte, so excuse any ignorance, but as a user of the web, I have to be interested and curious. Didn't we sort of stumble into an html that eventually became a mishmash of structural and presentational elements and then decide that this was a mistake and split it out into a(n ideally) purely structural html4 and have css for the presentation? But isn't html5 a mishmash of (textual) structual elements and gui applications elements (in essence, a different, not especially textual/document sort of "presentation")?

    I mean, isn't this what javascript and whatnot is for - and javascript can be disabled. I understand there are advantages with client-side input validation and so on, but this just seems like a mess to me, and a mess that can't be turned off. Seems like html/css/$app_lang should be the model rather than this html5 with css.

    I have an old-fashioned "the web is the global library" textual/document-centric view of the web, so I'm sure I'm missing out on understanding the interactive Web 2.0 applications goodness and I'm just trying to get a handle on what's going on.

    1. Re:do one thing and do it well? by Xest · · Score: 1

      You're right, in an ideal world Javascript would be separated off again, essentially we'd have separate presentation, content and logic.

      That way slim devices for example, or accessibility tools can ignore presentation and logic that may otherwise cause problems whilst still delivering the content to users. Someone who is blind needn't care if the website has fancy Javascript effects or even the most perfect layout in the world as long as their screen reader can read the actual articles out.

      Mangling everything together is great for the MySpace teenagers who have no binds when developing their site but hopeless in achieving an accessible, scalable, maintainable web.

    2. Re:do one thing and do it well? by bonkeroo+buzzeye · · Score: 1

      Well, that's what it seemed like to me, too, but I wasn't sure if that wasn't just my angle of vision. Thanks for the reply.

  45. What about a new password element? by sd.fhasldff · · Score: 1

    My greatest wish in HTML5 is a new password element. One that uses a standard hashing-algorithm with server-supplied salt (optional local pepper could be provided) and prevents the receiving site from ever getting the password that the user actually typed in. E.g.

    Here the contents are of the above handled completely by the browser, without the possibility of the site to get access to the contents or record keystrokes (via event handlers like onChange) while in focus. The *submitted* password would then be a hash, with salt provided by the server, of the supersecretpassword.

    While not foolproof, it would help immeasurably with password security on the web. Even if no local pepper were added, anyone who gained access to the password database of the server (e.g. the owners), it would force a brute-force attack on the password.

    No longer would anyone with access to a password database from a random web server (e.g. forum) be able to access pretty much every other site the users are registered on - because we all know that only rarely does Regular Joe use anything but his one-and-only password. This is especially bad when financial sites are included, but even if it's just gmail/yahoo/hotmail/whatever, that's still plenty bad.

    1. Re:What about a new password element? by Eivind · · Score: 1

      That would not work.

      What the browser sends to the server IS the effective password.

      If the user types 'secrit' and the browser sends hash('secrit'+'salt') to the server, then that hash effectively -is- the password.

      What will happen when the user logs in later ? What will the browser need to send to the server ? The same hash, right ? If so, you don't actually need to know what 'secrit' is, you only need to know the resulting hash and send that over....

    2. Re:What about a new password element? by sd.fhasldff · · Score: 1

      What the browser sends to the server IS the effective password. If the user types 'secrit' and the browser sends hash('secrit'+'salt') to the server, then that hash effectively -is- the password.

      I'm well aware of how this works. The advantage, as I tried to point out, is that only THAT PARTICULAR server is then compromised. So if you got hold of Regular Joe's football fantasy message board password, you would only be able to log in to that one server... and not all the others where Joe used the same username and password.

      The REUSE of passwords is the problem that is solved here.

      Referring to my initial post, only the HASH of the supersecretpassword is revealed to the site (and anyone who gets hold of the passwords from it), not the supersecretpassword itself.

      That would be a HUGE step up in security from where we are now.

    3. Re:What about a new password element? by mitch0 · · Score: 1

      Read parent post again. It's about the average user using the same (or the same with minor variation) password on a number online forums etc. With the proposed change even if one of those sites is hacked (or the owner is teh evil), they won't be able use that info on other sites the user may have an account on (with usually the same username/password).

      At least that's how I understand it.

      cheers,
      mitch

      --
      // "If human beings don't keep exercising their lips,
      // their brains start working." -- Ford Prefect
    4. Re:What about a new password element? by You're+All+Wrong · · Score: 1

      hash('secrit'+'salt') is *not* the password when the server has sent you 'NH4Cl' as the salt.

      --
      Your head of state is a corrupt weasel, I hope you're happy.
    5. Re:What about a new password element? by TheRaven64 · · Score: 1

      Why do you want to do that in HTML when HTTP already includes a number of authentication options, including digest passwords and more complex schemes?

      --
      I am TheRaven on Soylent News
    6. Re:What about a new password element? by sd.fhasldff · · Score: 1

      Why do you want to do that in HTML when HTTP already includes a number of authentication options, including digest passwords and more complex schemes?

      By that logic, why even have a password type at all?

      The answer, of course, is that everyone uses it, because it integrates well with page designs.

      You can either be stubborn and admonish everyone else from your high horse... or you can actually go about trying to make things work for people. On all the sites I've made, I'm already securing passwords. Random salt is generated for EVERY user and a hash is made of the users password + the salt. Only the hash (and unique salt) is stored, never the password.

      But considering the number of sites that allow you to get a copy of your password emailed, I can tell I'm among the few who do it this way. So instead of sticking my head in the sand (yeah, I'm mixing metaphors - wanna make something of it?!), I propose a solution that everyone can easily use.

  46. Re:Not again by mhall119 · · Score: 4, Informative

    Yes, let's roll out another new standard for no reason at all when most of the web still hasn't caught up to the last one. I read the spec, and most of the additions are to incorporate what we've all been doing, with CSS/Javascript hacks and plugins, into the spec itself.
    • Menu tag: An actual menu element provided by the render engine, no more CSS/Javascript menu libraries
    • Combo-box input: An actual combo-box form input field, no more CSS/Javascript hacks
    • Datetime input: No more javascript libraries to popup a date chooser, it comes with the browser
    • Number input: No more javascript intervention to stop you from typing "bob" into a field expecting a number.
    • Email input: Not only can it validate email format, but it could let you pull from your email client's addressbook
    • URL input: Again, not only validation, but could let you pull from your browser's favorites, history, etc
    • Input validation: No more onSubmit javascript checks to make sure your required fields have data in them.
    • All Inputs have min/max and pattern (presumably regex) restraints

    (BTW, all of the above should work even when Javascript is disabled, so you NoScript users get security _AND_ functionality)

    • Datagrid: An actual data grid widget, no more hacking Tables to provide the same functionality
    • Audio/Video tags: Just like <img/> tags, only for other media, what a concept!
    --
    http://www.mhall119.com
  47. Re:Not again by Anonymous Coward · · Score: 0

    For the site that do not try to be like an application, html is fine.

    for the rest that do try to be like an application, they use css for presentation.

    If html says to use css for its markup, then why do we even have html any more?

  48. Re:Not again by mhall119 · · Score: 1

    Are you a part of the group working on the HTML5 spec? If so, I would like to make a suggestion. There are several new elements that will replace css/javascript hacks and libraries, like Menu and the new input types, but I was disappointed to not have any kind of "popup" element. I'm talking about more than just a floating div, an element with a title bar and close button (these could be optional I guess), and is movable and resizable.

    There are lots of hacks out there that do this, but it seems like it could be something better done by the rendering engine directly, instead of having javascript libraries keeping z-index stack orders and capturing onmousemove events, which often cause problems like selecting portions of a page while "dragging" a popup.

    Was there any discussion of adding such an element into the new spec?

    --
    http://www.mhall119.com
  49. Re:Not again by Jesus_666 · · Score: 1

    new HTML revisions are just more leavings of white tower masturbation.
    Just like the concept of a browser failing bad syntax. Sure, it's technologically possible, but almost nobody is going to use that language - why should they? Plain HTML makes development much easier...
    --
    USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
  50. Re:Not again by hixie · · Score: 2, Informative

    (I'm the HTML5 spec's editor.)

    What you describe seems more like a stylistic thing than a semantic thing (e.g. it wouldn't really make much sense in a speech browser, as far as I can tell). I recommend suggesting it to the CSS working group.

  51. Yes... by Anonymous Coward · · Score: 0

    I think I first read about that theory six years ago at joelonsoftware.

  52. Re:Not again by MightyYar · · Score: 1

    The bulk of html code is styling info, which can be tucked into a common site-wide CSS file and then cached. Moving to HTML + CSS can save you a lot of bandwidth.

    --
    W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
  53. The standards are just not very good by groomed · · Score: 2, Interesting
    Every discussion around HTML and related W3C standards always seems to end up in a blamefest. Microsoft is to blame for their poor standards compliance, lazy web developers are to blame for sloppy code, Al Gore is to blame for inventing the Internet.

    All of that is true. But I have come to believe that perhaps the blame lies primarily with the standards themselves. They are just not very good.

    I know this is not a popular opinion. Let me qualify it and try to explain briefly what I mean. There is of course a lot of theoretical and historical background to consider, but frankly it is a waste of time to drag all that into a Slashdot comment.

    The first problem is with HTML. HTML abstracts at the wrong level. It should be a presentation language, not a structural markup language. There is no need for HTML as a structural markup language and frankly I am baffled by the religious zeal with which some people defend this notion. As a structural markup language, HTML is very poor. Structural markup is most useful for well-defined, domain-specific applications. That is not what HTML is used for and this causes numerous problems: ill-defined rendering behavior, poor querying and indexing abilities, poor feature set, relatively slow performance, not to mention poor reusability.

    The second problem is with CSS. Although at its core a good idea, it is poorly implemented, with a pointlessly weird, C-inspired syntax. It is too feeble to express presentational structure and lacks a method to express generalized context-dependent relationships. The selector language is so baroque that it is poorly understood by authors and implementors alike. Most importantly, CSS simply does not solve many common layout and styling problems, except at the most trivial level. Efforts to address this have mostly just made CSS more complicated rather than more powerful.

    The third problem is with Javascript. The language itself is not bad, but it exists in an environment that is so primitive and crude, that often the easiest way to accomplish anything is still to just stuff precalculated strings into a node's innerHTML. The web is littered with the corpses of Javascript libraries to provide simple services like data binding, templating, input validation and widget sets. None of which build on eachother, because there are no tools to enable this kind of workflow, and most of which fail on either correctness, performance or standards-compliance.

    Why are there so many problems with these standards? Is it normal for standards to be so problematic? It is certainly true that numerous standards failed. But on the other hand, many other standards succeeded. PostScript and PDF are very successful standards that have been implemented dozens of times with minimal interoperability issues. The same goes for countless file format standards, such as GIF, PNG, JPG and ZIP, or standards such as ASCII or Unicode.

    Of course the comparison between HTML (and all related tech) and, say, GIF, is not valid. In the case of HTML there are many reasons, some socio-economic, which have brought us to the point where we are today. But despite that, I believe it is possible to identify 2 key issues with the W3C family of tech:

    1. The wrong abstraction level. The W3C people have been chasing a nebulous vision of a "semantic web" which is accessible for everyone on any kind of device. This has resulted in intentionally vague, abstract specifications. But people who have not done a lot of work building GUIs for production systems do not really understand how to abstract layout and presentation. This was a key failing in the original Java GUI toolkit called AWT (Abstract Window Toolkit).
    2. The wrong people. The HTML/CSS/Javascript/XSL standards have been developed by people who are primarily interested in information technology and theory. They have little understanding of and less experience with graphic design and application front-end development. They really do not understand what distinguishes good from bad in this area
  54. HTML5 isn't a "treadmill release" by LinuxParanoid · · Score: 1

    Well, I tend to cynicism myself at times. But as a web programmer who doesn't desire to upgrade anything, the changes from HTML 4 to HTML 5 look like a nice batch of improvements. It looks like 85+% good stuff, and there is a decent handful of things that I wish we'd had ages ago and I'm bummed I can't start using today.

    Just my two cents.

        --LP

  55. "better handled by CSS"? by themushroom · · Score: 1

    The following elements are not in HTML 5 because their effect is purely presentational and therefore better handled by CSS:

            * basefont
            * big
            * center
            * font (although it is allowed when inserted by a WYSIWYG editor due to limitations in the state of the art in user interface for these editors)
            * s
            * strike
            * tt
            * u


    I can't see good things happening if they are going to move the effects of these tags to CSS, since this would require one to have CSS on a page. Notepad coders (you know who you are) who like simple, clean, easily manageable pages get a new layer of complexity.

    1. Re:"better handled by CSS"? by Millennium · · Score: 1

      Notepad coders (you know who you are) who like simple, clean, easily manageable pages get a new layer of complexity.

      Notepad coders who don't have a clue, you mean? I prefer hand-coding myself, and CSS has made my pages far simpler, cleaner, and more easily manageable. I don't have any sympathy for people who talk hardcore but don't take the time to learn things that make their own preferred methods much easier.

  56. Re:Not again by janeil · · Score: 1

    Thanks for your feedback hixie, how refreshing to see posts from someone actually knowledgeable on the subject at hand!

    I agree with many of the posts, mainly on two points: 1) It's great that the browsers will show pretty much anything no matter how illegal the html, so who cares about a new spec? and 2) HTML5 looks like a great many changes and additions and deletions, to me anyway, and especially seems to strengthen form input fields and overall form usage. It appears to be a much larger creature than the html of the 90's. But I'm definitely behind the times, maybe all this is standard now.

    Seems like a real job to me, fwiw.

  57. Table question by visible.frylock · · Score: 1

    Maybe someone can answer a question for me. I've looked at TFAs briefly, but from my reading the answer is no.

    Q: Will this allow tables that can automagically:

    • Sort on a field (fields?)
    • Apply color groupings intelligently (rows/cols alternate colors)
    • Paginate records within a single <table> element (negating the need for reloading or AJAX)

    I ask because I've had some amount of frustration with this in the past (and coincidentally in a current project), and it would be great to have an html table be a real first class table, rather than a dumb matrix of string data. Of course I realize my idea of a first class table isn't shared by everyone, but am I really the only one who would want some of these things?

    Is the reason I don't see it here because it won't be done, or because it's supposed to be in another spec like the new xhtml or xforms (but I thought xforms is just input)?

    On the bright side, I like the fact that the <input> tag gives you more choice of data types now. IMO, things such as this that move common functions into the standard to then be implemented once in the browser only are a Good Thing.

    --
    Billy Brown rides on. Yolanda Green bypasses Gary White.
    1. Re:Table question by hixie · · Score: 1

      For interactive tables, we have in HTML5. That supports sorting.

      <datagrid> will actually also resolve your third problem, as you can provide a dynamic data source for <datagrid> which populates dynamically as the user scrolls. It's not pagination, though.

      Alternating colours can be done today in browsers that support :nth-child (part of the Selectors spec), but that's a CSS issue, not HTML.

  58. No way in hell will I use this. by Anonymous Coward · · Score: 0

    This is so typical. Programmer mentality to the extreme. So much so that is disables functionality and ease of implementation for the cause of trying to separate every inkling of logic from UI. I know it sounds great in theory but a pain in the ass in reality.

  59. How to fix HTML5 by bussdriver · · Score: 1

    I'm sure /. will cause tons of feedback; however, you should contact the working group about your concerns directly if you care about them. I have with the previous versions; although, my influence largely ended up in revisions of the wording.

    One battle I'd like to see fought:
    Using the OBJECT tag to support text/html file includes. Old browser support for it could be done using browser plug-ins for that MIME type. The intent for this (which I keep promoting with no success) is so you can develop a webpage in a frames-like fashion but have the client side combine it into a single HTML document (ideally having it extract only BODY on the includes.) The difference seems minor but it is HUGE and is how frames should have been handled in the 1st place!

    You put your images, css, javascript, etc into external files (if you have any sense) and include them why not be able to include HTML files into your pages as well? Many people use PHP, JSON, AJAX, etc. just to change a section of a page much the same way frames let you do much easier (in general.) I've seen "AJAX" frameworks implemented as if it was a replacement for frames. Frames were a failure but saved so much work and bandwidth they refuse to die. Instead of trying to kill frames each standard, it should be reborn into something sensible and consistent with HTML:

    EXTERNAL HTML file includes

    Frankly I don't care what tag... just save me the bandwidth and labor of the frame work around! (which BTW, the current solutions increase server load and are less accessible than frames.) Security is no excuse (its a laughable one at that.)

  60. very sad by wikinerd · · Score: 1

    That's just very bad: HTML5 has no place in the XHTML Web. I am not going, ever, to put HTML5 crap on any of my sites.

    1. Re:very sad by hixie · · Score: 2, Informative

      The HTML5 spec includes an XHTML variant, just like it includes a text/html variant. The spec itself is agnostic about which you should use, you can use whichever one you want.

  61. Perl development gets more difficult too like this by freaker_TuC · · Score: 1

    Great! There go those fast coding tests in Perl where you can just add a Content-type: text/html, HTML, BODY and TITLE tag to get somewhere as output.
    Now I've got to program in CSS sheets too even when I don't want them .. so in which case is this an improvement ?

    I'm sure there are more people doing the same?
    An improvement would fasten up the job, make it easier, not more ackwards to be obligated to do even more steps.

    --
    --- I am known for the ones who want to find me on the net. Is that a privacy risk or a privilege? One might wonder..
  62. Re:Not again by Jellybob · · Score: 1

    Finally - someone else who seems to be seeing some sense.

    I read through some of the document describing differences between HTML 4 & 5, and my jaw nearly hit the floor. This spec means that at some point in the future I can stop pissing about with Javascript to create basic UI elements, and actually write applications instead.

    I'm also looking forward to the video tag, which apparently will recommend ogg/theora as the default format. More open formats on the web sounds like an excellent idea, especially if it can break the stranglehold Flash seems to have on providing (poor quality) video across the web.

  63. Re:Not again by TheRaven64 · · Score: 1

    Number input: No more javascript intervention to stop you from typing "bob" into a field expecting a number I've not looked at the spec, but how is this implemented? There are lots of constraints that you want to be able to apply to an input box. Having one that accepts anything and one that accepts numbers sounds like an ugly hack. Adding a regex attribute to text input boxes, forcing the browser to only accept things that match the regex would be a lot neater. It would allow you to do things like post codes or telephone numbers with no JavaScript, for example, or tracking numbers with a particular grouping of numbers.
    --
    I am TheRaven on Soylent News
  64. Re:Not again by mhall119 · · Score: 1

    I've not looked at the spec, but how is this implemented? There are lots of constraints that you want to be able to apply to an input box. Having one that accepts anything and one that accepts numbers sounds like an ugly hack. I'm guessing that the "Number" input would most likely be implemented by a spinner type widget, though the actual implementation may be up to the browser.

    Adding a regex attribute to text input boxes, forcing the browser to only accept things that match the regex would be a lot neater. It would allow you to do things like post codes or telephone numbers with no JavaScript, for example, or tracking numbers with a particular grouping of numbers. As I mentioned, all input fields will have an optional "pattern" attribute, which I would assume lets you specify a regex pattern that the input must match in order to validate.

    --
    http://www.mhall119.com
  65. Never trust user input by Doctor+O · · Score: 1

    How is that supposed to help anyone that every scripted page needs to be tested against every possible input condition? I beg your pardon? Every single bit of user input must be inspected and thoroughly tested, always, unless you don't give a fuck about the security of your application. Never trust user input, remember?

    The way I see it: If the programmer can't even be bothered to write code that properly escapes/sanitizes stuff before returning it to the user (or any internal function or db query, FWIW), it's correct for the UA to not display the result. It may as well contain malicious code or whatnot.
    --
    Who is General Failure and why is he reading my hard disk?
    1. Re:Never trust user input by hankwang · · Score: 1

      Every single bit of user input must be inspected and thoroughly tested, always,

      The user input could be clean (i.e. not containing funny characters in itself), but instead trigger a condition in a php script that causes the script to forget a tag somewhere. For example a result set from an SQL query that in rare occasions is empty and produces a <ul></ul> without a <li> inside. Empty ULs are not allowed, so nothing at all is displayed.

    2. Re:Never trust user input by Doctor+O · · Score: 1

      For example a result set from an SQL query that in rare occasions is empty Ok, I see where you're coming from. Still bad programming in my book, because checking for empty result sets is trivial and the empty ul element will still look shitty (producing a visual gap) even in browsers which render the output.

      Yeah, I know that we're talking about a level of sophistication most people can't afford given the usual deadlines for projects, but if one has decided to output to XHTML, it's an extra mile one has to go. Even better if the *client* has decided (or has been persuaded) to output to XHTML, the extra hours can be billed. Which PHB's like.

      Either that, or don't declare your output XHTML. There isn't "a little pregnant", neither. You're standards-compliant or you aren't.

      Aren't we being magnificently scientific today?

      I'm coding for the web for 10+ years now. It sucked then, it sucks now. First it's been Microsoft's fault, then Netscape's (4.7 anyone?), then Microsoft's again. Maybe next year it will be Mozilla's. I don't care. I just want to be able to code to a standard THAT WORKS and gives me simple tools to accomplish every day's tasks.

      Hey, W3C! Usable forms would be DA KILLER! It's not as if weren't asking for them for 10+ years now.
      --
      Who is General Failure and why is he reading my hard disk?
    3. Re:Never trust user input by hankwang · · Score: 1

      if one has decided to output to XHTML, it's an extra mile one has to go. [...] . I just want to be able to code to a standard THAT WORKS

      So can you tell me what one could gain (apart from more billable hours) by using xhtml 1 rather than html 4?

    4. Re:Never trust user input by Doctor+O · · Score: 1

      You can gain the good feeling of coding to a standard that was *supposed* to have strict syntax checking and not failing at it.

      Oh, and I don't want to be proof for people who go "see how many people still use HTML4? it's good enough!", because it isn't.

      Yeah. Not everyone ticks like this, I know. But for those, there's still the billable hours. ;)

      --
      Who is General Failure and why is he reading my hard disk?
  66. Please don't jump to conclusions... by argent · · Score: 1

    If your using the style attribute for everything

    Who said that?

    I'm talking about "align=". "style=" was the obvious workaround. There are others, like " ". They all end up bloating the size of the document for no good purpose.

    But your scheme of creating a separate style for each table cell won't work for the kinds of situations that align= or style= is typically used for.

    The problem is that each class is a separate name. This leads to an exponential explosion in the number of classes you need, and it completely breaks free-standing components.

    First, if you have a table that has (say) three different cell styles, and two different data types, you now need to define six classes instead of three. Assuming they're going to remove other attributes like align, and you have (say) two other ways tables can differ, in (say) three ways, you need 54 classes instead of three. And you end up with ...

    Second, when you have software-generated HTML, every place you have to expose details of one components classes to another you get more opportunity for things to break, so it makes sense to have typographic details set separately.

  67. No more "style="? by argent · · Score: 1

    [speechless]

    What's next, no more <div> and <span>?

  68. Compared to what? by argent · · Score: 1

    The size bloatedness of tables compared to what?

    You think they should make tables with <pre> and little ascii crosses and dashes?

    I didn't say *anything* about layout. Tables are also used for, you know, tables...

  69. Re:Perl development gets more difficult too like t by Anonymous Coward · · Score: 0

    Now I've got to program in CSS sheets too even when I don't want them

    No, you don't.

  70. SSI for the Geocities/Angelfire crowd? by tepples · · Score: 1

    So you can have one html file for your content, then include another html file with your sites header/footer/etc without having to resort to server side scripting. There is no advantage to doing this client side. Other than that ad-supported hosting plans have not handled server-side includes well?

    Sitepoint covered this fairly well already: http://www.sitepoint.com/blogs/2004/04/04/dont-use-client-side-includes/ From the page: "good quality hosting with all the frills for a moderately trafficed site shouldn't set you back more than five or ten dollars a month." But a lot of 14- to 17-year-old self-publishers have no way of paying any price greater than zero, which is what ad-supported hosting costs the publisher.
  71. Java web server by tepples · · Score: 1

    Not all web pages are served from a host. What if you have CD documentation? Is it possible to write a web server in the Java programming language that listens on localhost? At least Freenet appears to work this way.
    1. Re:Java web server by bar-agent · · Score: 1

      Sure, but why in heaven's name would you want all the overhead of a Java web server just to show HTML pages that, aside from client-side includes, the web browser can show on its own without any help at all?

      --
      i'd hit it so hard, if you pulled me out you'd be the king of britain [bash.org]
  72. The value of XHTML 1.0 Strict? by tepples · · Score: 1

    I wonder, are these the same moron authors who can't do XHTML What's the point of sending XHTML over the wire if the 80 percent web browser still can't render XHTML except as a broken version of HTML 4? I don't see a point, and hixie agrees with me.

    or provide fallback content for users without script? I make a real-time video game in JavaScript. What fallback do you recommend for users without script?

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> The HTML 4.01 and XHTML 1.0 strict doctypes have one major flaw: a list item <li> can no longer carry a value attribute. This means that an ordered list can't start at any number other than 1 or with any difference between items other than 1. Such a list can't easily represent, say, the track listing for Follow the Leader by Korn, which starts at 13, or a top ten list, which is conventionally printed in 10 to 1 reading order. (The workaround involves a <dl> element, placing numbers in floated <dt> elements and text in <dd> elements.) HTML 5, on the other hand, restores the value attribute.
  73. XSLT with ad banners? by tepples · · Score: 1

    XSLT covers all the usages for client-side includes I can think of; it's actually surprisingly well supported- even IE6 supports much of it. As I understand it, XSLT is designed to work with well-formed XML. A lot of people who do not make web sites for a living are not willing to pay $60 per year for a personal web site. For example, they may be in high school, too young to bring in an income. I don't think the popular free web hosts are capable of sending well-formed XML; the banner and pop-up code most often screws it up. Or has this changed in the years since I last used free web hosting?
    1. Re:XSLT with ad banners? by Tangent128 · · Score: 1

      I can't say; I use Google Pages, and just upload my own files. XSLT works there, anyways.

      If your host simply requires you to have ads on the site, but gives you the liberty of placing them (like some webcomic sites, I think), then you can just put the ad code in the style sheet. XSLT only needs well-formed input- the output can be any text-based format you like.

  74. Notepad is non-free and non-needed by tepples · · Score: 1

    Who learns HTML via notepad and source code anymore? Is there another way to learn HTML? Of course: a free editor and source code. This can be Emacs, Vim, gedit, Notepad++, or any of several others. You don't have to use a non-free text editor anymore.
  75. Describe the new page here. by tepples · · Score: 1

    See the part of the spec for more detail:

    http://www.whatwg.org/specs/web-apps/current-work/multipage/section-embedded0.html#the-img That's funny: the colors are set up such that names of elements and attributes look like links to pages that haven't been written yet. Or maybe I'm just a Wikipediholic.
  76. How much text is in a document? by tepples · · Score: 1

    But that's exactly the point, you're suggesting the browser should simply guess where to end blocks, that breeds ambiguity when there's no set way to decide where a specific block should end, browsers simply have to make a best guess and when different browsers guess differently then well, you get fucked up pages on some browsers. As I understand it, the HTML 5 spec describes the behavior of a conforming parser in such a way that a user agent will know exactly where each element ends.

    With XHTML the industry can bring forth it's own solution an awful lot quicker than any HTML standards comittee will ever be able to. The point is that the industry has chosen not to.

    the whole point of HTML is you have the loose structure and the content defined in the XHTML with the presentation defined in the CSS, with a handheld device you may simply ignore the CSS or apply your own to present it in a format best suited to your device. On a PC with a 720p-class screen and a high-speed fixed Internet connection, you might want to present a whole article in each document. But on a handheld with a 160p-class screen and a comparatively slow GPRS radio, you might want to present a shorter section in each document, so that the user only receives (and pays for) the sections that he or she wants to read. CSS alone cannot shrink "George W. Bush" from Wikipedia below its current 90 kB.
  77. I was talking about real tables... but CSS stinks. by argent · · Score: 1
    I've only been talking about building real tables, for displaying tabular data within the flow of a document. Not using tables for layout.

    But if you want to get into CSS Zen Garden, and all the trickery you need to do to make CSS layout actually work, well... sheesh.

    I've used a variety of applications and tools for doing programatic layout of documents over the years, with a variety of levels of functionality, some good, some bad, and CSS is one of the worst. It seems that the people who designed CSS hadn't any actual experience with more than one tool, if that.

    In CSS you only have two layout mechanisms: absolute, with absolute scaling, and relative, with absolute scaling. If you want to create a web page containing three columns, you should be able to do it one of three ways:

    (1) Define three elastic containers, and glue them to each other, right side of the first to the left of the second, right of the second to left of the first, and specify some basic constraints on each container. Adding a fourth column, you simply change where they're glued together. It would just happen, you wouldn't need to do a google search and look for a four-column model that's close enough to your existing three column code that it'll mostly work.

    (2) Start with the full space, and pack containers into it, starting with one side, with constraints specified as they're packed. Pack the first on the left, the second on the left of the remaining space, and the third on the left of the remaining space. Adding a fourth column, you simply pack it in at the right place. It should just happen, you wouldn't need to do a google search and... oh, I mentioned that already.

    (3) Specify a grid, with constraints on the grid, and place the containers in the appropriate parts of the grid.

    No, instead, in CSS, you have to go back and readjust all the column widths, mentally allowing for the extra space you need for padding. You have a 4 column model, and you add a column, and it wraps, so you go back and look for the place where the column widths are specified, and reduce them all by about 20%, and then it's a little narrow because you forgot to add a spacer, so you do that, and it wraps again, so you reduce the spacer widths a bit, and it's narrow again, ...

    Here's an example of how onother tool I use does four column layout:

    pack [frame .f1] -side left -expand 1 -fill both
    pack [frame .f2] -side left -expand 1 -fill both
    pack [frame .f3] -side left -expand 1 -fill both
    pack [frame .f4] -side left -expand 1 -fill both
     
    pack [label .f1.l -text col1] -side top
    pack [label .f2.l -text col2] -side top
    pack [label .f3.l -text col3] -side top
    pack [label .f4.l -text col4] -side top
    Adding another column is obvious, and it just works. Adding more text just works. Padding is an attribute of the layout, not extra invisible objects.

    This is already more powerful than CSS, but sometimes it's not enough, so there's a third layout manager, the grid layout manager. Because sometimes you really do need to specify the layout in rows and columns like a table, which is why people still use tables for layout.

    The only thing I'd like to add would be the idea of "space", so that you could have a space spread over two or more containers (frames) and have the content flow from one to the next when it fills up.
  78. Re:Still sloppy - W3C HTML by Rob+S+Pit · · Score: 1

    I'll make you a deal: you talk to the W3C and get them to drop this completely and utterly bass-ackward broken idea of creating new non-XML flavors of HTML, and I'll talk to the XML folks about dropping the DOCTYPE requirement.

    Tell me you're not serious about W3C creating any new non-XML based versions of HTML!!! At least I assume they'll be smart enough not to create any non-namespaced ones.... When you go into a site that's still using 1997-or-earlier non-namespaced versions of HTML it's almost impossible to fix their HTML code - and cost-prohibitive to them... in most cases it's just as costly as rewriting the whole site, and so they just keep trying to "fix" the old code.

    When the HTML code is namespaced () it's a simple matter of adding an "xml-stylesheet" processing instruction - and much, much less costly.
  79. Re:Still sloppy - W3C HTML by Just+Some+Guy · · Score: 1

    Tell me you're not serious about W3C creating any new non-XML based versions of HTML!!!

    Wish I could. Check this out:

    From 8.1.2.3. Attributes:

    Attributes can be specified in four different ways:

    Empty attribute syntax

    Just the attribute name.

    Unquoted attribute value syntax

    The attribute name, followed by zero or more space characters, followed by a single U+003D EQUALS SIGN character, followed by zero or more space characters, followed by the attribute value, which, in addition to the requirements given above for attribute values, must not contain any literal space characters or U+003E GREATER-THAN SIGN (>) characters, and must not, furthermore, start with either a literal U+0022 QUOTATION MARK (") character or a literal U+0027 APOSTROPHE (') character.

    Single-quoted attribute value syntax

    [as in XML]

    Double-quoted attribute value syntax

    [as in XML]

    And don't forget:

    From 8.1.2.4. Optional tags:

    A head element's end tag may be omitted if the head element is not immediately followed by a space character or a comment.

    A li element's end tag may be omitted if the li element is immediately followed by another li element or if there is no more content in the parent element.

    A tr element's end tag may be omitted if the tr element is immediately followed by another tr element, or if there is no more content in the parent element.

    So yes, right now, today, in 2008, people are seriously discussing rolling out another non-XML HMTL spec.

    At least I assume they'll be smart enough not to create any non-namespaced ones....

    I direct you to 8.3. Namespaces:

    The HTML namespace is: http://www.w3.org/1999/xhtml

    I hope that's sufficient.

    --
    Dewey, what part of this looks like authorities should be involved?