Slashdot Mirror


W3C Considering An HTML 5

An anonymous reader writes "When the decision was initially made to move in the direction of XHTML, instead of a new version of HTML proper, it seemed like a good idea. Years later and the widespread adoption of CSS (among other things) has proven that things don't always develop the way we expect. As a result, HTML 5 has been revived by the W3C. After some lobbying and continued work by the Web Hypertext Application Technology Working Group, the old web markup language is getting an official face-lift. A post to the Webforefront blog explains the history behind the initial decision to move to XHTML, and why things are so different in the here and now."

414 comments

  1. Absolutely right by jimicus · · Score: 5, Insightful

    Because what the world really needs right now is another version of a web standard which has had hardly any full, correct implementations in any version that's ever existed.

    Or are the W3C just trying to justify their existence?

    1. Re:Absolutely right by Valacosa · · Score: 4, Funny

      Because this time people will code to it, dammit.

      --
      "Live as if you'll die tomorrow." Ridiculous. You could die later today.
    2. Re:Absolutely right by tolan-b · · Score: 5, Interesting

      Actually HTML5 is largely a result of work by the main browser makers, except Microsoft I believe. Hixie from Opera is the project lead of the WhatWG which was created to extend HTML to make it more applicable for web applications. It fixes a lot of the problems with both HTML 4 and XHTML, and its backwards compatible with *both*.

    3. Re:Absolutely right by Lumpy · · Score: 1

      Short answer. YES

      Long answer. Wc3 is made up of many different represenatives of different companies.

      If you could force all those damned scumbags that are still using the old Dreamweaver 8 (2004MX)..

      Ohhh how dare they use a old version of our apps that makes prefectly good HTML! DAMN THEM!

      as well as force adoption of new software all across the board as HTML changes force upgrades.

      --
      Do not look at laser with remaining good eye.
    4. Re:Absolutely right by $RANDOMLUSER · · Score: 5, Funny

      Because this time people will code to it, dammit.
      You got coffee on my monitor.
      --
      No folly is more costly than the folly of intolerant idealism. - Winston Churchill
    5. Re:Absolutely right by arivanov · · Score: 3, Insightful

      Yeah, right.

      That shall be coding to a standard defined by a vendor infested committee where each representative has been obsessed to ensure that all of their bugs are standardised as "this is not a bug, it is a feature".

      As a result the implementations will remain as quirky as they are now. At best. At worst...

      --
      Baker's Law: Misery no longer loves company. Nowadays it insists on it
      http://www.sigsegv.cx/
    6. Re:Absolutely right by ronadams · · Score: 2, Interesting
      1. It's made of many people, period. Some of them do not work for any tech firms.
      2. If the primary (or even subsidiary) interest in updating standards was to sell more copies of Dreamweaver and other similar products, then why would there be free updates to Dreamweaver extensions to reflect standards changes? Also, the majority of the industry is not coding in Dreamweaver, so there's no chokehold on the business here.
      3. Sorry, no point-and-click HTML generator makes "perfectly good HTML". Many do a decent job, but it will never be as efficient as straight code and thorough knowledge of the standards.
      In closing, if the W3C's purpose was to bolster commercial software sales, they sure are going about it in the most ineffective way possible.
      --
      Appended to the end of comments you post. 120 chars.
    7. Re:Absolutely right by vigmeister · · Score: 1

      I am sure it does not make a difference at all, but at Georgia Tech, we used to have our students make a website as a 1% assignment in the course. Up until around 2006, we used to have them ensure W3C compliance. Afterwards, we just said it must work with any web browser that their TA may choose to use and that W3C was a good way to ensure that. I've met many a web designer who would be stumped for a few seconds if I ever asked them "Is ... W3C compliant?" as if they were evaluating then and there if it was and then would say "I'm not sure". And these guys make wonderful pages which work on most browsers!

      Cheers!

      --
      Atheist: Buddhist in a Prius
    8. Re:Absolutely right by AKAImBatman · · Score: 4, Informative

      Or are the W3C just trying to justify their existence?

      That's a bit cynical, don't you think?

      HTML5 is the result of the hard work done by the Web Hypertext Application Technology Working Group (WHATWG). The WHATWG is composed of members from all browser makers, with the occasional public comment thrown in for good measure. As a result, the group has been removing or reducing the ambiguity about implementing the various standards (especially the parser!) and have added features that bring HTML up to a true application platform. Their work is represented in web browsers every time someone uses the Canvas tag, Audio object, Storage API, and other modern features.

      The WHATWG was formed because the W3C was seen as too slow to execute such new technologies. Now that the WHATWG specs are stablizing, the W3C has taken a dump of the WHATWG HTML 5 standard and proposed it for ratification under W3C bylaws. This has several advantages over the WHATWG standardization, not the least of which is extracting patent waivers from companies like Apple who technically "own" some of the technologies behind the WHATWG standards.

      Note that the HTML5 group at the W3C is a bit different from most. In an attempt to remain as open as the WHATWG, they are accepting just about anyone as an "invited expert" to provide input and comments on the standards process. This is a huge departure from the way that most W3C standards are handled, and is probably a good choice for a standard as comprehensive and complex as HTML5.
    9. Re:Absolutely right by suv4x4 · · Score: 0, Flamebait

      Actually HTML5 is largely a result of work by the main browser makers, except Microsoft I believe. Hixie from Opera is the project lead of the WhatWG which was created to extend HTML to make it more applicable for web applications. It fixes a lot of the problems with both HTML 4 and XHTML, and its backwards compatible with *both*.

      This is not the HTML5 W3C is talking about. They want to make their own. And just like XHTML1.1 and especially XHTML2, I suspect it'll be largely bullshit.

      Microsoft is working on XHTML support in IE8 now, and right at this point W3C comes out and says "ok XHTML wasn't exactly what we needed". Idiotic.

      Now that we know W3C doesn't know what they're doing (or what we're doing), maybe we can finally see a better push of the set of technologies in WHATWG's HTML5. It's actually a pretty neat standard and a proper superset of HTML4, adding stuff we sorely missed since the web came into being.

      You see, W3C is about "semantics and clean code" to aid computer based search. Google says they don't know what they're doing. I'd trust the search engine vendor to know better. WHATWG is about practical solutions to existing problems, without throwing away what we already have.

    10. Re:Absolutely right by TheRaven64 · · Score: 2, Interesting

      Some of the WHAT-WG's proposals for HTML5 look fun. The canvas tag (originally from Mozilla, I believe, but now in WebKit and Opera) lets you draw bitmap images via the DOM, but my favourite is client-side storage. This lets you store several KB of data locally, enough for simple documents in a number of formats.

      --
      I am TheRaven on Soylent News
    11. Re:Absolutely right by tolan-b · · Score: 3, Informative

      No you're wrong I'm afraid, the HTML5 that W3C is talking about *is* based on WhatWG's HTML5. It supports HTML and XHTML syntaxes to the the same serialisation, so MS supporting XHTML isnt' wasted. They're basically merging HTML and XHTML.

    12. Re:Absolutely right by AKAImBatman · · Score: 4, Interesting

      The canvas tag (originally from Mozilla, I believe, but now in WebKit and Opera)

      Actually, it was originally from Apple Safari. Apple invented it for their desktop widget thingys. Opera and Mozilla have both embraced it with open arms. :)

      my favourite is client-side storage.

      I agree. I absolutely love this feature! Unfortunately, it's only implemented by Firefox at the moment. I was hoping that it would show up in Safari 3.0 so that richer iPhone applications could be written, but it was not to be. The feature request is still sitting out there with no assigned implementer. I'm tempted to dive into Webkit and maybe see if I can add it.
    13. Re:Absolutely right by AKAImBatman · · Score: 5, Informative

      Who modded this informative? Suv4x4 is incorrect. The W3C came up with their HTML5 standard by taking a dump of the WHATWG HTML5 standard and putting the W3C colors on it. Which isn't surprising as most of the WHATWG members are also W3C members. It was always their intention to make their standard more "legitimate" by submitting it to the W3C once it was ready.

      Don't believe me? Here are the two standards. Compare:

      WHATWG HTML5
      W3C HTML5

      Save for some slight divergences as the WHATWG's standard is updated, they're exactly the same.

    14. Re:Absolutely right by Captain+Splendid · · Score: 2, Funny

      if the W3C's purpose was to bolster commercial software sales, they sure are going about it in the most ineffective way possible.

      I dunno, I sure have bought a lot of copies of Notepad in the last ten years!

      --
      Linux, you magnificent bastard, I read the fucking manual!
    15. Re:Absolutely right by suv4x4 · · Score: 2, Interesting

      No you're wrong I'm afraid, the HTML5 that W3C is talking about *is* based on WhatWG's HTML5.

      It's written "WHATWG" by the way, for the same reason you don't write UspTo. But that's not important.

      WHATWG are the group that pitched W3C to consider HTML5. W3C's HTML5 isn't based on anything right now since it doesn't exist yet. It may include in some form some HTML5 features, but don't delude yourself that W3C will beat the heck out of it, until it's a tortured mix of their XHTML2 standard and WHATWG's HTML5.

    16. Re:Absolutely right by Anonymous Coward · · Score: 1, Insightful

      The only problem XHTML has is that it takes effort -- specifically effort to port invalid HTML code. The more invalid the HTML is, the more effort it takes to port it to XHTML. Multiply this by the size of your website.

      Otherwise, in my experience, XHTML is definitely the more correct, optimum, eventual solution. I can't imagine how (in programming at least) ambiguity can be more desirable than clean-cut standards.

    17. Re:Absolutely right by nlogax · · Score: 1

      The W3C came up with their HTML5 standard by taking a dump of the WHATWG HTML5 standard and putting the W3C colors on it.

      I misread that as taking a dump on , which made your post both very confusing, and amusing.
    18. Re:Absolutely right by fbjon · · Score: 3, Funny
      You jest, but it is actually that simple. HTML 5.0 = HTML 4 with some new sugar + XHTML parser strictness.


      The result is that browsers will show you the finger if you don't code to the standard.

      --
      True confidence comes not from realising you are as good as your peers, but that your peers are as bad as you are.
    19. Re:Absolutely right by WED+Fan · · Score: 5, Insightful

      Actually HTML5 is largely a result of work by the main browser makers, except Microsoft I believe. Hixie from Opera is the project lead of the WhatWG which was created to extend HTML to make it more applicable for web applications. It fixes a lot of the problems with both HTML 4 and XHTML, and its backwards compatible with *both*.

      Excuse me, but it must be pointed out.

      When you start talking standards and you gather a group of browser/client makers to discuss new standards, you really do need to have the giant on the block represented. Otherwise, you get a set of standards that run the real possibility of being ignored, or worse, supplanted by the giant's idea.

      When the combined numbers of the "others" don't even come close to trumping the giant's numbers, you are heading to failure. In this case MS, like it or not, is the giant. The easiest way to stop this crazy, "IE only partially implements html x.0/css x.1/xhtml x.x" crap is to involve them.

      Of course, this is just crazy talk, right. Oh heavens, we might actually run into the problem of MS taking over the standard. You know what, when you have a formation marching down the street, and 70% are on one heel beat, and the other 30% are out of step with the 70% and aren't even in step with themselves, its the 30% that need to get with the beat.

      Failure to accept this is only going to widen the gulf, unless MS, through largesse or coincidence follows the new standard.

      --
      Politics is the art of looking for trouble, finding it everywhere, diagnosing it incorrectly and applying the wrong fix.
    20. Re:Absolutely right by Anonymous Coward · · Score: 0

      If that bugs you, I dare to you to look into how various web server vendors have implemented the HTTP standards.

      Go ahead... look... I double-dog dare you.

    21. Re:Absolutely right by 1110110001 · · Score: 2, Informative
      I copied both specs to a pure text file and the only difference I found is a mark in the header lines:

      -WHATWG
      +W3C
      -Working Draft -- 28 June 2007
      +W3C Editor's Draft 28 June 2007
      -You can take part in this work. Join the working group's discussion list.
      +This Version:
      + http://www.w3.org/TR/2007/WD-html5-2007MMDD/
      +Lat est Published Version:
      + http://www.w3.org/TR/html5/
      +Latest Editor's Draft:
      + http://www.w3.org/html/wg/html5/
      +Editors:
      + Ian Hickson, Google, Inc.
      + David Hyatt, Apple, Inc.
      -Web designers! We have a FAQ, a forum, and a help mailing list for you!
      +Abstract
      -One-page version:
      - http://www.whatwg.org/specs/web-apps/current-work/
      -Multiple-page version:
      - http://www.whatwg.org/specs/web-apps/current-work/ multipage/
      -Version history:
      - Twitter messages (non-editorial changes only): http://twitter.com/WHATWG
      - Commit-Watchers mailing list: http://lists.whatwg.org/listinfo.cgi/commit-watche rs-whatwg.org
      - Interactive Web interface: http://html5.org/tools/web-apps-tracker
      - Subversion interface: http://svn.whatwg.org/
      -Editor:
      - Ian Hickson, Google, ian@hixie.ch
      +This specification defines the 5th major revision of the core language of the World Wide Web, HTML. In this version, new features are introduced to help Web application authors, new elements are introduced based on research into prevailing authoring practices, and special attention has been given to defining clear conformance criteria for user agents in an effort to improve interoperability.
      +Status of this document
      -© Copyright 2004-2007 Apple Computer, Inc., Mozilla Foundation, and Opera Software ASA.
      +This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at http://www.w3.org/TR/.
      -You are granted a license to use, reproduce and create derivative works of this document.
      -Abstract
      +If you wish to make comments regarding this document, please send them to public-html@w3.org (subscribe, archives) or whatwg@whatwg.org (subscribe, archives). All feedback is welcome.
      -This specification introduces features to HTML and the DOM that ease the authoring of Web-based applications. Additions include the context menus, a direct-mode graphics canvas, inline popup windows, and server-sent events.
      -Status of this document
      +Implementors should be aware that this specification is not stable. Implementors who are not taking part in the discussions are likely to find the specification changing out from under them in incompatible ways. Vendors interested in implementing this specification before it eventually reaches the Candidate Recommendation stage should join the aforementioned mailing lists and take part in the discussions.
      +The latest stable version of the editor's copy of this specification is always available on the W3C CVS server and in the WHATWG Subversion repository. The latest editor's draft (which may contain unfinished text in the process of being prepared) is available on the WHATWG site. Detailed change history can be obtained from the following locations:
      -This is a work in progress! This document is changing on a daily if not hourly basis in response to comments and as a general part of its development process. Comments are very welcome, please send them to whatwg@whatwg.org. Thank you.
      + * Twitter messages (non-editorial changes only): http://twitter.com/WHATWG
      + * Interactive Web interface: http://html5.org/tools/web-apps-tracker
      + * Commit-Watchers mailing list: http://lists.whatwg.org/listinfo.cgi/commit-watche rs-whatwg.org
      + * Subversion interface: http://svn.whatwg.org/
      + * CVS log: http://dev.w3.org/cvsweb/html5/spec/Overview.html
      -Implementors should be a

    22. Re:Absolutely right by tolan-b · · Score: 4, Informative

      WHATWG are the group that pitched W3C to consider HTML5. W3C's HTML5 isn't based on anything right now since it doesn't exist yet.
      From the WHATWG list:

      The W3C's HTML working group today resolved to start from the current WHATWG work. Specifically, the group resolved to review our work, and will probably build on it. They also resolved to call this work HTML5. Thus, the "Web Applications 1.0" spec is now officially named "HTML5"! I have also checked a copy of the two main WHATWG specs (but with the W3C boilerplate) into the W3C CVS server. Going forward, any changes will be committed to both the WHATWG and the W3C repositories simultaneously.


      It may include in some form some HTML5 features, but don't delude yourself that W3C will beat the heck out of it, until it's a tortured mix of their XHTML2 standard and WHATWG's HTML5.

      Well seeing as it's starting from their work I rather suspect it will include the bulk of it, because it's highly interdependent.

      Then again you seem to have an axe to grind with the W3c, so don't let me stop you..
    23. Re:Absolutely right by rjshields · · Score: 1

      The result is that browsers will show you the finger if you don't code to the standard.
      The problem with that is that most HTML is being generated as text. There's no checking to ensure it's valid after it's generated. Valid XML is no panacea and browsers have always had to cope with sloppy HTML, so what's the point?
      --
      In this world nothing is certain but death, taxes and flawed car analogies.
    24. Re:Absolutely right by Courageous · · Score: 1

      Failure to accept this is only going to widen the gulf, unless MS, through largesse or coincidence follows the new standard.

      Ha. They're already "standard," as you pointed out. The symptomology you're referring to exists in every industry where there is a giant and a bunch of competitors collectively represent a minority part of the market. Only the competitors benefit from an "open standard," as the market leader has already set their own standard.

      C//

    25. Re:Absolutely right by kat_skan · · Score: 1

      I would be interested to know what of HTML is not supported by user agents commonly in use today. I've seen plenty of lists of bugs in their support of CSS, but the only one that comes to mind for HTML is that Internet Explorer doesn't support <abbr>.

    26. Re:Absolutely right by fbjon · · Score: 4, Interesting

      Yes there is, the browsers would be checking to ensure it's valid. If no browser accepts it, the developer will have to fix it or get fired.

      --
      True confidence comes not from realising you are as good as your peers, but that your peers are as bad as you are.
    27. Re:Absolutely right by Excors · · Score: 4, Informative

      HTML 5.0 = HTML 4 with some new sugar + XHTML parser strictness.

      That is incorrect: the HTML5 parsing algorithm never just stops and returns an error message (like in XML) - it specifies how every single stream of bytes is parsed into a DOM, with error-correction where necessary, in a way that tries hard to be compatible with the ~10^11 existing HTML pages on the web (which, in most cases, means being compatible with the behaviour of IE6).

      Almost all the content on the web today is invalid HTML, and it's never going to go away, which is why the browser developers have been pushing for a specification that describes how to handle invalid content instead of pretending it's not important.

    28. Re:Absolutely right by jalefkowit · · Score: 5, Informative

      You jest, but it is actually that simple. HTML 5.0 = HTML 4 with some new sugar + XHTML parser strictness.

      The result is that browsers will show you the finger if you don't code to the standard.

      I'm a participant in the HTML Working Group and I can tell you that this is incorrect. You're thinking of XHTML2, not HTML 5. XHTML2 has the XML parser strictness and pages will fail to display if they're not well-formed. HTML 5 is going the complete opposite direction, assuming that people will code poorly and defining failure modes for browser vendors to follow when that happens.

    29. Re:Absolutely right by jalefkowit · · Score: 2, Informative

      Microsoft has several people participating in the HTML Working Group, and Chris Wilson, the leader of the IE team, is the chair of the group. So you don't have to worry about Microsoft being left out.

    30. Re:Absolutely right by Shulai · · Score: 1

      No, W3C didn't come out and said "ok XHTML wasn't exactly what we needed". They say "We proposed XHTML+CSS but nobody cared (well, not Microsoft and not most web developers), so content still is malformed XHTML or even plain HTML 4 (and even transitional and/or riddled with tables for layout)".
      So they accept their failure and try to propose alternate ways of enhance the web.

    31. Re:Absolutely right by drinkypoo · · Score: 1

      The result is that browsers will show you the finger if you don't code to the standard.

      The result is that browsers other than Internet Explorer will show you the finger if you don't code to the standard.

      There, fixed that for you.

      Who actually believes that Microsoft will strictly follow any specification?

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    32. Re:Absolutely right by rikkus-x · · Score: 2, Insightful

      a specification that describes how to handle invalid content

      Perhaps you'd like to write it? I'd like to see such a thing. It would be quite amazing if it was done well.

    33. Re:Absolutely right by Excors · · Score: 4, Insightful

      If no browser accepts it, the developer will have to fix it or get fired.

      More likely, the developer will stop using technology that makes their life harder, and will stick with invalid HTML4 and Flash and Silverlight and all the other possibilities, which defeats the aim of improving interoperability on the web.

      Also, browsers have bugs. What happens when a user tests in one browser which accidentally accepts their invalid code, without noticing that other browsers don't? (Possible answer: other browsers will have to start accepting that invalid code too, else their users will stop using that browser and start using the one that can actually display the web. And since the specification would only say how to handle valid code, the other browsers will have to reverse-engineer each other to get mostly-compatible behaviour for invalid code, which results in a mess of incompatibilities - that is what has happened for HTML4, and is what HTML5 is trying to fix by defining how all invalid content must be handled in a way that is sufficiently compatible with the existing behaviour (and existing bugs) of browsers.)

      Also, most content is generated dynamically, so you can't simply test the page before you upload it. Server-side code has bugs, and draconian error handling does not make things easy to fix.

    34. Re:Absolutely right by thrillseeker · · Score: 2, Funny

      a specification that describes how to handle invalid content

      Perhaps you'd like to write it? I'd like to see such a thing. It would be quite amazing if it was done well.


      I'd recommend a nice blue colored background with lots of white text and numbers when anything goes wrong - I kind of miss it not being in the web world ...

    35. Re:Absolutely right by Trails · · Score: 4, Informative

      Chris Wilson is a guy with his heart in the right place working for people who, in the past, put business strategy over standards support (I'm not editorializing, that's what they did). This is why MS's standard support is lame.

      That being said, Chris Wilson (at least) talks the talk, and IE 7 was a (small) step in the right direction.

      The more important, and encouraging, signal imo is MS hiring Standardista Molly Holzschlag. Given her history, I think we can expect more and better from MS on this front in the future.

    36. Re:Absolutely right by TopSpin · · Score: 1

      you really do need to have the giant on the block represented <drm-protected>
      <activex platform="x86">
      <.NET version="3.0.12.1">
      <subscriber-only msn-micropay-retailer-id="4f022c73a0-3fcc2-56ca1">
      <advertisement required="true" duration="30">

      The "giant" in this case would "innovate" the Web to death. I think the w3c folks believe that waiting for Microsoft sanction is exactly the wrong thing to do. The right thing is compelling standards that attract use despite the dreams of companies like Microsoft.

      --
      Lurking at the bottom of the gravity well, getting old
    37. Re:Absolutely right by Blakey+Rat · · Score: 1

      Because what the world really needs right now is another version of a web standard which has had hardly any full, correct implementations in any version that's ever existed.

      Or are the W3C just trying to justify their existence?


      I love web standards. They're made from this naive academic ivory tower with absolutely no recognition of the commercial or aesthetic requirements of the actual web as it's used by... everybody else, I guess.

      For instance, CSS 1.0 had no (official) way of creating columns, and creating layouts with more than 2 columns was particularly difficult/complex. WTF! Nobody who worked on that standard had ever looked at a newspaper before? None of them had ever seen a news website before? It seems to me (a practical person) that if you're going to make a web standard to replace table layouts you should first figure out what people were using the table layouts for (columns mostly!) and provide the same functionality.

      But, hey, what do I know? I'm just the poor sucker trying to get web pages to actually work, when JScript and Javascript have totally different ways of doing mundane things for no reason. e.g. textContent vs. innerText-- hey Firefox, 'innerText' matches 'innerHTML', why did you implement the exact same function with a worse name? Not that Javascript/JScript has any naming conventions whatsoever anyway... WTF is "XMLHttpRequest?" The naming rule is "the first acronym is capitalized but the second one isn't?" Forgetting the fact that the function has absolutely nothing to do with XML whatsoever. Go figure.

      I hate web standards.

    38. Re:Absolutely right by vtcodger · · Score: 1
      The problem is NOT the W3C. At least not entirely, and probably not mostly. The W3c has perfectly OK free HTML, CSS etc validators on line ( http://validator.w3.org/ ). They are not hard to use. Don't like W3C? There are other validators available on-line (Google 'HTML validators'). A fair number of sites on the Internet actually are validated.

      The problem seems to be that a significant percentage of web site developers lack the discipline or interest to follow rules. And, of course browsers don't necessary work with 'correct' documents. IE7 is said to still be out of compliance -- at least wrt CSS. Microsoft has the resources to make its browser standards compliant. Why haven't they? Beats me.

      My take is that browsers should work with 'correct' HTML. I don't have any problem with non-compliant pages as long as the folks who generate them can make them work acceptably with real browsers. the latter is a lot of work, but some folks (e.g. Google) do pull it off.

      --
      You can't see ANYTHING from a car, You've got to get out of the goddamned contraption and walk...Edward Abbey
    39. Re:Absolutely right by Anonymous Coward · · Score: 5, Insightful

      I'm very troubled by the implication that HTML5 will focus on the assumption that people will code poorly and the proper solution is to provide better failure modes for browsers. This is more likely to have the effect of lowering the standard than improving it as humans will simply take the easy road.

      I would plead for a higher standard that would require strict compliance to well-formed rules that would lead to better overall web governance, security, and standards that benefit the authors and readers. I'm really fed up with not being able to use my favorite browser for everything because the code is broken on one browser brand or version, or because one browser vendor simply wants to make their own rules.

      Let's do this generation of standards right. Make the coders comply with strict, well-formed rules or make them pay the price.

    40. Re:Absolutely right by FireFury03 · · Score: 1

      The easiest way to stop this crazy, "IE only partially implements html x.0/css x.1/xhtml x.x" crap is to involve them.

      Correct me if I'm wrong, but weren't Microsoft involved in the development and ratification of several of the existing standards (which they have failed to implement fully/correctly)?

    41. Re:Absolutely right by jalefkowit · · Score: 4, Informative

      Wow. I hate you.

      The working group is open to the public and costs nothing to join. If you don't like the state of HTML, come over and help make it better.

    42. Re:Absolutely right by Blakey+Rat · · Score: 3, Insightful

      The problem seems to be that a significant percentage of web site developers lack the discipline or interest to follow rules.

      The "rules" are stupid. Do you know how hard it is to make a 3-column or 4-column content site using CSS 1.0? Is it even possible? Yet I can "break" the rules, use table cells as layout, and accomplish the same thing in seconds.

      Web developers would use the standards if the standards reflected the reality of their job and *made it easier*. In the same way software developers use APIs because the APIs *make their job easier*. (You don't have to worry about what monitor a window is on, you just call 'RefreshWindow' or whatever and it happens. CSS *should* have had a "style='3 column'" from the start.)

    43. Re:Absolutely right by fbjon · · Score: 1

      Hm, you're right. I was thinking in terms of the strict error handling of XHTML + HTML syntax, or something like that. Defining failure modes is a lot better for the hairy wide web.

      --
      True confidence comes not from realising you are as good as your peers, but that your peers are as bad as you are.
    44. Re:Absolutely right by FireFury03 · · Score: 3, Interesting

      Some of the WHAT-WG's proposals for HTML5 look fun.

      Unfortunately there seems to be a lot of crazyness in there too. XHTML 1.1 went some way towards reducing the redundency of some tags. For example, the object tag replaces embed, iframe, etc with a single unified tag to handle all embedded objects (not sure why they didn't ditch img at the same time.

      HTML 5, on the other hand, seems to be keeping object but also reviving iframe and embed. Meanwhile they are introducing a load of tags to do the same job - video, audio, etc. This is crazyness since it means you have to revise the markup language every time someone invents a new type of embedded object, whereas just using a single object tag for everything means your browser can determine the type of content from the MIME content type of the object and render it if supported.

      I would prefer to see new features going into XHTML rather than HTML. However, XHTML does need a modification IMHO: the spec states that XHTML which isn't well formed must not be rendered - I think it would be better to require the browser display a page saying something along the lines of "this page is broken, click this button to try and fix it - it may not render correctly". Forcing web developers into writing well formed code is a Good Thing, but the end user needs a way of trying to render the page anyway if the developer did muppet it up.

      The trick to making bad web developers write good code is to make sure the people who are paying them know that they are bad developers - presenting a page stating that fact is a good way to do that.

      I don't believe the spec can (or should) define how to handle broken code in the specific sense - defining the handling for every corner case is impossible and would make the spec far too complex. Much better to just say "you present an error, give the user the option to fix it and then fix it up as best you can (how to do this is outside the scope of the spec)".

    45. Re:Absolutely right by random0xff · · Score: 1, Funny

      "assuming that people will code poorly"

      Javascript doesn't accept that, so why is that good for markup?

    46. Re:Absolutely right by Anonymous Coward · · Score: 0

      HTML 5 is going the complete opposite direction, assuming that people will code poorly and defining failure modes for browser vendors to follow when that happens.

      Don't you understand that you, people that contribute to the standards, are the ones making this mess a reality in the first place? On one hand you define a standard, XHTML, which enforces strictness, which is a good thing. Yet, then you develop a whole new standard, HTML 5, which in effect will undermine all efford directed towards the creation of your own previous standard. Let's not even delve into the subject that no browser project will ever make any effort to support every brainfart that W3C manages to put out. Do you enjoy being unproductive and undermining your own work? Do you really believe that, knowing that XHTML fails to be supported in the field, the development of HTML 5 will make it unfeasible and undesireable to support XHTML 1 and 2? At the moment joe webdeveloper does not manage to support neither XHTML nor HTML4. Do you really believe that he will spend his time catering to whatever you put out on your fancy "let's make a standard" party just because W3C claims it is a standard? Of course not.

    47. Re:Absolutely right by Blakey+Rat · · Score: 1

      Maybe I'll do that.

      Interestingly, I think I found a Firefox bug on the "Public Account Request Form" that blog entry links to: http://www.w3.org/Help/Account/Request/Public . If I draw across the phone number text to select and copy it, my selection disappears as soon as I release the mouse button and the cursor instantly moves into the text field.

    48. Re:Absolutely right by Anonymous Coward · · Score: 0

      Correction:

      The result is that browser developers will show you the finger if you don't code to their standard.
    49. Re:Absolutely right by background+image · · Score: 1

      I would prefer to see new features going into XHTML rather than HTML. However, XHTML does need a modification IMHO: the spec states that XHTML which isn't well formed must not be rendered - I think it would be better to require the browser display a page saying something along the lines of "this page is broken, click this button to try and fix it - it may not render correctly". Forcing web developers into writing well formed code is a Good Thing, but the end user needs a way of trying to render the page anyway if the developer did muppet it up.

      The trick to making bad web developers write good code is to make sure the people who are paying them know that they are bad developers - presenting a page stating that fact is a good way to do that.

      Mod parent up. This is probably the best and most workable solution to the problem of bad html coding practices I've ever heard anybody suggest...

    50. Re:Absolutely right by Tumbleweed · · Score: 1

      When you start talking standards and you gather a group of browser/client makers to discuss new standards, you really do need to have the giant on the block represented. Otherwise, you get a set of standards that run the real possibility of being ignored, or worse, supplanted by the giant's idea.

      And how would this be different from the Web standard MS *has* participated in? I know it sounds like I'm joking, but sadly, I'm really not.

    51. Re:Absolutely right by CoughDropAddict · · Score: 4, Insightful

      Imagine if C++ compilers could take the same liberties that web browsers could with the input!

      Imagine if web browsers were anal retentive and refused to display anything with the slightest syntax error. Imagine if your blog suddenly became undisplayable because commenter number 32 input some broken HTML, and your not-quite-perfect blog software didn't quite know how to launder it. Imagine that the slightest syntax error from Google Analytics, Google AdWords, or anything else you embed into your site could make your site completely unavailable.

      I know it's not satisfying, but being permissive on the web really is the best policy, as long as the results of the permissiveness are well-defined (which is what HTML5 does).

    52. Re:Absolutely right by CoughDropAddict · · Score: 1

      Please see my comment here. It's senseless to make a website owner put their entire site on the line when they choose to embed content from comment authors, Google Analytics, Google Adwords, etc.

    53. Re:Absolutely right by drew · · Score: 1

      Their work is represented in web browsers every time someone uses the Canvas tag, Audio object, Storage API, and other modern features.


      Which in the real world is practically never, considering that IE doesn't support any of them (OK, this isn't totally true. While IE doesn't support any of them, it does provide IE specific alternatives to several of them, so developers who really want to use them can use wrappers that will abstract the difference between the IE way and the "everyone else" way. Still, I haven't seen any widespread rush to take up any of these technologies.)

      Oh yeah, and last I checked, Microsoft wasn't on the WHAT-WG, either. Of course, "last I checked" is quite a while ago, since it seemed to me like a pretty useless group without getting Microsoft on board. Maybe now something useful will finally come out of their existence, but personally, I'd rather see the existing implementations of XHTML firmed up a bit (mainly on IE) before we run off on another standards wild goose chase.
      --
      If I don't put anything here, will anyone recognize me anymore?
    54. Re:Absolutely right by Anonymous Coward · · Score: 0

      XHTML2 has the XML parser strictness and pages will fail to display if they're not well-formed. HTML 5 is going the complete opposite direction, assuming that people will code poorly and defining failure modes for browser vendors to follow when that happens.

      But we already have HTML4, which does pretty good at assuming people will code poor HTML.

      What can you give me in the area of a spec that assumes browser-writers will code poorly?

    55. Re:Absolutely right by metamatic · · Score: 2, Insightful

      The "rules" are stupid. Do you know how hard it is to make a 3-column or 4-column content site using CSS 1.0?

      Nice strawman. CSS 1.0 was 11 years ago. Do you know how hard it is to make a 4-column table using HTML 2.0, which was the HTML standard 11 years ago?

      (Hint: HTML 2.0 didn't have tables.)

      4 columns in CSS is trivial, if you don't limit yourself to what CSS was like 11 years ago.

      --
      GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
    56. Re:Absolutely right by Blakey+Rat · · Score: 1

      Nice strawman. CSS 1.0 was 11 years ago. Do you know how hard it is to make a 4-column table using HTML 2.0, which was the HTML standard 11 years ago?

      So? The New York Times was around 111 years ago, and it uses columns every single day. Nobody in the CSS group thought that columns would be useful? Nobody at all? Come on, I find that hard to believe.

    57. Re:Absolutely right by jZnat · · Score: 1

      Well, you could keep all your content in a DOM tree before generating the actual text so that you get valid markup (DOM isn't used exclusively in JavaScript). Or you could use XSLT to transform the data to proper HTML with no worries. Hell, I don't think it's good practise anymore (or might never have been) to just output HTML manually; that's what frameworks and other XML-based classes (or functions in other languages) are for. And when you parse user input, just parse it using some sort of forgiving parser (e.g., SAX) that can store it properly.

      tl;dr version: use HTML generaters like XSLT or a DOM object to text method; stop manually writing templates like a web 1.0 person.

      --
      'Yes, firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
    58. Re:Absolutely right by rvw · · Score: 1

      The working group is open to the public and costs nothing to join. If you don't like the state of HTML, come over and help make it better. Thanks for the information. I think I'll join. When you register, does that mean my email address and name are public? I've seen this happen on other sites, depending on this I use different mail addresses now.
    59. Re:Absolutely right by jZnat · · Score: 1

      Perhaps Google can help in this situation by coding to standards rather than outputting invalid crap then, eh? They have tons of programmers who are experts in C(++?), Python, and Java (their main programming languages), and as they should know, those languages are far more strict than what works for JavaScript and HTML. Just look at their web page HTML tag soup and you'll see the problem. Saving bandwidth or not, I'm pretty sure that proper HTML would compress better than tag soup resulting in an overall smaller file size (crazy, I know).

      --
      'Yes, firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
    60. Re:Absolutely right by CoughDropAddict · · Score: 1

      You're missing the point. I'm a site owner. I want to embed content from another site dynamically. Given strict browsers, this means that I have to totally and unconditionally trust said site to serve perfect HTML every time. The consequences of their screwup is that my site won't display at all.

      No remotely important site could afford to take the risk of embedding third-party content in such a world.

    61. Re:Absolutely right by jZnat · · Score: 1

      Well, with how XML works, a WYSIWYG HTML editor should be able to easily produce valid and semantic code, but I'm sure the PHBs or whoever actually uses them would still find a way to fuck them up.

      --
      'Yes, firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
    62. Re:Absolutely right by Tony+Hoyle · · Score: 3, Insightful

      Yeah like they do now for XHTML and HTML4.

      Oh, wait. They don't.

    63. Re:Absolutely right by Anonymous Coward · · Score: 0

      That's because it's a label, wired up to jump to the text field it is associated with as soon as you click.

    64. Re:Absolutely right by background+image · · Score: 1

      The "rules" are stupid. Do you know how hard it is to make a 3-column or 4-column content site using CSS 1.0? Is it even possible? Yet I can "break" the rules, use table cells as layout, and accomplish the same thing in seconds.

      Using CSS 1.0, that's probably impossible. However, that's not too surprising since that version of the spec didn't even pretend to offer much more than basic text formatting.

      But besides that: CSS 1.0?! You do know that even the revised version of that spec is eight and a half years old, right? And that the original version of it is nearly eleven years old? Even the earliest version of the CSS 2 spec has passed its ninth birthday.

      Web developers would use the standards if the standards reflected the reality of their job and *made it easier*.

      In general the problem is not, and never has been, the specifications. The problem has always been the implementations. Once browsers started to actually do what the specification specified, the job suddenly got dramatically easier. Before about 2002 or 2003, the table-based -vs- tableless layout debate made some kind of sense. But since then, the widely-used browsers--even including IE 6 and all of its bugs--have become robust enough that if tableless layouts aren't making your job easier it's because you don't know what you're doing.

      In the past 3 years, for example, I've used one base template for every HTML document I've created, and the actual structural markup probably changes less than 15% from the original in any given case--regardless of layout. I can change columns from side to side by changing three CSS declarations, and any number of columns can be added by adding one new div element per column to the markup. Pages built this way are also usable on small-screen devices with almost no alteration, and making pages that print well becomes absolutely trivial.

    65. Re:Absolutely right by Excors · · Score: 2, Interesting

      You can create DOMs that cannot be serialised to well-formed XML, like with document.createComment('--'). I don't really know anything about XSLT, but it doesn't appear to have had much success as a web templating language. Tools like Genshi seem to do much better at that, but anything outputting XHTML has to be very careful about avoiding all the little errors that might creep in and kill the document, so it's still safer to serialise to HTML at the output end of an XML toolchain - the browsers of your web site's users are rarely the best place to detect bugs in your server code, since those users are not in a position to do anything except leave your site.

    66. Re:Absolutely right by Blakey+Rat · · Score: 3, Insightful

      That's because it's a label, wired up to jump to the text field it is associated with as soon as you click.

      And therefore copy and paste doesn't work. This kind of crap is exactly why I hate the web!

    67. Re:Absolutely right by AKAImBatman · · Score: 1

      Which in the real world is practically never, considering that IE doesn't support any of them

      Wait... hear that sound? It's faint, but it's getting louder. That sound? That's the sound of Microsoft getting left behind.

      It was Microsoft's choice not to join the WHATWG, Microsoft's choice not to implement DOM2, and Microsoft's choice to continue shipping a browser that sucks. They are now paying for it in dwindling market share. Microsoft's share is still a concern, but not for too much longer. Developers are only going to drag IE along with shunts for so long before they start updating their sites to "recommend" an upgrade for their users. I've already seen a few sites do this, so it's just a matter of time.

      Devices like the Wii and iPhone are further cutting into Microsoft's share. Unlike the desktop, these devices are powered by modern browsers capable of powerful multimedia games and applications. (few more) This is helping drive the use of these new technologies regardless of what Microsoft does. Meanwhile, Windows Mobile market share is dropping like a rock, with Mobile IE along with it. All while Opera Mini use on standard cell phones goes up.

      Consumers want rich web technology. Microsoft isn't providing it, so they WILL be displaced. The key is that consumers aren't necessarily making a conscious choice between IE and WHATWG browsers like Safari, Opera, and Firefox. They're deciding between "this does what I want and this doesn't". Thus the death of IE will be without much fanfare and will only accelerate in the days to come.
    68. Re:Absolutely right by jalefkowit · · Score: 1

      When you register, does that mean my email address and name are public?

      Not explicitly, but if you participate in the mailing list your name and e-mail address will be visible via the Web archive.

    69. Re:Absolutely right by SmokedS · · Score: 2, Insightful

      Eh, No.
      It means you get to use a validation component on the included content before sending it to a browser.

      You can bet your butt that there will be such components available before HTML 5 reaches any notable market penetration. Open source coders will Likely get them out there before the standard is even finalized.

    70. Re:Absolutely right by wolverine1999 · · Score: 1

      Actually you can use xhtml in it too.. just remember to use or

    71. Re:Absolutely right by Anonymous Coward · · Score: 0

      The permissive attitude really sucks because it hinders development of web. It turns browsers into monsters built on special cases
      and error handling. Your argument also sucks. If you are displaying somebody elses code you have two options as I see it. Either
      you trust that party and then you display it. If you can't trust that party you need to filter the content before displaying it.

      The whole trusting part is already in place today. You trust some ad-company to provide ads that look and work in some way.
      A strict standard would work about the same as with a non-strict standard. There are cerainly ways to break how a page looks
        today using a weird tag-soup. But ad-providers providing tag-soup don't last very long as ad-providers...

    72. Re:Absolutely right by stry_cat · · Score: 1

      Did you even read the page you link to? "This technique can actually be used to provide as many columns on a page as you like. Drawback #1) it gets difficult quickly if you want to make any of the columns a fixed width. Drawback #2) it relies heavily on percentages, which the various browsers all calculate differently, so you can't place your columns very precisely." Sorry, but this proves the other guy's point about needing to use tables instead of CSS to handle layout.

    73. Re:Absolutely right by riceboy50 · · Score: 1

      They do if you actually tell the browser that you're sending XHTML, and that the browser even knows what that is. Haven't you ever seen what happens if you send invalid XHTML markup with the correct mime-type; application/xhtml+xml? It throws parse errors like any good compiler. The problem is that most developers are too lazy to do this since it requires work-arounds for, you guessed it, Internet Explorer since it still doesn't support XHTML.

      --
      ~ I am logged on, therefore I am.
    74. Re:Absolutely right by Hatta · · Score: 1

      If they don't update the standard, the code out there will just get further and further away from it. It just makes sense to update it every once in a while to make sure the standard actually reflects what people are doing. If people won't code to the standard, we have to write the standard to what they code. It's better than a wildly inaccurate standard or none at all.

      --
      Give me Classic Slashdot or give me death!
    75. Re:Absolutely right by Allador · · Score: 5, Insightful

      Did you read the proposal, or anything around WHAT-WG's HTML5?

      It's actually incredibly sensible, and is a very practical and natural extension of what we're doing with HTML now.

      It has very little to do with browser bugs, or even web sites per-se. It's more about adding features to more naturally support web 'apps'.

      Read up on it, it actually makes a lot of sense.

      I just hope it can make some progress, but given that it was started by Mozilla, Apple and Opera, the people making the best browsers out there, it may actually have a chance of being supported.

    76. Re:Absolutely right by cstdenis · · Score: 0

      Thats what tables are for. CSS decreases the need for tables, its not designed to eliminate them completely.

      --
      1984 was not supposed to be an instruction manual.
    77. Re:Absolutely right by ptaff · · Score: 2, Insightful

      Imagine if your blog suddenly became undisplayable because commenter number 32 input some broken HTML, and your not-quite-perfect blog software didn't quite know how to launder it [...] could make your site completely unavailable.

      Well, it would be a shame to use any software that'd break like that! How come that the web is the sole programming environment where it's impossible to get an error, where programmers are thus encouraged to make errors, where coders can ignore string validation (and supposing a strict HTML parser, they'd blame the parser just like a clueless newbie would blame a compiler)? Please, we're not talking about complicated markup nor about string validation done in assembly or C -- web languages have easy built-in routines that do just that.

      HTML monkeys rely on that great "error-recovery" misfeature and that alone explains why browsers are so big and slow. Every tag-soup-recovery method used by MSIE must be reproduced, so the standard shifts to how-does-MSIE-handle-that. Had Netscape won the browsers war, the same situation would prevail.

      And there is no reasonable explanation nor incentive to base the web on human error recovery! Come on now. The web would still exist if it required strict conformance to standards. Javascript syntax errors are fatal, how come people who can't code HTML properly are able to code syntax-error-free javascript?

    78. Re:Absolutely right by Anonymous Coward · · Score: 0

      If get you ignored that much as a standards body, isn't it time to give up?

      The government should pay google a million dollars to come up with a new standard. That would solve the problem for good. Forget those sad gits at the W3C.

    79. Re:Absolutely right by brentonboy · · Score: 1

      4 columns in CSS is trivial, if you don't limit yourself to what CSS was like 11 years ago. Yeah, but try to make those colomns behave in the way you expect, and it quickly becomes a nightmare, even with modern CSS. Didn't you wonder why all the colomns in your "trivial" example are different heights?
    80. Re:Absolutely right by brentonboy · · Score: 1

      Even the earliest version of the CSS 2 spec has passed its ninth birthday. Why should a web developer use a brand new web standard that requires the use of such an outdated and difficult-to-use spec? Making web pages to standards won't be worth the extra time until 90% of surfers are using fully CSS3 compliant user agents. That still looks a long way off.
    81. Re:Absolutely right by Hynee · · Score: 1

      HTML 5, on the other hand, seems to be keeping object but also reviving iframe and embed. Meanwhile they are introducing a load of tags to do the same job - video, audio, etc. This is crazyness since it means you have to revise the markup language every time someone invents a new type of embedded object, whereas just using a single object tag for everything means your browser can determine the type of content from the MIME content type of the object and render it if supported.

      Excellent point, give the browser an <object> tag, with width and height and a link, and if the link is HTML an <iframe> is created, or for an SWF the flash plugin is called. I don't know if all custom parameters can be accomodated, but I guess it's reasonable.

      However, XHTML does need a modification IMHO: the spec states that XHTML which isn't well formed must not be rendered - I think it would be better to require the browser display a page saying something along the lines of "this page is broken, click this button to try and fix it - it may not render correctly".

      Browser makers will seemlessly fix coding errors rather than display an error message first because it's better for the end users.

      Browser makers serve their users, not standards people. It's in their best interest just to correct and display the code, and it's pretty easy. <p>'s can't be nested, so if you encounter a <p> before a closing </p>, just create the closing paragraph tag. Incorrectly nested tags (like <b><i></b></i>), just switch them around, no problem.

      --
      Damn, I already moderated this topic. Now I'll have to log in with my sock puppet to comment.
    82. Re:Absolutely right by fbartho · · Score: 1

      Would you mind actually sharing that base layout, in some form or another? I've gone to css layouts several times, and read page after page of css tutorials, and guides. CSS Zen garden and the rest, and there are so many gotchas and details that drive me nuts, I find one little neat feature, and then find a second, and then they are mutually exclusive, or I don't understand how one affects the other. Trying to build a whole system from these snippets step by step has seemed incredibly painful, and I feel like I must be doing it wrong. I've gone through the attempt to learn once a year for 3 years now. I'm definitely a backend type coder for the most part, and so have really stayed away from user interfaces in most languages I've used unless they have a good guibuilder, but HTML ajax and the like don't really have that (correct me if I'm wrong!), so my work on the web has been of a much more functional nature than pretty. Table layouts have always made sense to me, but I've read all the reasons why that breaks things, and is bad unless you're intentionally displaying tabular data.

      Follow up question is how do you code your frontend side, do you use a flattext editor (with/without syntax coloring) and preview in a standards following browser every time you save? Or do you have a good IDE that shows you side by side as you code how your changes will affect the layout? (and is it standards following?, because I've seen MSVisualStudio and Eclipse and Dreamweaver with various plugins, but the output in their viewer never looks the way it looks in the end: Firefox or ie for that matter) I've just learned to use several ides side by side and use them to validate the code, and use the browser to preview until things look acceptable.

      --
      Gravity Sucks
    83. Re:Absolutely right by background+image · · Score: 1

      Even the earliest version of the CSS 2 spec has passed its ninth birthday.
      Why should a web developer use a brand new web standard that requires the use of such an outdated and difficult-to-use spec? Making web pages to standards won't be worth the extra time until 90% of surfers are using fully CSS3 compliant user agents. That still looks a long way off.

      And then, no doubt, people like you will be telling us that there's no point in making web pages to standards until 90% of users are using fully CSS4 compliant user agents.

      Anyhow, since when is CSS 2 'outdated'? Not only was the CSS 2 spec most recently updated YESTERDAY, but it's a specification that's actually tailored to the real-world implementations:

      CSS 2.1 represents a "snapshot" of CSS usage: it consists of all CSS features that are implemented interoperably at the date of publication of the Recommendation.

      As for your claim that the CSS specs are 'difficult-to-use,' in what profession other than web development have you ever heard so many people whine about having to learn the basic tools of the trade?

    84. Re:Absolutely right by Allador · · Score: 1

      I'd be real surprised if MS didnt end up implementing the WHATWG's HTML5. Thats of course assuming that everything around HTML5 works out as expected.

      But the functionality included in HTML5 are so damned compelling from a web-app developer's standpoint, that I expect it will create alot of demand.

      Of course, MS' release cycle timing of IE can be pretty strange, and that may be one of their biggest challenges.

      In any case, this HTML5 stuff is compelling. I sure do hope it makes some good progress.

    85. Re:Absolutely right by Doctor+Memory · · Score: 2, Insightful

      magine if web browsers were anal retentive and refused to display anything with the slightest syntax error If they'd been this way from the start, then there wouldn't be any problem. HTML would be just like a programming language: break the rules, pay the price.

      Imagine if your blog suddenly became undisplayable because commenter number 32 input some broken HTML Commenter #32 wouldn't have been able to input some broken HTML. If it was really important to keep HTML valid, then blog software would have correctness-checking, and submitting borked HTML would result in "The comment you entered did not pass HTML validation. Please check any HTML tags you may have entered and correct any errors."

      Imagine that the slightest syntax error from Google Analytics, Google AdWords, or anything else you embed into your site could make your site completely unavailable. I imagine that anybody supplying ads would make damn sure their HTML was valid, since the clients don't care whose fault it is, they just want their ads to show up.

      Sure, I know we can't suddenly flip a switch and declare that all HTML must be valid and well-formed from now on, I'm just saying that if we'd treated HTML the way we treat programming languages, we'd be in much better shape today. Too bad HTML tags weren't defined as a bunch of PostScript macros....
      --
      Just junk food for thought...
    86. Re:Absolutely right by background+image · · Score: 1

      Would you mind actually sharing that base layout, in some form or another?

      It's a heavily modified form of this layout.

      Follow up question is how do you code your frontend side...

      Pretty low-tech really--

      Tools:

      As for the process, I write the markup, then write the CSS with frequent tests in a compliant browser (I use Firefox, but Opera or Safari would work equally well--even IE7 is not too bad for this--along with occasional adjustments to the html and a few trips to the validator just to catch any typos. The last step is browser testing, but this is usually just a matter of fixing one or two IE float/haslayout bugs and fixing the box model problems in IE 5.x Win.

      The key as I see it to successful HTML/CSS development in applications is to develop the markup and CSS as much as possible separately from the logic, and to always use the simplest possible markup with meaningful classes and ids but with absolutely no presentational attributes in the HTML for application output. I've spent more hours trying to fix scripts and code that thought it'd be a great idea to hardcode shit like "<td background="#ffcc00">Foo</td>" than it ever took me to learn to use CSS in the first place.

      A modular approach works well; you can design the 'page' markup and CSS as one item, and then design each of the different sorts of output as individual components, copy them into the page to make sure you haven't borked your layout accidentally, then build the logic that outputs the HTML you designed (or pass the code off to whoever's going to be doing that job).

      I suggest designing the HTML separately as a means of helping to bugfix the back end stuff--if the HTML on its own was ok, any later problems must be in the application logic.

    87. Re:Absolutely right by Allador · · Score: 1

      I love web standards. They're made from this naive academic ivory tower with absolutely no recognition of the commercial or aesthetic requirements of the actual web as it's used by... everybody else, I guess. I cant speak to whether some of the earlier w3c specs were like that, but I dont think thats an accurate representation of this group.

      WHATWG which this is based on is basically the Safari folks, the Opera folks, and the Mozilla folks. Most of those are pretty pragmatic. The Opera folks in particular I'm excited to see involved. They do some really neat work.

      And the w3c group is alot of the same people as the WHATWG group.

      Plus the group is structured to be more open than typical, allowing many outside experts to participate.
    88. Re:Absolutely right by rastoboy29 · · Score: 1
      Yeah but you're forgetting one thing--MS is definitely on the defensive in the browser wars right now. I'm seeing Firefox super everywhere these days--WAY different from 5 years ago.

      I believe they will be forced to comply, believe it or not.

    89. Re:Absolutely right by Anonymous Coward · · Score: 0

      I went on the WHATWG and W3C HTML lists for a while. There are 3 kinds of people on there.
      1. Browser developers trying to collaborate (on some level)
      2. Some guys who make useless validity checkers who get really annoyed at the mere mention of deprecating tags
      3. People trying to move html forward by revolutionising it

      There are some entrenched views on there, and it's not a friendly or welcoming place, even for an experienced html developer.

    90. Re:Absolutely right by porneL · · Score: 2, Informative

      HTML 5 revived <embed>, <iframe> and added <video> precisely because <object> has failed. It turned out to be too difficult to implement interoperably -- you have one element, that might be an image, a page, a video, an applet or any plugin content, but you can never be sure what it is, because it's dependent on a remote resource and can even change dynamically. It must have DOM API for all of possible content types. It sometimes has intrinsic dimensions, sometimes it hasn't. And on top of it all, Eolas has been given patent for its most obvious implementation.

      HTML 5 has fully documented parsing, including error handling. So you have unambiguousness of XML (handling of every possible input is covered by the spec) with fail-safety of real-world HTML (because users prefer browsers that don't show Yellow Screen of Death, ever).

    91. Re:Absolutely right by drew · · Score: 1

      I'll be damned if that doesn't sound like the dumbest idea I've ever heard for a web standard. We've had, what, 15 years of try to figure out what's the best way to handle "failure modes" for content that doesn't follow the spec. And now somebody's trying to write a spec to tell people how to not follow it. Gluttons for punishment, are we?

      --
      If I don't put anything here, will anyone recognize me anymore?
    92. Re:Absolutely right by drew · · Score: 1

      I'd be even more surprised if they actually ended up doing a halfway decent job of it.

      --
      If I don't put anything here, will anyone recognize me anymore?
    93. Re:Absolutely right by larry+bagina · · Score: 1

      javascript does define when a semi-colon (;) is optional, though.

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

    94. Re:Absolutely right by Anonymous Coward · · Score: 0

      I once listened in on one of these working groups. During the call they spent 3/4 of the time arguing whether or not they should call their documentation and other products "artifacts." You see, some members thought that "artifact" was a horrible word because it describes dead things.

      So yes, cynacism towards W3C is well warrented.

    95. Re:Absolutely right by sco08y · · Score: 1

      If you don't like the state of HTML, come over and help make it better.

      A lot of folks think that many of the basic concepts underlying HTML (and XML...) are utterly wrong-headed. I don't mean to accuse you of groupthink, but I doubt that the working group would be even remotely open to the idea that they should scrap it and start over from scratch.

    96. Re:Absolutely right by metamatic · · Score: 1

      The only reason 4 equal height columns is difficult is IE crapulence.

      --
      GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
    97. Re:Absolutely right by metamatic · · Score: 1

      It doesn't prove anything, beyond your ability to move the goalposts.

      If you want fixed width columns, you can do that in CSS too. In fact, it's easier than having all columns fluid. I picked all columns fluid because that's the more difficult case.

      --
      GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
    98. Re:Absolutely right by styrotech · · Score: 1

      For instance, CSS 1.0 had no (official) way of creating columns, and creating layouts with more than 2 columns was particularly difficult/complex. WTF! Nobody who worked on that standard had ever looked at a newspaper before? None of them had ever seen a news website before? It seems to me (a practical person) that if you're going to make a web standard to replace table layouts you should first figure out what people were using the table layouts for (columns mostly!) and provide the same functionality.


      CSS 1.0 had very little to do with layout and was actually quite a simple spec. Its main goal was text styling (ie banishing the FONT element etc). There wasn't any complex layout happening back then anyway. CSS 2.0 introduced a more complete layout system nearly 10 years (and many generations of browsers) ago, but there is still a lot of useful layout functionality in there I'd like to see implemented in most browsers (IE mainly, but the others still have the odd issue here and there).

      But, hey, what do I know? I'm just the poor sucker trying to get web pages to actually work, when JScript and Javascript have totally different ways of doing mundane things for no reason. e.g. textContent vs. innerText-- hey Firefox, 'innerText' matches 'innerHTML', why did you implement the exact same function with a worse name? Not that Javascript/JScript has any naming conventions whatsoever anyway... WTF is "XMLHttpRequest?" The naming rule is "the first acronym is capitalized but the second one isn't?" Forgetting the fact that the function has absolutely nothing to do with XML whatsoever. Go figure.

      I hate web standards.


      Ummm none of that stuff you claim to hate is "web standards" it's all vendor specific stuff. Do you really think that web development would be in better shape than it currently is if there were less standards in place?
    99. Re:Absolutely right by metamatic · · Score: 2, Insightful

      Nobody in the HTML group thought columns would be useful either, apparently. As I said, HTML 1.0 and HTML 2.0 lacked any kind of columns or tables.

      No, the idea was to build up the standards gradually. Start with the simple stuff and then move on to the more complicated problems. You know, good software engineering. Plus HTML was never intended to be a page description language. Computers at the time didn't have the kind of huge high-resolution screen that would make multiple columns a good idea.

      (In fact, plenty of us still don't think they're a good idea on screens.)

      --
      GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
    100. Re:Absolutely right by Anonymous Coward · · Score: 0

      Anyone who uses web browsers as admin tools deserve what they get. HTML and such are not supposed to be used for application programing, but document layout (and it sucks at that to). Its really sad that i have to use a router that uses a web page to configure it (eeew, very, very, eeew).

    101. Re:Absolutely right by styrotech · · Score: 1

      The "rules" are stupid. Do you know how hard it is to make a 3-column or 4-column content site using CSS 1.0? Is it even possible? Yet I can "break" the rules, use table cells as layout, and accomplish the same thing in seconds.


      If an HTML table can do what you want, then the CSS spec isn't your problem - Internet Explorer is. For 9 years now the CSS 2 spec has contained functionality to display arbitrary HTML elements as tables, rows, cells etc.

      http://www.w3.org/TR/CSS21/visuren.html#display-pr op

      Just for a laugh try this in Firefox:

      <html>
        <head>
          <style>
          div { display: table;
                width: 50%;
                border: 1px solid;
                border-collapse: separate;
                border-spacing: 1em; }
          p { display: table-cell;
              border: 1px solid;
              padding: 1em; }
      </style>
        </head>
        <body>
          <div> <!-- the div is only here to indicate the width and borders -->
              <p>The "rules" are stupid. Do you know how hard it is to make a 3-column or
              4-column content site using CSS 1.0?</p>
              <p>The "rules" are stupid. Do you know how hard it is to make a 3-column or
              4-column content site using CSS 1.0? Is it even possible? Yet I can "break"
              the rules, use table cells as layout, and accomplish the same thing in seconds.</p>
              <p>Is it even possible?</p>
              <p>Yet I can "break"
              the rules, use table cells as layout, and accomplish the same thing in seconds.</p>
          </div>
        </body>
      </html>
      Don't blame the CSS spec for the limitations of Internet Explorer.
    102. Re:Absolutely right by Anonymous Coward · · Score: 0

      This, IMHO, is where the authors of HTML5 should focus their efforts. Create a Dreamweaver like (or perhaps a lighter product like coffee cup or Mozilla Composer) wysiwyg, HTML editor that produces correct, strict HTML 4.01 pages. If a new standard is to be created, it should be a minor release than could turned out in months, not years (HTML 4.1?).
      Then, brand and market ("Is your browser 4.1 compliant? If not, download the new X browser!") the new standard with links to download one of several compliant browsers.

      Problem solved.

      By the way, what kind of code does Mozilla Composer or Nvu produce?

      .

    103. Re:Absolutely right by Elite_Warrior · · Score: 1

      i guess they cant leave html anyways.. soon we'll hear a WYSWTF editor for it too

    104. Re:Absolutely right by falconwolf · · Score: 1

      I'm a participant in the HTML Working Group [w3.org] and I can tell you that this is incorrect. You're thinking of XHTML2, not HTML 5. XHTML2 has the XML parser strictness and pages will fail to display if they're not well-formed. HTML 5 is going the complete opposite direction, assuming that people will code poorly and defining failure modes for browser vendors to follow when that happens.

      Which is why html 5 is bad. Unlike xhtml which is supposed to force you to write valid code, html 5 encourages bad code. We'll end up with even more spagetti code.

      Falcon
    105. Re:Absolutely right by Anonymous Coward · · Score: 0

      If no browser accepts it, the developer will have to fix it or get fired. Unless the developer works for Microsoft.
    106. Re:Absolutely right by TheoMurpse · · Score: 1

      HTML5 is the result of the hard work done by the Web Hypertext Application Technology Working Group (WHATWG).
      That reminds me of a joke. So Håkon Wium Lie and Bill Gates are sitting around talking about the future of the web. Bill Gates grasps at his scalp and screams, "What wig!?"

      And Slashdot really needs to allow the interrobang character.
    107. Re:Absolutely right by Bogtha · · Score: 1

      It's senseless to make a website owner put their entire site on the line when they choose to embed content from comment authors, Google Analytics, Google Adwords, etc.

      They already do that. The Google things that you mention are basically JavaScript provided by a third-party that executes in the security context of your own domain. They have the ability to totally rewrite and/or destroy your page, steal your visitors' cookies, or break things in any other kind of way. People rely on this not happening because if Google put out code that broke things for people, they would quickly lose their entire userbase, so it's in Google best interests to do everything possible to avoid this.

      As for comments, if you are blindly outputting whatever code your commenters are submitting, then you've already got a broken website that's vulnerable to things like XSS attacks, worms or simple crapfloods. The only secure way of handling user-submitted content is to parse it, drop anything that isn't whitelisted, and serialise it again. That takes care of well-formedness too, so you aren't going to see XML fatal errors. Furthermore, if any software does have bugs of this nature, they will be immediately apparent showstoppers, so they will get fixed immediately.

      --
      Bogtha Bogtha Bogtha
    108. Re:Absolutely right by Bogtha · · Score: 1

      Imagine if web browsers were anal retentive and refused to display anything with the slightest syntax error.

      They already do this in many cases. When your browser downloads a corrupted JPEG image, it doesn't guess at what the picture should have looked like, it simply displays a "broken" icon, or displays the alt text, or displays an error message, or displays as much of the image that had been downloaded until the error occurred. This is equivalent to the XML error handling you are complaining about. In fact, broken documents silently being guessed at is pretty unique to HTML. Are there any other situations where people demand to be excused from their own mistakes and bugs and demand other people fix the problem for them?

      --
      Bogtha Bogtha Bogtha
    109. Re:Absolutely right by Bogtha · · Score: 1

      Well, with how XML works, a WYSIWYG HTML editor should be able to easily produce valid and semantic code

      This is not true. Firstly, a WYSIWYG HTML editor by definition is focused on looks and not semantics. An editor that produces semantic code would be a WYSIWYMean editor. Secondly, it's got nothing whatsoever to do with "how XML works". Producing valid, semantic XHTML is identical to producing valid, semantic HTML. XML has nothing to do with "semantics", it's purely aimed at solving the syntax problem, and semantics is outside its scope.

      --
      Bogtha Bogtha Bogtha
    110. Re:Absolutely right by Bogtha · · Score: 1

      I've met many a web designer who would be stumped for a few seconds if I ever asked them "Is ... W3C compliant?"

      I'd be stumped too. The question makes no sense. The W3C is an organisation, not a specification. You can't "comply" with an organisation. The W3C produces many specifications, nothing on earth can comply with all of them because they address different areas. And while you might say "well that means is the HTML valid", in my experience, somebody asking about "W3C compliance" is under various misconceptions like the idea that CSS layouts require XHTML, or that <font> elements aren't valid, so guessing at what they might mean by "W3C compliance" is basically trying to figure out what weird ideas they have about "W3C compliance".

      --
      Bogtha Bogtha Bogtha
    111. Re:Absolutely right by jZnat · · Score: 1

      Well, XHTML seems to be the only XML-based language that can only be reliably written by hand and not generated by a program. MathML and SVG can do it just fine (which are very related to XHTML), why not XHTML?

      --
      'Yes, firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
    112. Re:Absolutely right by tepples · · Score: 1

      XHTML seems to be the only XML-based language that can only be reliably written by hand and not generated by a program. Citation needed. If a program builds a DOM tree and serializes it to XHTML, then isn't the result automatically well-formed?
    113. Re:Absolutely right by jZnat · · Score: 1

      By generated, I mean from a user program, not a DOM tree. For instance, OpenOffice.org Math can generate perfectly valid MathML from user input. Several vector graphics programs can generate perfectly valid SVG from user input. However, there doesn't seem to be any WYSIWYG XHTML editors that generate perfectly valid XHTML.

      --
      'Yes, firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
    114. Re:Absolutely right by Anonymous Coward · · Score: 0

      A big part of the reason MSIE is the way it is, is that it had to be compatible with Netscape back in the day.
      Unlike Netscape IE was never a tag-soup parser. It always attempted to generate a tree where Netscape would just treat each tag as a toggle.

      In fact, IE4 had a feature where it said something like

            "[lightbulb] Problems with this page may prevent it from being displayed correctly in the future"

      in the statusbar whenever it saw something so grossly broken that it had a hard time generating a tree for it. This helped weed out a lot of pages using "markup" like this:

                        <b>I want this to be bold <i>here is italic</b> Now bold is turned off <fontsize 100>BIG</i>

      A lot of today's brokenness can actually be traced to crap Mosaic and Netscape browsers from the 90'es.

    115. Re:Absolutely right by tepples · · Score: 1

      By generated, I mean from a user program, not a DOM tree. How is a user program supposed to represent a document, other than as a DOM tree?

      Several vector graphics programs can generate perfectly valid SVG from user input. Inkscape represents the image being edited as a DOM tree, which the user can edit directly.

      However, there doesn't seem to be any WYSIWYG XHTML editors that generate perfectly valid XHTML. Just because something doesn't exist as of right now doesn't mean that it can't exist. Have you filed defect reports against your favorite WYSIWYG editor?
    116. Re:Absolutely right by Anonymous Coward · · Score: 0

      The new coding standard will include Esther Dyson's genetic code, which she wrote about today in the Wall St. Journal.

    117. Re:Absolutely right by rikkus-x · · Score: 1

      No, that's not anything like what was discussed.

    118. Re:Absolutely right by hixie · · Score: 1

      As far as I can tell it's exactly what was being discussed -- literally, I mean, exactly, the great grandfather even linked to the same page. How is it not what was being discussed? I don't understand what you want, if that isn't it.

    119. Re:Absolutely right by rikkus-x · · Score: 1

      "a specification that describes how to handle invalid content instead of pretending it's not important" is what we would like. The spec you linked to doesn't help with that, sadly.

    120. Re:Absolutely right by hixie · · Score: 1

      How does it not? The HTML5 parser spec (linked to above) lists exactly how to handle invalid content, explicitly specifying required error handling behaviour as well as specifically stating what is an error and what isn't, indicating its importance. It gives exact rules for parsing literally any sequence of Unicode characters, valid or not. (The spec even says how to handle the content after its parsed, even if its not valid, or e.g. if invalid content is created in the DOM using script, though that's in other parts of the spec than that cited above.)

  2. This one always amuses me.. by Xiph · · Score: 1

    And yet another reason was that HTML was based on the older and more immense SGML language, where as XHTML was to be based on XML, which provided a more simplified rework of SGML.
    It appears the author doesn't know that xml is a subset of sgml
    --
    Blah blah sig blah blah blah irony blah blah
    1. Re:This one always amuses me.. by $1uck · · Score: 1

      I have the joy of working with both (SGML in the Airforce and XML in the army). It was always my understanding that XML was inspired by SGML but it is NOT a subset/sgml standard (HTML is). Xml documents do not require DTD to be valid. I thought SGML did (its been a long time, I think you might be able to specify the dtd inside the sgml document, but you still needed it).

  3. Regress is the New Standard for Progress by ronadams · · Score: 4, Insightful

    TFA makes several great points about how this seeming sentiment of "we'll stick with the HTML we know and love" is more an unwillingness to change than it is to update a standard. The whole idea of XHTML was to provide a segueway into an altogether new way of distributing content. This really seems a regression more than anything. What does XHTML fail to deliver that would cause WC3 to shy away from the previously hardline (and appropriate, IMHO) stance of "this is the new HTML, get used to it"?

    --
    Appended to the end of comments you post. 120 chars.
    1. Re:Regress is the New Standard for Progress by Threni · · Score: 1

      Precisely. Are the W3C just bored, or does this solve problems that XHTML can't/causes?

    2. Re:Regress is the New Standard for Progress by Anonymous Coward · · Score: 4, Insightful

      Ill tell you why web developers do not adopt XHTML, its not because of reluctance to change, its because XHTML OFFERS NO BENEFITS TO HTML 4.

      Why would anyone in their right mind spend time updating from HTML 4 to XHTML 1.1 when there is no visible benefit and a LOT of pain.

      HTML 5 FINALLY introduces features that web developers NEED. Things like native client side validation, canvas and menu elements. These are things that we have been crying out for years but W3C disappeared up their own self-validating a**es. If they had introduced these features into XHTML then I am sure it would have been adopted by browsers and developers alike.

      The lack of support from a certain vendor would not have mattered because they would have been pressurized into supporting the standard by the >10% share of browsers that would support it.

      P.S. Posting in good 'ol plain text :)

    3. Re:Regress is the New Standard for Progress by TheSunborn · · Score: 1

      The reason might also be that Neither IE6 nor IE7 can really show xhtml, and insted treat it either as 'tag soup' or a tree, depending on your content-type header

    4. Re:Regress is the New Standard for Progress by Anonymous Coward · · Score: 1, Insightful

      There may be some truth to this, but what if it did? What are the benefits? As TFA suggests there are no real-world benefits to using XHTML. That is starting from a new project. The incentive to change an existing site is negative.

      XHTML needed a 'killer tag', but it was just a lame extension to HTML 4. If they had provided these features then it would have been accepted (I think its clear now the industry does not accept XHTML).

      No, XForms do not count, the key is backwards compatibility.

    5. Re:Regress is the New Standard for Progress by LingNoi · · Score: 2, Insightful

      Things like native client side validation, canvas and menu elements. These are things that we have been crying out for years but W3C disappeared up their own self-validating a**es.


      Even with client side validation you would still have to validate it server side anyway unless you are a crap developer.

      I would rather have xhtml then go back to the mess that html was with its styling embedding directly into the tags and I know that if its allowed its going to happen. Some day I am going to get the tag soup code from the developer working with me, I can feel it.

      Give me clean code and forced usage of CSS any day.
    6. Re:Regress is the New Standard for Progress by Anonymous Coward · · Score: 0

      Even with client side validation you would still have to validate it server side anyway unless you are a crap developer.


      I knew that was coming!

      Of course you have to check server side too, but generic client side validation would stop web developers having to constantly re-invent the wheel.

      Please respond to my original argument that XHTML has no benefit over HTML, except that its XML (yes you can separate style from content with HTML). Where is the client side storage in XHTML? Where is the canvas element?

      To me as a web developer, I feel this has all been about forcing XHTML upon people and I am very very happy that sanity is finally returning to the w3c.

      There is nothing wrong with wanting your HTML to be valid XML, its the FORCING everyone else to do it that I dont like (esp when combined with no benefit).
    7. Re:Regress is the New Standard for Progress by Bogtha · · Score: 1

      I would rather have xhtml then go back to the mess that html was with its styling embedding directly into the tags

      Give me clean code and forced usage of CSS any day.

      There is no difference between HTML 4.01 and XHTML 1.0 in this regard. You can have "styling embedding directly into the tags" with XHTML and you can use CSS with HTML. Forget the idea that this has anything to do with CSS, it's a red herring.

      --
      Bogtha Bogtha Bogtha
    8. Re:Regress is the New Standard for Progress by Anonymous Coward · · Score: 0

      I agree. There is a fairly big difference between 'make sure this input of this form is all text' that the client can do and question again a dozen times before requesting the server do something, and the server, once getting the request to make sure things are correct. In the first case, the server has to validate all input each time, the later, the server has to validate once (to make sure someone isn't messing with the client side code etc).

    9. Re:Regress is the New Standard for Progress by Anonymous Coward · · Score: 0

      segueway
      ...really???

      Wow.
    10. Re:Regress is the New Standard for Progress by maxume · · Score: 1

      What does XHTML fail to deliver that would cause WC3 to shy away from the previously hardline (and appropriate, IMHO) stance of "this is the new HTML, get used to it"?

      Users.

      --
      Nerd rage is the funniest rage.
    11. Re:Regress is the New Standard for Progress by tknd · · Score: 2, Insightful

      Ill tell you why web developers do not adopt XHTML, its not because of reluctance to change, its because XHTML OFFERS NO BENEFITS TO HTML 4.

      Incorrect. Web developers don't adopt it because they're not required to. XHTML offers one big benefit that many bad web developers, like yourself, fail to see. That is strict parsing and failures associated with parse errors. When you write a program, the compiler/interpreter expects you to write code that adheres to the syntax defined by the language. Failure to do so results in an error. There is exists no such thing for HTML4 markup, therefore you can gloss over several parser errors and never notice them. XHTML was out to fix that, but because the W3C has such a shitty track record with the other half of defining standards (which is testing, quality assurance, and certifcations), nobody bothers.

      The parser should be anal. We've already developed and studied parser technology to the point where it is pretty standard or even automated to write a parser as long as you have a grammar. Having an anal parser is almost "free" testing--something many web developers need more training on.

      Why would anyone in their right mind spend time updating from HTML 4 to XHTML 1.1 when there is no visible benefit and a LOT of pain.

      It's only painful because you've been doing it wrong the entire time and you were allowed to get away with it.

      HTML 5 FINALLY introduces features that web developers NEED. Things like native client side validation, canvas and menu elements. These are things that we have been crying out for years but W3C disappeared up their own self-validating a**es. If they had introduced these features into XHTML then I am sure it would have been adopted by browsers and developers alike.

      No, you don't need those things. You think you do, but you don't. The internet was intended to spread information. Text and hyperlinks are a great way to get that across. But somewhere, someone(s) started playing with other types of content like images, animated images, built-in programmability (Javascript/ECMA script), and embedded programs and other types of media (flash, video, audio). Now we have bloated pages, pages that mess with your computer, and a complete mess called the world wide web.

      I don't disagree that there are some benefits to having these things, but there's been an awful lot of hurt and pain caused by having them. Therefore, I believe it is much better to take a conservative approach to adopting standards that go beyond basic text. Once we've finally gotten that first step right, then maybe we'll get the others implemented better. But everyone's always quick to define the solution but never the problem that the solution is to solve. Because of that we end up with standards and solutions that have issues and are fairly limited in their lifespan or application.

    12. Re:Regress is the New Standard for Progress by Door+in+Cart · · Score: 1

      Mod parent up. Internet applications need their own syntax, protocol, and user agents to be written from the ground up, not to be further imposed on the hypertext markup language and its web browsers. XHTML was a much needed improvement in mere terms of its mandate for well-formed markup (not to mention the doors it opens through its extensibility), but it unfortunately followed HTML's misguided path of mistaking hypertext for interactive software, thereby including such kludges as forms and scripts. HTML and XHTML only need those features because there is no competing alternative.

    13. Re:Regress is the New Standard for Progress by RAMMS+EIN · · Score: 2, Insightful

      I about couldn't disagree more.

      ``Ill tell you why web developers do not adopt XHTML, its not because of reluctance to change, its because XHTML OFFERS NO BENEFITS TO HTML 4.''

      On the contrary. XHTML, contrary to HTML, is easy to parse. There is a whole slew of tools available for parsing and processing XML documents, which can be used with XHTML straightforwardly (by virtue of XHTML being XML). Now, these benefits might be external to web developers, but, eventually, they should (and have) come back to them. Some XML tools can be put to good use by webmasters. If the webmaster outputs valid XML, that is.

      ``Why would anyone in their right mind spend time updating from HTML 4 to XHTML 1.1 when there is no visible benefit and a LOT of pain.''

      If your HTML was good, there is very little pain. If the HTML was crap, then, perhaps, you shouldn't bother with updating indeed.

      ``HTML 5 FINALLY introduces features that web developers NEED.''

      One of the key benefits of XHTML is that other XML formats can be used together with it. This allows an infinite number of useful formats to be developed orthogonally, and then put together as the need arises.

      ``Things like native client side validation, canvas and menu elements. These are things that we have been crying out for years but W3C disappeared up their own self-validating a**es. If they had introduced these features into XHTML then I am sure it would have been adopted by browsers and developers alike.''

      The trick is, of course, that with HTML, you do indeed need to put the features in the spec. With XML, you can keep things modular. MathML doesn't have to be in the XHTML spec to make it valid to embed MathML in an XHTML document. Of course, as long as user agents don't implement the necessary support, you're stuck no matter if the spec includes your favorite feature or leaves it up to a separate spec. And that's where the real issue is as far as features are concerned. The browser vendors don't have to wait for W3C to cook up something before they implement it, and, conversely, just because the W3C has cooked up something doesn't mean the browser vendors will implement it.

      ``The lack of support from a certain vendor would not have mattered because they would have been pressurized into supporting the standard by the >10% share of browsers that would support it.''

      In what reality?

      --
      Please correct me if I got my facts wrong.
    14. Re:Regress is the New Standard for Progress by Stu+Charlton · · Score: 1

      No, you don't need those things. You think you do, but you don't. The internet was intended to spread information. Text and hyperlinks are a great way to get that across. But somewhere, someone(s) started playing with other types of content like images, animated images, built-in programmability (Javascript/ECMA script), and embedded programs and other types of media (flash, video, audio).

      Information is not just text. The architecture of the web was to allow *any* resource to be hyperlinked, including mobile code. The web never would have become a popular medium (no more than Gopher was in 1993, anyway) if it were just text on a screen. The addition of IMG and TABLE had a lot to do with its growth.

      Therefore, I believe it is much better to take a conservative approach to adopting standards that go beyond basic text.

      Do you even live in the same world as we do? It's not the 1980's man.

      XHTML offers one big benefit that many bad web developers, like yourself, fail to see. That is strict parsing and failures associated with parse errors

      XHTML offers one big downside, that many bad programmers, like yourself, fail to see. It doesn't follow the Robustness Principle.

      The point is not that there should be warnings about bad markup, but a user agent shouldn't reject it completely. Whereas XML parsers tend to blow up way too easily.

      You can't enforce strictness unless you control both the producer & consumer code. A diverse marketplace of parsers and editors and renderers makes for a mess, and strictness just forces end-users to deal with the mess (denying access due to strictness), when it's not their job. It takes *years*, if not decades, for multiple code lines to interoperate on a complex standards. As an example, for a long time, there was only one mainstream implementation of the TCP/IP stack out there: BSD.

      Beyond this, there's an issue of evolvability & extensibility. XML has been twisted beyond recognition by misguided attempts to impose order and predictability with the introduction of XML Schemas. Whoops, there goes the extensibility. Oh, but I can version my schemas & design for extensibility! Actually, that's a pretty hard thing too that they're still working on fixing. In particular, the Unique Particle Attribution rule has had a major stifling effect.

      There's one good feature of XHTML, today, in my opinion: parsing is cheaper for Microformat consumers. Good HTML parsers are hard to come by, XML parsers are a dime a dozen.

      --
      -Stu
    15. Re:Regress is the New Standard for Progress by Excors · · Score: 1

      There's one good feature of XHTML, today, in my opinion: parsing is cheaper for Microformat consumers. Good HTML parsers are hard to come by, XML parsers are a dime a dozen.

      I believe that's a good feature of HTML5 too: there are already parsers in Python, Ruby, Java, PHP, and partial ones in C++ and JavaScript, and maybe some others, all implementing the same specified algorithm (and passing the same set of test cases) and being sufficiently compatible with real-world HTML pages. I don't suppose they'll ever be as numerous as XML parsers, but it already seems a significant improvement compared to the pre-HTML5 parsing situation and hopefully people will no longer claim that XML is significantly easier and faster to parse than HTML.

    16. Re:Regress is the New Standard for Progress by tepples · · Score: 1

      There is no difference between HTML 4.01 and XHTML 1.0 in this regard. You can have "styling embedding directly into the tags" with XHTML and you can use CSS with HTML. Forget the idea that this has anything to do with CSS, it's a red herring. Then what advantage does XHTML 1.1 have over XHTML 1.0 Transitional for somebody who follows the XHTML Strict guidelines except for a few minor deviations to deal with mistakenly deprecated elements and attributes? Even if I do styling with CSS, what do I use instead of the deprecated and removed <li value="13">? How do I represent for example that a list starts at item 13, which in at least this article is content, not presentation?
  4. hmm. by apodyopsis · · Score: 3, Interesting

    are they going to enforce all the current browsers to support it fully and correctly as well?

    or will some browsers go their own way with "extensions" and "implementations" specific to their own system like last time.

    1. Re:hmm. by ronadams · · Score: 2, Funny

      are they going to enforce all the current browsers to support it fully and correctly as well? or will some browsers go their own way with "extensions" and "implementations" specific to their own system like every time. Fixed.

      No, the W3C has no authority or ability to enforce it. Browsers will do what they do. Hopefully, what they do is at least in the general neighborhood of the standards. Rules were made to be broken, and Web Standards were made to be bastardized by incompatible browsers.
      --
      Appended to the end of comments you post. 120 chars.
    2. Re:hmm. by Anonymous Coward · · Score: 0

      Most of HTML5 was a collaboration between the folks behind mozilla, opera, and safari (you know the browsers that already try to find standards). Everyone knows that extensions are a bad idea at this point without standardization so I would guess that everyone (except MS) would be willing to play along. The forms section itself actually sounds really awesome.

    3. Re:hmm. by LiquidCoooled · · Score: 1

      I saw a glimmer of hope from the worst offender recently.
      Is Microsoft learning from Web standards mistakes?

      --
      liqbase :: faster than paper
    4. Re:hmm. by quanticle · · Score: 1, Troll

      Words are cheap. If you look at IE 7 you'll see that its not much more standards compliant than IE 6. In fact, it could be argued that its even less standards compliant, because it breaks with the de facto IE 6 standard.

      --
      We all know what to do, but we don't know how to get re-elected once we have done it
    5. Re:hmm. by AKAImBatman · · Score: 1

      Amen. Microsoft can talk when they at least have DOM 2 implemented. Until then, their promises of "standards compliance" are nothing more than an insult to the development community at large.

  5. The Author is Not Completely Wrong by ronadams · · Score: 4, Informative
    There was an interesting discussion about this in the xml-dev mailing list. Rick Jelliffe had this to say:

    XML was developed as a subset of SGML. Most of the ISO working group which looked after SGML were also involved with the creation of XML (Clark, Kimber, Bosak, also Goldfarb, Peterson, me, and others). The correction for SGML came out before XML was finally put as a recommendation (AFAIR) so there never was a time when XML was not a true subset of SGML. Where there were differences, ISO8879 was corrected specifically to make sure that XML was indeed a subset. In fact, Charles Goldfarb even said at one stage "XML *is* the revision of SGML" (debate on the revision of ISO 8879 had started years before: XML was the embodyment of that). XML can be argued as both the revision to and a subset of SGML. Hence my disappointment in anything new that seems to shy away from this path, like HTML 5 instead of XHTML.
    --
    Appended to the end of comments you post. 120 chars.
    1. Re:The Author is Not Completely Wrong by tolan-b · · Score: 5, Informative

      HTML 5 is also 'XHTML 5'. You can use well-formed XHTML style syntax, and deliver it with an application/xml or application/xhtml+xml mimetype, *or* you can format it HTML style and deliver it with a standard HTML mimetype.

      http://blog.whatwg.org/html-vs-xhtml

    2. Re:The Author is Not Completely Wrong by Chrisq · · Score: 1

      That is a relief for those of us who still use XSLT.

    3. Re:The Author is Not Completely Wrong by ronadams · · Score: 2, Interesting

      Intersting! That makes me a bit more hopeful for the standard. The whole idea is to move towards the "semantic web": say what you want, and render it in the most accessible ways possible. More and more sites and services are being presented in both a standard and mobile format, as well as several handicapped-accessible formats. More choices is a good thing.

      What I'm not seeing (perhaps because I haven't read the standard yet, or thought it through enough) is what HTML brings to the table that XHTML can't. Why bother with allowing the HTML mimetype, if it has no advantages other than it's what was done in the past?

      --
      Appended to the end of comments you post. 120 chars.
    4. Re:The Author is Not Completely Wrong by TapeCutter · · Score: 1

      "Why bother with allowing the HTML mimetype, if it has no advantages other than it's what was done in the past?"

      Because what was done in the past will be installed next Friday.

      --
      And did you exchange a walk on part in the war for a lead role in a cage? - Pink Floyd.
    5. Re:The Author is Not Completely Wrong by julesh · · Score: 2, Insightful

      Why bother with allowing the HTML mimetype, if it has no advantages other than it's what was done in the past?

      Because XHTML adoption has been slowed by a lack of backwards compatibility: you can't currently deliver XHTML in a standards-compliant way and expect it to work on anything other than a small minority of browsers. Sending the data with content type 'application/xhtml+xml' or whatever confuses the current installed base of internet explorer, making it an extremely bad idea, and probably unusable for general consumption sites for at least the next 5 years. See this excellent article for more reasons why this is a good idea.

    6. Re:The Author is Not Completely Wrong by GeckoX · · Score: 1

      Technically correct, and yet truly pedantic.

      It's a shame we can't serve XHTML with the correct content type reliably, this is true. Ideally we could. However, you suggest throwing the baby out with the bath water. Well formed XHTML served as HTML _still_ has most of the benefits of XHTML over HTML. Especially from semantic and accessibility viewpoints.

      --
      No Comment.
    7. Re:The Author is Not Completely Wrong by Excors · · Score: 1

      What benefits does XHTML-served-as-HTML have over HTML, in terms of semantics and accessibility?

      You can't use real XHTML features, like the ability to embed SVG, MathML, Ruby etc into your document, because you're limited to the subset that is compatible with real-world HTML. (That's "real-world" since XHTML-as-HTML is necessarily incompatible with theoretical HTML - HTML4 is defined as an application of SGML, in which "<br />" is equivalent to "<br>/", which causes problems if you ever try handling XHTML-as-HTML using SGML tools (like the W3C Validator), and everyone using XHTML-as-HTML is relying on the unspecified non-standard behaviour of web browsers.)

      I can't see how XHTML1 (even correctly served as XHTML) is more semantic than HTML4: it uses exactly the same elements and attributes with exactly the same meanings. I also don't see how it helps accessibility: it seems most assistive technologies just read the rendered document out of the web browser, and they don't care whether it was sent over the wire as HTML or as XHTML, and in any case there is not a significant difference between writing an HTML parser and writing an XML parser.

      Client programs can't use XML processing tools, since the majority of XHTML-served-as-HTML on the web is not well-formed and won't work unless you treat it as broken HTML. XML tools can be useful on the server but you might as well stick an HTML serialiser on the end before you send it to clients (which is no harder than sticking an XHTML-served-as-HTML serialiser on the end), since the underlying language is identical and HTML is better supported.

    8. Re:The Author is Not Completely Wrong by GeckoX · · Score: 1

      Wow did you ever miss the point, nice overshoot though, I'll give you that.

      If all markup were simply Well Formed, the web would be a better place. Developing markup in an xhtml-aware environment ensures your markup is well formed. This leads to semantically correct markup. This is a benefit for browsers and screen readers alike. This also tends to lead to better accessibility. THAT is why it is still better to develop in XHTML even if you end up serving it as HTML.

      Nice rant though.

      --
      No Comment.
    9. Re:The Author is Not Completely Wrong by julesh · · Score: 1

      Developing markup in an xhtml-aware environment ensures your markup is well formed.

      Developing markup in an html-aware environment ensures that it is well formed, also. It's not like there aren't tools that can generate correct HTML and/or enforce rules of correct HTML when the user writes his own content.

    10. Re:The Author is Not Completely Wrong by GeckoX · · Score: 1

      Except that HTML itself is not well formed in many areas, and worse, very few tools produce clean HTML.

      --
      No Comment.
    11. Re:The Author is Not Completely Wrong by tepples · · Score: 1

      very few tools produce clean HTML. That's why you fix your tools. Run HTML Tidy or other post-processing tools on your templates before plugging data into them. Or work with a DOM tree or XHTML code, and reserialize it into HTML 4 or HTML 5 for sending over the wire.
    12. Re:The Author is Not Completely Wrong by GeckoX · · Score: 1

      Why would I do that when I have lots of tools that work with XHTML just fine? Heck, any xml editor that supports DTD's produces clean XHTML.

      --
      No Comment.
    13. Re:The Author is Not Completely Wrong by tepples · · Score: 1

      Why would I do that when I have lots of tools that work with XHTML just fine? Because Microsoft Internet Explorer is not one of them. Still, if you have a working XHTML workflow, you could just reserialize any XHTML document to HTML before sending it over the wire.
    14. Re:The Author is Not Completely Wrong by GeckoX · · Score: 1

      First, you were talking tools, IE is not a tool, IE is a browser...you appear to be arguing a number of points on a number of fronts, but without providing context so others can follow your thought pattern.

      Anyways, secondly, _WHY_ reserialize as HTML if it's already XHTML? In one case, IE will render as HTML poorly, in the other case, IE will render as HTML poorly. The only thing you DON'T want to do is actually serve your XHTML _AS_ xhtml in the header to ensure IE will actually render it at all. Other than that, reserializing the entire thing as HTML is not only pointless, but actually a number of steps backwards.

      You give a lot of 'do this' instructions, but with absolutely no reasoning whatsoever. Care to explain? I'm not exactly one to 'go blindly where others have/n't gone before'.

      --
      No Comment.
    15. Re:The Author is Not Completely Wrong by julesh · · Score: 1

      Anyways, secondly, _WHY_ reserialize as HTML if it's already XHTML? In one case, IE will render as HTML poorly, in the other case, IE will render as HTML poorly.

      Because internet explorer will trigger its "quirks" (i.e. bug compatibility) mode if it doesn't detect a valid _HTML_ doctype declaration at the top of the file. XHTML does not allow such a declaration to be present. Sending XHTML to IE is a recipe for disaster: it processes valid HTML better.

      And you still haven't given any reason for preferring XHTML over HTML, other than that you've already made the switch. Well, fine. But why should anyone else?

  6. Cry for relevency by palladiate · · Score: 3, Insightful

    They can't let HTML die. The W3C would become irrelevant quickly if they stopped tweaking the language. Finally, even nomral users and web surfers have started to use HTML in web forums and MySpace (to usually garish effect, but still. XHTML just doesn't have the portability and ease of use that HTML did for things like forums.

    Take Fark for instance. After years and years, a critical mass of people are finally learning a, b, u, i, big, super, img, and other standard tags, most of which just don't work the same or at all under XHTML.

    Sadly, many useful old tags probably won't work in HTML 5, or not in any useful fashion. The W3C will most certainly mess with the language to bring it in line with XHTML conventions. They've already taken target="_blank" from us, what other useful gizmos are they going to futz with this time, bookmarks? You can pry my octothorpe from my cold, carpel-tunnel hands.

    Sure, CSS is damn useful and nobody generally liked frames. However, everything else about HTML was fine circa 1995. Maybe I'm being an old codger who still writes HTML pages without fancy crap like Frontpage, but I'm getting tired of their self-important crap. Breaking useful conventions just makes trying to communicate on the web that much harder. But, every time I tag font or add target="_blank", I do think about the W3C. Maybe that was just their goal all along.

    1. Re:Cry for relevency by Anonymous Coward · · Score: 1, Insightful

      They can't let HTML die. The W3C would become irrelevant quickly if they stopped tweaking the language. Finally, even nomral[sic] users and web surfers have started to use HTML in web forums and MySpace (to usually garish effect, but still. No one said HTML was dieing, you can always use a different doctype and the browser will compensate. That's why you are supposed to always declare one at the top of every page. No one is FORCING you to use any specific doctype.

      XHTML just doesn't have the portability and ease of use that HTML did for things like forums. Do you even know what you are talking about? You can still use all your forms as you did before, the only thing that changed is adding a / on a single line element and make sure you use all lowercase. Whoppdeefreakindoo! Again, this is completely irrelevant if you declare an older doctype. If you think that because you are using XHTML you can't use tables, you are mistaken. You are not required to conform to the WAI and WCAG, however for those with disabilities do appreciate it.

      Take Fark for instance. After years and years, a critical mass of people are finally learning a, b, u, i, big, super, img, and other standard tags, most of which just don't work the same or at all under XHTML. Or /. for that matter, yes most people don't pay attention to these things. In fact most people still use the font tag. But then again, so long as they declare the appropriate doctype its PERFECTLY OK TO DO!

      Sure, CSS is damn useful and nobody generally liked frames. However, everything else about HTML was fine circa 1995. Maybe I'm being an old codger who still writes HTML pages without fancy crap like Frontpage, but I'm getting tired of their self-important crap. Breaking useful conventions just makes trying to communicate on the web that much harder. But, every time I tag font or add target="_blank", I do think about the W3C. Maybe that was just their goal all along. Who says you need to use anything but notepad, vi, or emacs to create CSS or HTML? And as far as the self-important crap, WTF!?! These standards are for increased accessibility or are you completely obliviously to the meaning of self-important?

    2. Re:Cry for relevency by pete-classic · · Score: 1

      It would be trivial to have forum users post their comments with some simplified markup, (like: [b]wow![/b]) and then convert that to something that works with your site's stylesheet on the server side. You gain multiple advantages, and the entire freaking WWW doesn't have to be stuck in the '90s.

      Also, every line of my personal website (including the PHP and multiple style sheets) was written in GNU nano and debugged with Firefox and the W3C XHTML and CSS validators. Frontpage was not required!

      -Peter

    3. Re:Cry for relevency by HappyHead · · Score: 4, Informative

      After years and years, a critical mass of people are finally learning a, b, u, i, big, super, img, and other standard tags, most of which just don't work the same or at all under XHTML.

      Um, what? Seriously, the b, u, i and big tags are _exactly the same_ in XHTML. There was never a super element in HTML 4, it's just sup, and it's unchanged. The a tag does everything from HTML 4 the same way in XHTML. The only difference in it is that it's allowed extra attributes.

      Out of all of those things, the only one that's changed at all is the img tag, and that's only in two places - first, in XHTML you are required to provide an alt= attribute (instead of just strongly recommended like in HTML 4), and second, you have to close the tag properly, with a /> at the end.

      Frames are also still part of the XHTML spec.

      The font tag however, is gone and won't be missed any more than the blink tag was, by anyone other than frontpage (which absolutely loves adding thirty or so font tags in a row setting and unsetting the color 'white' from the text.

    4. Re:Cry for relevency by Steve001 · · Score: 1

      palladiate wrote:

      They can't let HTML die. The W3C would become irrelevant quickly if they stopped tweaking the language. Finally, even nomral users and web surfers have started to use HTML in web forums and MySpace (to usually garish effect, but still. XHTML just doesn't have the portability and ease of use that HTML did for things like forums.

      I think a reason that XHTML has not taken off is due to its unforgiving strictness. From what I understand, if you make a single mistake in XHTML the page will not work and for that reason it is not intended to be handwritten. But with HTML you often have different ways of achieving the same effect, such as with centering.

      Take Fark for instance. After years and years, a critical mass of people are finally learning a, b, u, i, big, super, img, and other standard tags, most of which just don't work the same or at all under XHTML.

      This is the reason for the continuing appeal of HTML: its simplicity. My understanding that XHTML requires is that document formatting be separate from the content of the document. Yet sometimes is so much simpler to use a CENTER tag versus having to mark a section of text with a customized tag and then go into a style sheet to center a single section of text.

      Sadly, many useful old tags probably won't work in HTML 5, or not in any useful fashion. The W3C will most certainly mess with the language to bring it in line with XHTML conventions. They've already taken target="_blank" from us, what other useful gizmos are they going to futz with this time, bookmarks? You can pry my octothorpe from my cold, carpel-tunnel hands.

      Sure, CSS is damn useful and nobody generally liked frames. However, everything else about HTML was fine circa 1995. Maybe I'm being an old codger who still writes HTML pages without fancy crap like Frontpage, but I'm getting tired of their self-important crap. Breaking useful conventions just makes trying to communicate on the web that much harder. But, every time I tag font or add target="_blank", I do think about the W3C. Maybe that was just their goal all along.

      I think what the only way that HTML 5 will succeed is if it continues to allow the use of "depreciated" tags as an option as a recognized part of the standard. It seems like the often the simple-but-works is being tossed away for the complex.

      Maybe what is needed are two different forms of HTML. One form would be a basic HTML with the commonly used tags (and designed for easy hand coding), and the second would be a high-level version that is considered "current" (and more appropriate for use of a webpage making tool). Since web browsers already have to handle so many version of HTML, doing this should not be difficult.

    5. Re:Cry for relevency by AceJohnny · · Score: 1

      The W3C would become irrelevant quickly if they stopped tweaking the language. That's the essence of where the W3C went wrong: it's supposed to be a technical group existing solely to promote better standards.

      If they promote standards just to justify their existence, then they've fallen for the Dark Side of Committees, and should just be brought out back and shot in the head.
      --
      Misleading titles? Inflammatory blurbs? Keep in mind that Slashdot is a tabloid.
    6. Re:Cry for relevency by palladiate · · Score: 1

      The a tag does everything from HTML 4 the same way in XHTML.

      Well, there is also that problem with taking away a few attributes, like the target I mentioned. I can provide a list if you like. My point isn't that things are broken yet, just that the W3C will likely pull crap to remain relevant. XHTML just doesn't seem to provide everything some people need, and thus the reason for the continued use of HTML.

      Frames are also still part of the XHTML spec.

      Yes, in the frames spec, not strict. But, as I said, nobody liked it anyway.

      Seriously, the b, u, i and big tags are _exactly the same_ in XHTML. There was never a super element in HTML 4, it's just sup, and it's unchanged.

      I know, I'm asking what will change in the future. I don't think XHTML is necessarily a bad thing either, as it's part of a larger standard, and required many changes. However, I don't like them removing perfectly good functionality for reasons of "We don't find it aesthetic."

      And I know, it's sup and sub, but since I use them about twice a decade, forgive me for forgetting. I defer to your obviously superior HTML skills. You win the day again, Captain Ad Hominem Tu Quoque! I shall not make a mistake next time!

      The font tag however, is gone and won't be missed...

      Untrue. Those of us who use HTML enabled web forums rely on font sometimes. Sure, you can do some ugly, crazy stuff with it. However, let me decide how my presentation should look. Sure CSS is wonderful if I'm writing web pages, because I want to enforce a standard look. However, person to person communication sometimes benefits from a finer grain of control. Font can give us that. Target gives us that. That means HTML will still be used in the future.

      Until the W3C can enforce websites filling more than 10% of my 24" screen and scale beyond 640x480, prevent idiots from using painful color schemes, or non-intrusive placement of ads, they need to stop making my job of communicating over the web harder, less standard, more fragmented, and less useful. The biggest benefit from their bloviating recently has been with keeping themselves relevent, not useful.

    7. Re:Cry for relevency by palladiate · · Score: 1

      I do like your suggestion, and yes, that does solve the problem of XHTML. However, I'm going to take issue with this:

      It would be trivial to have forum users post their comments with some simplified markup, (like: [b]wow![/b]) and then convert that to something that works with your site's stylesheet on the server side.

      That just creates thousands of different implementations of web style languages. The W3C was formed to help steer standards. I find it quite ironic that their method of standardization leaves us with a less standard web. Remember, most activity on the web comes from user-generated content, and hopefully most tagging in the future would be done ON websites, not IN websites. Why should we, as web developers, get the lions share of simplicity, and users get the shaft in usability? Aren't we creating these sites for the user, and their ease of use?

      Private implementations of markup scare the shit out of me. If the W3C can't move without making the web less standard, they need to congratulate them selves on a job well done and go home.

    8. Re:Cry for relevency by Goaway · · Score: 1

      Remind me again why [b]wow![/b] is simpler than wow!?

    9. Re:Cry for relevency by mikael_j · · Score: 3, Informative

      I think a reason that XHTML has not taken off is due to its unforgiving strictness. From what I understand, if you make a single mistake in XHTML the page will not work and for that reason it is not intended to be handwritten. But with HTML you often have different ways of achieving the same effect, such as with centering.

      Actually, one of the reason many people have picked up on XHTML is because it's a lot "cleaner" than "good" ol' HTML 4, the strict rules are one of the reasons for this, in XHTML you're not allowed to do stupid shit like "<i>foo and <b>bar</i> are both words</b>". And writing XHTML by hand is much easier than relying on some horrible WYSIWYG tool's generated code.

      This is the reason for the continuing appeal of HTML: its simplicity. My understanding that XHTML requires is that document formatting be separate from the content of the document. Yet sometimes is so much simpler to use a CENTER tag versus having to mark a section of text with a customized tag and then go into a style sheet to center a single section of text.

      Actually, formatting should be kept separate from the content for several very good reasons. Maintainability is a biggie as anyone who's ever had to redesign a static HTML website riddled with <font> tags. Extra points if it was made using a WYSIWYG tool that uses three or for tags when you only need one...

      Anyway, I for one hope that XHTML is path we stay on. And I think the main problem that XHTML+CSS has had is Internet Explorer and its craptastic handling of CSS (still crappy in IE7 although it's gotten slightly better).

      /Mikael

      --
      Greylisting is to SMTP as NAT is to IPv4
    10. Re:Cry for relevency by Goaway · · Score: 1

      Or simpler than wow!, even.

    11. Re:Cry for relevency by Derek+Pomery · · Score: 3, Insightful

      The only advantage font gives over using the style attribute (which gives far greater control) is that forum text sometimes disables CSS due to security concerns.
      This can be solved with moderately smarter CSS munging (whitelist the font-* stuff) or simply not allowing your users to use HTML in form posts in the first place - use bbcode instead.
      That can be munged by the server however it wants.

      Rest of what you were saying was kinda silly so I just focused on the one legitimate one.

      Oh, and target="_blank" - that's fair. The only alternative is javascript, which often is no alternative at all. On the other hand, I do find that target bloody annoying. Let me decide if I want to open a link in a new window, dammit. I'm not exactly sorry it is gone.

      --
      -- perl -e'print pack"H*","6e656d6f406d38792e6f7267"' /. ate my old sig. Bastards.
    12. Re:Cry for relevency by multipartmixed · · Score: 1

      Well, you see, one requires you to parse the page every time you load it from disk, modify it, and then send it to the user.

      Whereas the other way requires you to load the page and send it to the user.

      See? Which is simpler? Of COURSE simpler is worse! What would we do with all our spare cycles if we weren't converting the same UBB post to HTML for the 40,000th time today?

      --

      Do daemons dream of electric sleep()?
    13. Re:Cry for relevency by Bogtha · · Score: 1

      Take Fark for instance. After years and years, a critical mass of people are finally learning a, b, u, i, big, super, img, and other standard tags, most of which just don't work the same or at all under XHTML.

      Every single one of those element types (not "tags") are included in XHTML 1.0. They all work the same too, except for <img> , which only requires a single additional slash compared with its HTML equivalent. Hardly the gigantic leap of incompatibility you are making it out to be.

      --
      Bogtha Bogtha Bogtha
    14. Re:Cry for relevency by Bogtha · · Score: 2, Informative

      I think a reason that XHTML has not taken off is due to its unforgiving strictness. From what I understand, if you make a single mistake in XHTML the page will not work

      This is not true. There is only one class of errors that causes a fatal error, and that's when the document isn't well-formed. Invalid pages can still be served without tripping the mandatory error-handling.

      for that reason it is not intended to be handwritten.

      No, handwritten is still fine. Handwriting XHTML and then publishing it without any attempt to load it in a browser or check it for errors first is a bad idea though. But then again, it was a bad idea with HTML too.

      My understanding that XHTML requires is that document formatting be separate from the content of the document.

      No, this is also not true. It's considered best practice with both HTML and XHTML, both have document types that enforce this separation, and both have document types that don't enforce this separation. It's your choice.

      Yet sometimes is so much simpler to use a CENTER tag

      XHTML 1.0 has the <center> element type (not "tag").

      --
      Bogtha Bogtha Bogtha
    15. Re:Cry for relevency by Anonymous Coward · · Score: 0

      Unfortunately, ... /> parses incorrectly in a SGML-complient parser. IMG has and needs no closing tag: the /> gets translated into a closing tag for the parent element by shorttag rules. Now it's true that most browsers didn't implement shorttag correctly, but some did.

      Am I the only one who thinks <FONT> makes a who lot of sense? <FONT SIZE='+1'> is still the easiest way to make a certain section of text bigger in a portable way.

    16. Re:Cry for relevency by thomthom · · Score: 1

      ...or you could convert it to HTML when the comment is posted. Converting it back if the user need to edit it isn't that much trubble either...

    17. Re:Cry for relevency by Goaway · · Score: 1

      Or you could just not use BBcode and just validate the HTML when it is posted.

    18. Re:Cry for relevency by 1110110001 · · Score: 1

      first, in XHTML you are required to provide an alt= attribute (instead of just strongly recommended like in HTML 4) Not true: http://www.w3.org/TR/html4/struct/objects.html#ade f-alt

      The alt attribute must be specified for the IMG and AREA elements. A MUST is not a recommendation. Also if you look at the DTD it is required:

      <!ATTLIST IMG
        %attrs; -- %coreattrs, %i18n, %events --
        src %URI; #REQUIRED -- URI of image to embed --
        alt %Text; #REQUIRED -- short description --
        longdesc %URI; #IMPLIED -- link to long description
                                                (complements alt) --
        name CDATA #IMPLIED -- name of image for scripting --
        height %Length; #IMPLIED -- override height --
        width %Length; #IMPLIED -- override width --
        usemap %URI; #IMPLIED -- use client-side image map --
        ismap (ismap) #IMPLIED -- use server-side image map --
        >
    19. Re:Cry for relevency by Blakey+Rat · · Score: 1

      Which is retarded. If you leave it out, you don't validate because you're missing the required alt attribute. If you put it in and set it to "" (empty string), it DOES validate but it does absolutely nothing. If you're going to let me set it to "", why not just let me not set it at all? What is the reasoning behind that?

    20. Re:Cry for relevency by 1110110001 · · Score: 1
      "" could be a valid value, i.e. for a spacer image. But how do you want to automatically validate the alt attribute. Most people describe the image instead of putting an alternative in the alt attribute. One example is a seperator line. Most people write

      <p>text</p>
      <img src="seperator.png" alt="seperator line"/>
      <p>text</p>
      which would render like:

      text
      seperator line
      text
      This is stupid, but only a person is able to unterstand that.

      A better value would've been "----------".
    21. Re:Cry for relevency by thomthom · · Score: 1

      Yea, that's what I do for my sites. But I use my own comment parser because I've yet to find a tool that ensures the content is valid and nested properly. Additionally it silently converts B to STRONG etc to clean up the markup. The tools I've seen so far only checks individual elements are valid or not without checking its context. If anyone know of any tool that actually validates HTML comments then please let me know.

    22. Re:Cry for relevency by background+image · · Score: 1

      Out of all of those things, the only one that's changed at all is the img tag, and that's only in two places - first, in XHTML you are required to provide an alt= attribute (instead of just strongly recommended like in HTML 4), and second, you have to close the tag properly, with a /> at the end.

      Not quite. The alt attribute is required on img elements in HTML 4.01 too. A fortiori to your argument though.

    23. Re:Cry for relevency by atamido · · Score: 1

      And I think the main problem that XHTML+CSS has had is Internet Explorer and its craptastic handling of CSS

      Actually, I think the main problem XHTML+CSS has had is that Internet Explorer just doesn't support XHTML. For XHTML 1.1 to be valid, it has to be served with the application/xhtml+xml content-type. Because Internet Explorer doesn't recognize this content-type (even though it probably would have required 2 minutes of coding to add it) it will offer the user a download dialog when it is offered. And because you can't serve XHTML pages with the correct content-type to 90% of users, many experts insist that no one should be writing XHTML pages.

      It's a mess.

    24. Re:Cry for relevency by Valarauko · · Score: 1

      One example is a seperator line. Most people write

      <p>text</p>
      <img src="seperator.png" alt="seperator line"/>
      <p>text</p>
      which would render like:

      text
      seperator line
      text
      This is stupid, but only a person is able to unterstand that. A better value would've been "----------".
      And how would a person's screenreader speak "----------"? I would rather a sight-impaired user of my site hear "separator line" between blocks of text than "dash dash dash dash dash dash dash dash dash dash".
    25. Re:Cry for relevency by larry+bagina · · Score: 1

      If only there was a standard element for a horizontal rule.

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

    26. Re:Cry for relevency by 1110110001 · · Score: 1

      I've just tried this with the Mac OS X speak service and it ignores a line of dashes. IMO a screenreader should be smart enough to somehow understand how humans write. And you could also use aural style sheets to define a sound file as an alternative.

      But I do understand your objection. The problem is, that the alt attribute is now aware of the output medium, so you can't find a text that's optimal for all media. The most common use of the alt attribute is to display it as text and not reading it by a non-human, i.e. text-only browsers, browsers with images turned off (because of low bandwidth) and a broken image, because of a dropped network connection.

    27. Re:Cry for relevency by 1110110001 · · Score: 1

      You're right. You'll hardly ever have to use images, because for every image that's not a photography there's an element. Oh no there isn't. Maybe it was just an example. But the same applies to all the arrows used i.e. in pagination widgets (first, previous, next, last).

    28. Re:Cry for relevency by Bogtha · · Score: 1

      Actually, one of the reason many people have picked up on XHTML is because it's a lot "cleaner" than "good" ol' HTML 4, the strict rules are one of the reasons for this, in XHTML you're not allowed to do stupid shit like "<i>foo and <b>bar</i> are both words</b>".

      You aren't allowed to do that in HTML either. The difference between HTML and XHTML is that XHTML defines mandatory error handling for this situation, while HTML leaves it undefined.

      --
      Bogtha Bogtha Bogtha
    29. Re:Cry for relevency by Bogtha · · Score: 1

      For XHTML 1.1 to be valid, it has to be served with the application/xhtml+xml content-type.

      This is not true. "Valid" means that it conforms to the syntax and structural requirements defined by the document type. An incorrect content type is a mistake at a completely different level, it's a mistake with HTTP, not the resource itself.

      Because Internet Explorer doesn't recognize this content-type (even though it probably would have required 2 minutes of coding to add it)

      That would have been a disaster. It takes a hell of a lot more than that to support XHTML, and if you lie by claiming your client supports it when it doesn't, you screw up things like content negotiation and the possibility of a replacement for doctype switching when Internet Explorer does implement XHTML.

      And because you can't serve XHTML pages with the correct content-type to 90% of users

      This is not true. There is more than one correct content type for XHTML. One of them, for XHTML 1.0 documents that conform to the HTML compatibility guidelines, is text/html, which is understood by Internet Explorer.

      many experts insist that no one should be writing XHTML pages.

      You are misrepresenting that document. It makes the case that XHTML as text/html is a bad idea, not that XHTML is a bad idea.

      --
      Bogtha Bogtha Bogtha
    30. Re:Cry for relevency by atamido · · Score: 1

      Oh come now, you're really missing the forest here. The XHTML specification includes input and output details, so if something is received incorrectly within the scope of those details, the it is not valid according to the specification. A file sitting on a server may be valid, but as soon as it is served up incorrectly, it is invalid. (Serving it up ROT13'd would also be considered invalid)

      Internet Explorer doesn't even have to claim that it supports it (in content negotiation), but it should accept it when it is sent and make a best effort. Honestly, it supports XHMTL 1.1 about as well as it supports CSS 2.1. Are you really suggesting that they do something such as not support any of CSS 2.1 until they can support it all?

      Support for text/html was specifically removed from XHTML 1.1, and using it with 1.0 was pretty b0rked anyway. It was included for the short time they expected for browsers to catch up, but they couldn't have expected that IE would have almost a decade of lag in support.

      While the linked document doesn't specifically state that using XHTML at all is a bad idea, I think it is implied by the many statements as to the issues. I particularly like this quote from it:

      The worst problem, and the main reason (I suspect) for most of the REALLY invalid XHTML pages out there, is that authors who have no clue about XHTML simply copy and pasted their DOCTYPE from another document. So even if you write valid XHTML, by using XHTML, you are likely to encourage authors who do not know enough to write valid XHTML to claim to do so.
    31. Re:Cry for relevency by Bogtha · · Score: 1

      The XHTML specification includes input and output details

      "Input and output details" is pretty vague.

      so if something is received incorrectly within the scope of those details

      The XHTML 1.1 specification doesn't include anything about content types at all. There's also a draft that mentions content types, but it says that text/html is suitable, so either way, according to the XHTML 1.1 specification, text/html is not wrong. It's wrong according to RFC 2854, but that isn't a question of validity.

      it is not valid according to the specification.

      No. "Valid" has a very precise meaning when you are talking about SGML or XML-based markup languages. It is not a synonym for "wrong", "buggy", "broken", or anything like that. An incorrect content type doesn't make something invalid.

      Serving it up ROT13'd would also be considered invalid

      Well of course it would — because it wouldn't be following the syntax requirements. That's what makes something invalid. I know it's tempting to slap the "invalid" condemnation on every type of error, but it's not true. There are different types of error.

      Honestly, it supports XHMTL 1.1 about as well as it supports CSS 2.1. Are you really suggesting that they do something such as not support any of CSS 2.1 until they can support it all?

      I don't see how you can think that is an analogous situation. CSS 2.1 doesn't have a different media type to older CSS specifications, so it's impossible to do content negotiation. Microsoft partially implementing CSS 2.1 doesn't lose you content negotation because it wasn't there in the first place.

      Support for text/html was specifically removed from XHTML 1.1

      No it wasn't. RFC 2854 was published before XHTML 1.1 was finished. Support wasn't intentionally removed, it just hasn't been added. Furthermore, as I mentioned above, it's in the process of being added.

      While the linked document doesn't specifically state that using XHTML at all is a bad idea, I think it is implied

      Do you agree that there's a world of difference between "implying" something and "insisting"?

      I like this quote:

      Assuming you are using XHTML 1.0 compliant to Appendix C (or have otherwise checked that the XHTML 1.0 you send is compatible with Tag Soup processors), then that's fine. All I am saying in this document is that sending XHTML as text/html ONLY is harmful.

      I think he intentionally, very clearly limited the scope of his argument to XHTML as text/html. He knows damn well that the merit of XHTML is a far more complex argument and that the only real answer is "it depends on your circumstances".

      Furthermore, are you aware that the arguments in that document against XHTML 1.0/Appendix C being truly compatible with HTML 4.01 also apply to HTML 5, which is no longer an SGML application? Do you think that HTML 5 should get a new media type and that it shouldn't be labelled text/html?

      --
      Bogtha Bogtha Bogtha
    32. Re:Cry for relevency by atamido · · Score: 1

      This is not an idea I could imagine anyone wanting to grind into the ground like that. Seriously mate, come outside with the rest of us and enjoy your Sunday afternoon. :)

    33. Re:Cry for relevency by tepples · · Score: 1

      But the same applies to all the arrows used i.e. in pagination widgets (first, previous, next, last). The alt attribute of a navigation arrow could be the corresponding arrow in one of the Unicode symbol collections, such as Arrows (U+2190) (PDF).
    34. Re:Cry for relevency by tepples · · Score: 1

      There is more than one correct content type for XHTML. One of them, for XHTML 1.0 documents that conform to the HTML compatibility guidelines, is text/html, which is understood by Internet Explorer. [...] [Hixie's article] makes the case that XHTML as text/html is a bad idea Now do you see why people are ignoring XHTML? Sending it as application/xhtml+xml is a bad idea (fails in three-fourths of all PC based web user agents), and making Appendix C XHTML and sending it as text/html is a bad idea (well-formed XML is not well-formed SGML due to the different handling of /> between XML and SGML). This is one reason why HTML 5 has dropped its ties to SGML.
  7. It's All About Web 2.0 by Anonymous Coward · · Score: 1

    It's all about "Web 2.0". A new source of revenue must be needed, might as well tweak the current HTML spec. No worry that there
    isn't a browser that fully supports it, as per spec, just release more bloated crapware.

    And here I was happily surfing the web on Lynx.

    I'm sure this will add more 'features' to enable revenue generation.

  8. W3C is aggrivating sometimes by webrunner · · Score: 1
    If you look at the docs and stuff, there's just so many stupid things.. like there now being no semantic replacement for like there is with and , and the stupid rules involving
    • s not being allowed in

      s. And the worst part, and I don't know if this is w3c's fault, but using & for html entities is inexcusably broken. URLs have already had & reserved for years, and now you suddenly can't use a & in a link.

    --
    ADVENTURERS! - ANTIHERO FOR HIRE - CARDMASTER CONFLICT
    1. Re:W3C is aggrivating sometimes by webrunner · · Score: 1

      Okay, "plain old text" apparently doesnt mean what It's supposed to mean.

      If you look at the docs and stuff, there's just so many stupid things.. like there now being no semantic replacement for <u> like there is with <i> and <b>, and the stupid rules involving <ul>s not being allowed in <p>s. And the worst part, and I don't know if this is w3c's fault, but using & for html entities is inexcusably broken. URLs have already had & reserved for years, and now you suddenly can't use a & in a link.

      --
      ADVENTURERS! - ANTIHERO FOR HIRE - CARDMASTER CONFLICT
    2. Re:W3C is aggrivating sometimes by sveard · · Score: 2, Informative

      Isn't the & character forbidden in XHTML links? You have to use the & entity, if I remember correctly. Sure, it's allowed in HTML 4.01, but not in XHTML (again, if I remember correctly)

    3. Re:W3C is aggrivating sometimes by Anonymous Coward · · Score: 0

      You've always been supposed to escape your ampersands in all HTML, including links.

    4. Re:W3C is aggrivating sometimes by Anonymous Coward · · Score: 2, Informative

      Quickly, and in the order you mentioned them...

      First, the italic and bold tags don't have semantic replacements either. You have the em tag, which is supposed to represent emphasised text, and the strong tag, which is supposed to represent strongly emphasised text. Following standard typographic conventions, emphasised text is rendered in italics, and strongly emphasised text is rendered in bold. These are not the same thing as the i and b tags. A screen reader would completely ignore those, but might use the em or strong tags to apply emphasis to the spoken version of a page. A non-graphical user agent might represent them in a different way.

      That's why the i, u, and b elements still exist in XHTML 1.1. They're just for italic, bold, and underlined text that has no semantic meaning. When writing something in a foreign language, for example, it's conventional to use italics. That's not the same as emphasised text - a screen reader should not emphasise the italic portion just because it's in italic. So you'd use an i element, or some other element with italic font styling applied to it.

      Of course lists aren't allowed in paragraphs. How could they be? If you're writing a paragraph, and you then start writing a list, have you not in fact finished the paragraph first?

      The HTML entities thing is from SGML.

    5. Re:W3C is aggrivating sometimes by Anonymous Coward · · Score: 1, Informative

      > URLs have already had & reserved for years,

      URLs have NEVER reserved & as part of their syntax. Go read the RFC. This ampersand business came from the CGI spec, it's been wrong from day 1, and they introduced use of semicolons instead to compensate. Using a bare ampersand in an XML doc will always give you grief, no matter where you put it, unless it's in CDATA. Using &amp; will always result in a URL with an ampersand in it, and if your browser renders that as five characters instead of one, it's broken.

      I rather imagine every browser will degrade to a "quirks mode" for any bare ampersands in URLs, so you can continue doing what you do. It just won't be strictly compliant, and it's already going to result in errors in xml-based frameworks like facelets.

    6. Re:W3C is aggrivating sometimes by CastrTroy · · Score: 1

      That's because XML expects that all attributes are properly encoded. There's a method behind their madness. It's not like they just said "hey, lets see how we can screw up links in XHTML." No, they took XML, which already didn't allow & or many other characters in attributes without encoding and stuck to that standard. XML was standardized years before we decided to use it for webpage markup, it's not like they could just go ahead and change it.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    7. Re:W3C is aggrivating sometimes by brunascle · · Score: 2, Funny

      you, sir, are apparently the last person i should be listening to about HTML.

      it's a joke. laugh.

    8. Re:W3C is aggrivating sometimes by Anonymous Coward · · Score: 0

      Uhhh.. you can still use for underlines. Oh, and you can always end your paragraph, start your list, then restart your paragraph. But then again, when people complain that they can't use &, I should probably leave well enough alone since they don't know about entity references.

    9. Re:W3C is aggrivating sometimes by Bogtha · · Score: 1

      This isn't anything to do with XML. HTML also required ampersands to be encoded in URLs. And it's a bit silly complaining that URLs had them first, seeing as the same guy invented URLs and HTML at the same time.

      --
      Bogtha Bogtha Bogtha
    10. Re:W3C is aggrivating sometimes by Anonymous Coward · · Score: 0

      You never could. Try writing &en& ... as part of a link. It won't work with most browsers.

    11. Re:W3C is aggrivating sometimes by Mattintosh · · Score: 1

      Of course lists aren't allowed in paragraphs. How could they be? If you're writing a paragraph, and you then start writing a list, have you not in fact finished the paragraph first?

      Whoops, you missed the part in the summary about the "widespread adoption of CSS" driving this change of heart about HTML 5. Using CSS requires intimate working knowledge of the box model. To a developer (or at least the guy making websites), a p is functionally equivalent to a div, and they're frequently treated as interchangeable. And why shouldn't they be? Paragraphs are just divisions of text. Now, suddenly, there's this change that makes it ok to put ul's into divs, but not into p's. Now they're not interchangeable. Instead of having the desired effect of encouraging the use of tags that mean what they're used for (p for paragraph instead of just dumping text onto the page and breaking it with br's), we're going to see a wholesale abandonment of a tag that lost a useful ability. The p went from being a normal block container to being a crippled block container that can't contain lists. It will be ignored and divs will be used in its place.

    12. Re:W3C is aggrivating sometimes by noamsml · · Score: 1

      Congratulations, you just published the most messed up slashdot comment in existence.

    13. Re:W3C is aggrivating sometimes by tepples · · Score: 1

      Okay, "plain old text" apparently doesnt mean what It's supposed to mean.

      If you look at the docs and stuff, there's just so many stupid things.. like there now being no semantic replacement for <u> like there is with <i> and <b> The semantic replacement for the <u> element is either the <ins> element, the <a> element, or any other existing element with style applied. In order to answer your question in specific, I'd have to know what you were trying to underline first.
  9. Don't you need power to be hardline? by JordanL · · Score: 3, Insightful

    What does XHTML fail to deliver that would cause WC3 to shy away from the previously hardline (and appropriate, IMHO) stance of "this is the new HTML, get used to it"?
    First, having reviewed some of the things in the draft HTML5 standard Opera and Apple have been working on, I have to say that it is indeed worth standardizing.

    Second, I wonder about this "hardline" approach. Who made the W3C gods of the internet? I mean, things need to be standardized, but they refused to do their job and standardize, and guess what, the industry got together and made another standardization board which was mentioned in the OP. The W3C can't hardline anything... they just format the direction we're going... they don't choose it, the industry does that.

    Go ahead, think I'm wrong, think the W3C should just stick it to all those web developers and browser companies that have spent years working around the group that is supposed to make their lives easier. The W3C is a paper tiger... they are completely at the mercy of everyone else. They can't hardline anything, much less something which was being standardized without them anyway.
    1. Re:Don't you need power to be hardline? by Nimey · · Score: 1

      Second, I wonder about this "hardline" approach.


      Yeah, because gods know that we need to have more Web pages that are best viewed with the writer's favorite web browser.

      If I want to look at someone's page with elinks, the page should work fine. Ditto if I want to use Konqueror or Opera.
      --
      Hail Eris, full of mischief...

      E pluribus sanguinem
    2. Re:Don't you need power to be hardline? by jZnat · · Score: 1

      The web browser developers are in the W3C...

      --
      'Yes, firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
  10. WTF?! by Anonymous Coward · · Score: 0
    From TFA: "More funky tags:

    and are old, so how about more tags for what has become common nature on the web"
    Is this a hint at p and div becoming depreciated? This would be even worse then depreciating the tag, which they also did.

    On the other hand, it would be nice to be able to tag areas of a page as content and fluff.

    <div notice="this is the site menu, google, yahoo, etc, ignore this. there is better stuff on this page to worry about"> ....
    </div>
    <div notice="this is the meat and potatoes of the page, focus here"> ....
    </div>
    On the other hand, I probably have other problems since Google likes my menus better then my page contents.

    1. Re:WTF?! by Anonymous Coward · · Score: 0

      Oops, didn't escape all the html. take 2.
      From TFA: "More funky tags: <p> and <div> are old, so how about more tags for what has become common nature on the web"
      Is this a hint at p and div becoming depreciated? This would be even worse then depreciating the <center> tag, which they also did.

      On the other hand, it would be nice to be able to tag areas of a page as content and fluff.

      <div notice="this is the site menu, google, yahoo, etc, ignore this. there is better stuff on this page to worry about"> ....
      </div>
      <div notice="this is the meat and potatoes of the page, focus here"> ....
      </div>
      On the other hand, I probably have other problems since Google likes my menus better then my page contents.

    2. Re:WTF?! by DaggertipX · · Score: 1

      Deprecating the center tag was absolutely and in every way the proper choice. There are better ways of centering your content via CSS, that don't impose your layout intrusively upon your content.

    3. Re:WTF?! by Anonymous Coward · · Score: 0

      On the other hand, it would be nice to be able to tag areas of a page as content and fluff.

      Uhhh, isn't that what comments are for?

      <!-- this is the site menu, google, yahoo, etc, ignore this. there is better stuff on this page to worry about -->

      ...

      <!-- end menu block -->

      <!-- this is the meat and potatoes of the page, focus here -->

      ...

      <!-- end meat -->

    4. Re:WTF?! by nmg196 · · Score: 1

      Please explain how is more intrusive than <div style="text-align: center;>.

      The latter simply makes your code harder to read (as with most aspects of XHTML vs HTML).

    5. Re:WTF?! by background+image · · Score: 1

      Please explain how <center> is more intrusive than <div style="text-align: center;>.

      It's not. They're both equally stupid.

      Something like <div class="foo">Lorem ipsum dolor sit.</div> is much preferable a) because it can be overriden by user stylesheets, and b) because it's possible to change the text alignment at a later time if it becomes useful to do so without editing the document.

    6. Re:WTF?! by Anonymous Coward · · Score: 0

      aligning with CSS (e.g. ) is not the same as the tag, it is even worst than (not valid XHTML Strict)
      just try to use these 3 methods on the same thing, like an imaage.
      <center> was just perfect for me

    7. Re:WTF?! by RDMsoft · · Score: 1

      p and div aren't being deprecated, nor are they being depreciated. However HTML 5 does have new elements such as nav, header, footer, and article for the exact use case you suggested. If widely used (and yeah, that is a big "if"), this would help both search engines and accessibility tools.

    8. Re:WTF?! by tepples · · Score: 1

      Something like <div class="foo">Lorem ipsum dolor sit.</div> is much preferable a) because it can be overriden by user stylesheets, and b) because it's possible to change the text alignment at a later time if it becomes useful to do so without editing the document.

      b) I buy. But as for a), how would the user know that the class is "foo" in order to make a user stylesheet? And what happens when another web site uses the class "foo" to mean something completely different?

      And why didn't you mark up this two-element ordered list using <ol> and <li> elements? ;-)

  11. Web Pages by NeoTerra · · Score: 1

    Amazingly, my web pages sucked with HTML 4. They sucked with XHTML. They'll probably suck just as bad in HTML 5.

    Just my 2 worth.

  12. As a standard, HTML4 has failed by Nicolas+MONNET · · Score: 3, Interesting

    It's too hard to implement, because there is no default way it should look like. There is no default, standard stylesheet. What height is H1 supposed to look like by default?

    Also look how hard and painful it is to implement a 3 column liquid layout with just HTML and CSS. Compare this to XUL's grid, vbox and hbox (yes, I know there are now CSS selectors in Firefox, Opera and Safari to do that)

    Fact is, HTML is based on a page/document model, whereas, nowadays, HTML "pages" are most of the time "screens", part of an application. The idea to separate content and layout is nice, but the thing is, most content in pure-ist HTML+CSS is basically a bunch of div's and span's. It isn't much semantically richer than tablesoup.

    IMHO, if I were to redesign HTML today, it would look a lot like Xul, with XBL2 and microformats on top.

    1. Re:As a standard, HTML4 has failed by TheRaven64 · · Score: 1

      Also look how hard and painful it is to implement a 3 column liquid layout with just HTML and CSS It's trivial with CSS3, which includes a set of rules for defining multi-column layouts.
      --
      I am TheRaven on Soylent News
    2. Re:As a standard, HTML4 has failed by mikael_j · · Score: 1

      Also look how hard and painful it is to implement a 3 column liquid layout with just HTML and CSS.

      Actually, the regular three-column layout that is popular all over the web really isn't that hard to implement in CSS, you need to have a bit of an understanding of XHTML and CSS to pull it off but it's nowhere near as bad as it was back when people were doing similar designs with just HTML 3/4 and <TABLE> tags..

      The idea to separate content and layout is nice, but the thing is, most content in pure-ist HTML+CSS is basically a bunch of div's and span's. It isn't much semantically richer than tablesoup.

      This would depend on how the code is written, proper standards-compliant XHTML+CSS without ugly IE-compatibility hacks and unnecessary javascript because the developer didn't know how to do a horizontal <ul>-based menu using CSS is normally a lot nicer than a similar design in old HTML where the design and the content are all mixed up in a big unreadable mess..

      /Mikael

      --
      Greylisting is to SMTP as NAT is to IPv4
    3. Re:As a standard, HTML4 has failed by julesh · · Score: 1

      Actually, the regular three-column layout that is popular all over the web really isn't that hard to implement in CSS

      But that isn't a liquid layout, i.e. one in which all three columns can change size to fit their content, like the GP asked for. It's necessary to fix the size of at least one of the columns to make it function with the CSS that's implemented by common browsers.

    4. Re:As a standard, HTML4 has failed by mikael_j · · Score: 1

      Are you talking about a specific example design here? because it sure sounds like it...

      Anyway, the common fluid three column design choice is with a fluid center <div> and two fixed-size <div>s on the sides. But one where the the sidebars expand to fit the content shouldn't be too hard as long as it doesn't have to work in Internet Explorer..

      /Mikael

      --
      Greylisting is to SMTP as NAT is to IPv4
    5. Re:As a standard, HTML4 has failed by GeckoX · · Score: 1

      Doesn't have to be that way. Not intended to be that way actually.

      Yes, a nest of div's and span's is not much better than table soup. But by defining classes of div's and span's, we give the page the proper semantics to be understood.

      By your example, object oriented languages are like tablesoup, they're all just a bunch of classes. Well, sure, until you name them and give them properties. Then they are unique classes with semantic meaning.

      Learn to use the tools you've been given appropriately before trying to prove their worthlessness. There is no doubt whatsoever that good use of div's and span's is vastly superior to tablesoup.

      --
      No Comment.
    6. Re:As a standard, HTML4 has failed by Bogtha · · Score: 2, Insightful

      It's too hard to implement, because there is no default way it should look like. There is no default, standard stylesheet. What height is H1 supposed to look like by default?

      I fail to see the difficulty. Headings aren't supposed to have a particular default height. What makes this difficult? Browser vendors can simply pick one themselves.

      Also look how hard and painful it is to implement a 3 column liquid layout with just HTML and CSS.

      It's trivial. It's a bit more complicated if you are talking about the subset of HTML and CSS that Internet Explorer supports, but there have been established techniques for years.

      Fact is, HTML is based on a page/document model, whereas, nowadays, HTML "pages" are most of the time "screens", part of an application.

      Part of Apple's philosophy is that applications should be based around the concept of documents, and they've been quite successful with it. A document model is not antithetical to applications.

      most content in pure-ist HTML+CSS is basically a bunch of div's and span's.

      This is not true. The idea is to use the most appropriate element type. <div> and <span> elements should only be used when there isn't something more suitable.

      IMHO, if I were to redesign HTML today, it would look a lot like Xul, with XBL2 and microformats on top.

      Please refer to the Rule of Least Power. It has all kinds of implications that make what you are suggesting a much worse idea than a document-based design.

      --
      Bogtha Bogtha Bogtha
    7. Re:As a standard, HTML4 has failed by Blakey+Rat · · Score: 1

      Wow, it only took 3 revisions to get a feature that was done very easily with the "deprecated" tables before. Of course, it's also appeared in pretty much every printed media ever since time began... how could they not anticipate the need to make columns for version 1.0? Every website using Tables for layout was using them to make columns. Every newspaper has columns. Many books have columns. Columns are all over!

    8. Re:As a standard, HTML4 has failed by TheRaven64 · · Score: 1

      It was easy to make columns re-flow based on the window size with tables? You've been able to do fixed columns with nested div tags since CSS 1; that's how Slashdot does the front page layout.

      --
      I am TheRaven on Soylent News
    9. Re:As a standard, HTML4 has failed by CopaceticOpus · · Score: 1

      HTML5 will only be useful on new browsers that support it. Given that, why worry about backward compatibility at all? Why not just throw out HTML altogether and design something from the ground to meet modern requirements and to be easier to use?

      I don't think anyone is using HTML because they just love it.

    10. Re:As a standard, HTML4 has failed by atamido · · Score: 1

      But that isn't a liquid layout, i.e. one in which all three columns can change size to fit their content, like the GP asked for. It's necessary to fix the size of at least one of the columns to make it function with the CSS that's implemented by common browsers.

      No, it is perfectly doable in CSS 2.1 without anything complex. Create three DIVs right next to each other with the style "display:table-cell" and they will stick and form to each other just like table cells would. (Relevant lines from the spec.) You could specify their widths, or do whatever you want. Now, every current browser out there has supported this for some time with the exception of Internet Explorer, but the original parent didn't ask about support, but specs.

      Really, if IE had started supporting this when everyone else had, columns wouldn't even be a discussion now. As it stands, because IE doesn't support it, it's a headache to everyone. Personally, I'm of the opinion that you do display:table-cell and then make a special case for IE to get it to display the same. It saves a lot of trouble trying to get complex styling to work the same in IE and everything else.

      It is worth noting that there is a new "column" style specified in the CSS3 drafts. It is a different type of column, like columns from a newspaper. If you have a really long text, you can have it take up the same area, but split into X number of columns, or columns of Y width. It's useful, but not the same as the 2/3 column page designs on the web right now.

    11. Re:As a standard, HTML4 has failed by TheoMurpse · · Score: 1

      Also look how hard and painful it is to implement a 3 column liquid layout with just HTML and CSS.
      It's trivial. It's a bit more complicated if you are talking about the subset of HTML and CSS that Internet Explorer supports, but there have been established techniques for years.
      It's not really trivial. He said he wanted a 3-column liquid layout, which, IIRC, means a 3-column layout where you merely define the content, and the browser spills the overflow from column 1 into column 2. Any overflow from there would spill into column 3 (of course, given heights for the columns).

      This is not trivial with HTML and CSS. With JavaScript, you'd have to keep making DOM calls until it overflowed properly. You'd have to hand-code every page (since you don't know at what point content would fill up column 1 until you've calculated it yourself at this point.

      However, hopefully CSS3 will make this all easy. Right now, there are proprietary Mozilla tags that do this (-moz-column-count and -moz-column -width).

      Of course, if I'm misunderstanding what "liquid layout" means, then remove my first paragraph and just leave the discussion about a column system that CSS really needs.
    12. Re:As a standard, HTML4 has failed by Bogtha · · Score: 1

      He said he wanted a 3-column liquid layout, which, IIRC, means a 3-column layout where you merely define the content, and the browser spills the overflow from column 1 into column 2.

      No, liquid layouts are layouts that flow into variable-width viewports, rather than being fixed-width layouts that either leave gaps down the sides or force scrollbars depending on how wide the viewport is.

      With JavaScript, you'd have to keep making DOM calls until it overflowed properly. You'd have to hand-code every page (since you don't know at what point content would fill up column 1 until you've calculated it yourself at this point.

      Hand-coding each page would be a mistake. You can't calculate it yourself at that point, because you don't know what size font is being used, what size canvas is being used, etc. The only way to do it properly is to use your first idea, JavaScript.

      Quite frankly, I think the idea of text spilling over between columns is just a poor excuse to bash web design. There's very little demand for it. Just because it's popular in print, it doesn't mean it makes sense for the web, people read differently on the web and it's subject to different constraints. Every website I've seen attempt it has just been annoying to read. I'm sure there are occasions where it makes sense, but they are few and far between. If this wasn't the case, then more people would be using the JavaScript trick you describe.

      Right now, there are proprietary Mozilla tags that do this (-moz-column-count and -moz-column -width).

      They aren't tags, they are properties. If you aren't sure what a tag is, then just avoid the word completely. 99% of the time, the word "tag" is the wrong word to use. It doesn't mean "bit of code somehow related to the web".

      --
      Bogtha Bogtha Bogtha
    13. Re:As a standard, HTML4 has failed by TheoMurpse · · Score: 1

      You're right, they are CSS properties, and not tags. Also, hand coding each web page wouldn't work for that reason. Also, you're right--on an uncontrollable population of web browsers, hand coding web pages wouldn't work either. JS would be necessary. I wasn't really paying attention to what I wrote there, and was careless in word usage.

      However, I disagree with your assertion that text spilling over into a new column is not a good idea. It may not be often-requested, but how often would PRE or DFN or INS or SAMP be requested, yet they still exist in the HTML 4.01 and XHTML 1.0 standards? Also, CSS and HTML are not just for web design. If they were, there would be no need for this: <link rel="stylesheet" type="text/css" media="print" href="print.css">. Being able to print webpages I've designed (without having to go to a "printer-friendly version") and have it come out formatted properly is very nice if I want to show my content to someone without having my content look unreadable on the page.

      And, as history has shown us, multiple-column layouts in print are very powerful and good in many instances. The first that comes to mind is when you are using a small font size because you only want a certain number of characters of width per line, so a small font size requires lines with a shorter absolute width (in inches or cm, take your pick). Therefore, with a smaller font size, you will end up with many pages of text with lots of wasted paper--unless you add columns. Now we see why columns are useful in HTML+CSS.

    14. Re:As a standard, HTML4 has failed by Bogtha · · Score: 1

      However, I disagree with your assertion that text spilling over into a new column is not a good idea.

      Well there are many reasons why designs suitable for print are unsuitable for the web, but there's a few very simple ones that apply in this case. Vertical space is infinite on the web. Horizontal space is unpredictable and almost always at a premium due to things like navigation bars and adverts also taking up horizontal space. As such, giving away horizontal space to gain vertical space, which is what multiple columns are for, is almost always exactly the opposite of what you want to do.

      Of course, I'm speaking from a typically Western myopic attitude, I haven't worked with East-Asian languages, so what I say doesn't necessarily apply to languages with vertical writing systems.

      It may not be often-requested, but how often would PRE or DFN or INS or SAMP be requested, yet they still exist in the HTML 4.01 and XHTML 1.0 standards?

      They are mainly there through inertia. I'm certainly not arguing that having the facility for multiple columns would be a bad thing to have, just that it's not the anywhere near the priority critics make it out to be.

      Also, CSS and HTML are not just for web design.

      Sure, you're certainly right there. In fact, with CSS 3's multi-column facilities, it's possible to have a single column design for online viewing and multiple columns when it's printed out. As things like navigation bars can be hidden when printing out, this makes the limited horizontal space less of an issue.

      The first that comes to mind is when you are using a small font size because you only want a certain number of characters of width per line, so a small font size requires lines with a shorter absolute width (in inches or cm, take your pick). Therefore, with a smaller font size, you will end up with many pages of text with lots of wasted paper--unless you add columns.

      I don't follow you. You intentionally pick a small font size so that you get short line lengths, and then complain that the line lengths are too short for the page? Isn't that exactly what you intended to happen?

      --
      Bogtha Bogtha Bogtha
    15. Re:As a standard, HTML4 has failed by TheoMurpse · · Score: 1

      You intentionally pick a small font size so that you get short line lengths, and then complain that the line lengths are too short for the page? Isn't that exactly what you intended to happen?
      Nope. I was probably not explicit in what I meant. In print, you have limited paper, so you want a smaller font size that still remains legible. So you pick a smaller font size. However, now you need narrower columns to maintain optimum readability (about 70 characters wide is how long an optimally readable column is). The shorter line length is a side effect of the goal--smaller font size in order to fit more on the page. Thus, you make up for the narrower line by having multiple columns.

      It's basic page layout. I'm not just making this stuff up. It's the reason newspapers print in multiple columns.
    16. Re:As a standard, HTML4 has failed by Bogtha · · Score: 1

      However, now you need narrower columns to maintain optimum readability (about 70 characters wide is how long an optimally readable column is).

      The majority of the studies that say this were conducted with printed material, not with a screen. Of the couple of studies that were actually conducted with screens that I've seen, they assumed too much or measured the wrong thing (e.g. what makes you think that the number of characters matter, as opposed to the physical dimensions?).

      If you have an adequate study for optimal line lengths for the web, I'd definitely be interested in reading it, but all the ones that seem to crop up in discussions like this aren't applicable or are flawed. I've been looking for a while, but I haven't found a sound basis for this "common knowledge".

      It's basic page layout. I'm not just making this stuff up. It's the reason newspapers print in multiple columns.

      I never said you were making anything up, I'm just pointing out that what is true for print is not necessarily true for the web.

      --
      Bogtha Bogtha Bogtha
    17. Re:As a standard, HTML4 has failed by tepples · · Score: 1

      Part of Apple's philosophy is that applications should be based around the concept of documents, and they've been quite successful with it. A document model is not antithetical to applications. In an application such as Quake, what is the document?
  13. HTML 5? Awful. Call it HTML 2.0. by dpbsmith · · Score: 1

    What are these people, engineers or something?

    It needs to have a spiffy name like Extreme HTML or HTML-Pro or Sup-R-HTML or HOT!ml.

    Or... I have it. Call it HTML 2.0.

    Bother the fact that that version number has already been used, everyone knows that the purpose of version numbers is not to identify sequence but to communicate a marketing message and what could be better than an implication that it's "the HTML for Web 2.0?"

    1. Re:HTML 5? Awful. Call it HTML 2.0. by Mornedhel · · Score: 1

      iHTML. I win.

      --
      This /.-related sig is a stub. You can help Mornedhel by expanding it.
    2. Re:HTML 5? Awful. Call it HTML 2.0. by Stormx2 · · Score: 1

      Or... I have it. Call it HTML 2.0.
      Looks like some bastard beat you to it over a decade ago.
    3. Re:HTML 5? Awful. Call it HTML 2.0. by Miseph · · Score: 1

      Nope, iWin.

      --
      Try not to take me more seriously than I take myself.
    4. Re:HTML 5? Awful. Call it HTML 2.0. by julesh · · Score: 1

      I have it. Call it HTML 2.0.

      You mean HTML 2 Standard Edition 1.5, surely?

    5. Re:HTML 5? Awful. Call it HTML 2.0. by Anonymous Coward · · Score: 0

      I like your logic (or whatever it is you are using).

      But HTML 2.0??

      We should look to the master of versioning for the marketplace and name it after the year. Just think of the rapidity of adoption that we could get if we called it

      HTML 007

      It would be the XHTML killer...

  14. Get it on yer CV man! by Chrisq · · Score: 2, Funny

    Or as the CV writers would say: "extensive experience with HTML 4, XHTML, where he was responsible for delivering high quality web pages. Has studied the HTML5 standard and is confident that he will be able to maintain the same quality of delivery with this new technology."

  15. Great by ajs318 · · Score: 1

    Let's have HTML5 exactly like XHTML, but make it case-insensitive. Especially ditch the awful tag. And allow "centre" to be spelt correctly!

    The thing that ruined XHTML was that it introduced case-sensitivity to a system which had previously been case-insensitive. This is a recipe for breakage. Case-sensitive behaviour is fine in its own right -- after all, just because the dollar sign and the figure 4 come from the same key on the keyboard, they aren't interchangeable, so why should the letter "z" and the letter "Z" be thought of so? -- but not when it's introduced suddenly where it never existed before. That is a blatant contradiction of the Principle of Least Surprise.

    It could be argued that removing case-sensitivity which had existed previously would create even more breakage; suddenly, <BR />, <Br />, <bR /> and <br /> would no longer be four different tags; and if they had ever had different meanings, it would have cocked things up. Of course, assigning different meanings to differently-cased versions of the same phrase was itself a Least Surprise Violation in the first place, unless all but one version are considered errors .....

    At any rate, capitalised tags make it easier when you're editing HTML on the web server using nano.

    --
    Je fume. Tu fumes. Nous fûmes!
    1. Re:Great by Anonymous Coward · · Score: 0

      > And allow "centre" to be spelt correctly!

      Why do you Brits always insist on using French spellings?

      I mean, it's pronounced "sent-err", not "sent-re"

    2. Re:Great by jez9999 · · Score: 1

      Case-sensitive behaviour is fine in its own right

      Not really, no. Case-sensitivity is only good when you're trying to *avoid* namespace clashes. Passwords and variable names (just about) qualify as good usage. When trying to lower accidental misses, however, it's a terrible idea -- so, it's bad for markup tags, and whoever's hairbrained idea it was to make Unix filesystems case-sensitive should be shot. Actually, I don't think it was because someone thought it was a good idea - they just didn't really think not to do it.

      -- after all, just because the dollar sign and the figure 4 come from the same key on the keyboard, they aren't interchangeable, so why should the letter "z" and the letter "Z" be thought of so?

      Because $/4 are totally different characters, whereas z/Z are the same character but with only a case difference? Because humans regularly interchange z/Z and would basically understand 'snooze' and 'snooZe' to be the same? Compare that to the difference between 440 and $40.

    3. Re:Great by ajs318 · · Score: 3, Insightful

      Why do you Brits always insist on using French spellings?
      Because some of our language is borrowed from French, and we retain the spelling and pluralisation rules of the donor language until the word earns a new meaning; in which case, when used in the new sense, it's considered to be an English word which happens to share its spelling with a Foreign word, so the usual English pluralisation rules apply. Hence beetles have antennae, but radios have antennas. Unless they're small, covert transmitters ..... because then they would be bugs. ( Chad image, caption "What no rimshot?")

      Anyway, the fact remains that it was us who stole ..... er ..... borr ..... er ..... invented it. You septics were the ones who had to change it. I'll grant that there might have been more pressing concerns than a copy of the O.E.D. when the Mayflower first set sail out of Plymouth -- and the passengers' apparent inability to think of a better name for the place where they had just landed than the place where they had just come from is evidence for that. But there's no excuse for that sort of behaviour nowadays.
      --
      Je fume. Tu fumes. Nous fûmes!
    4. Re:Great by julesh · · Score: 1

      Why do you Brits always insist on using French spellings?

      Because the word was imported into the language from French? Dunno, just guessing here.

    5. Re:Great by 8-bitDesigner · · Score: 1

      Eeek! Use vim, and the colourisation will help a tonne.

    6. Re:Great by metamatic · · Score: 1

      <center> shouldn't be in HTML at all, any more than <font>. Use CSS.

      And if you need to capitalize element names so you can edit pages, FFS get a better text editor.

      --
      GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
    7. Re:Great by TeknoHog · · Score: 1

      I mean, it's pronounced "sent-err", not "sent-re"

      So why is it not spelled 'senterr'? Why do we have these 'c's anyway, why not use 's' or 'k' according to pronunciation? Why don't we design our language from scratch with easier phonetic spelling?

      --
      Escher was the first MC and Giger invented the HR department.
    8. Re:Great by ajs318 · · Score: 1
      Yeah, I know -- I never use myself; I define a class with {text-align: center}, or jujst make all my s or whatever have that style. But even CSS won't accept "centre". Doesh't mind me naming the class "centre", though, so

      works. If you have .centre {text-align: center} in your stylesheet, of course.

      The point of using nano is that it's small, and it doesn't use X so you can run it in an ssh session. And it's similar to pico, which I already knew from when I used to use pine. I've forgotten too much of vi to be comfortable with vim (afraid I'm no emacs user). It's rather old-fashioned, though; I suppose I should try using kate with a fish:// URL more often.

      --
      Je fume. Tu fumes. Nous fûmes!
  16. A clean slate again by athloi · · Score: 0, Troll

    This is progress, because it's based more on reality than on the usual spacy navel-gazing that defines our standards.

    After Mosaic faded out, Netscape was the dominant browser, but around 1997 it fell behind in implementing new features. Because it was more stable (!) and did allow for newer features that weren't in the "official HTML playbook" but were demanded by consumers, Microsoft IE took over as the dominant browser. This was not least of all because those of us earning a living making web pages needed to implement these new features demanded by our customers, and Netscape tried to thwart us, being every bit as controlling as Microsoft is reputed to be. They would not implement necessary innovations in layout and media presentation, and their browser was flaky, so everyone and their dog shifted to IE.

    IE took over and "ad hoc" implemented what it could and what corporate politics allowed. It was far from perfect but it was better than any other option. Some years later, after IE had gained dominance, a small team brought us Firefox. This new browser tried to rewrite history by claiming it was the guardian of the "one true standard," the Word of the W3C, et al. It seems deliberately designed to ignore the changes in the world of designing web pages brought about by six years of IE dominance.

    The result is a cross-browser coding disaster, and as a web developer of 15 years' experience, I blame Firefox more than IE. Both sides have their own model, and IE can't change, because it must uphold its backward compatibility. Firefox, on the other hand, is a completely incompatible standard that reflects W3C standards written after IE gained market dominance, in some cases. It is needlessly combative and in my view, destructive to those who make pages and the consumer. (Opera, on the other hand, has a saner view: it views IE 5-6 as a de facto standard and adapts, a striking maturity the FireFox developers should find intriguing).

    HTML 5 is a chance for both sides to fix their sites on something productive. We can for once develop the standard before the browser, and make it work cross-platform, saving web developers years of frustrating and most of all BORING xbrowser code fixes. Also, we can finally admit to each other that while CSS is neat, the original HTML model made more sense for developers and is still more stable than CSS.

    That's my statement, and I'm sticking by it, after being a Gopher administrator, FTP publisher, early Web site creator/server admin and independently employed Website creator for fifteen years.

    1. Re:A clean slate again by CastrTroy · · Score: 2, Insightful

      If the standard is "do whatever IE does" then how would Firefox ever actually be able to implement that standard. There is no published documents on how IE functions, so how is Firefox supposed to keep up with that. If Firefox emulated IE 6 perfectly, and then MS released IE7 and completely changed the markup (like they do all the time with their doc format), then Firefox would have to go through a lot of work, trying to figure out what MS was doing. the W3C standards exist because people want to use operating systems other than windows to access the web. They exist because they want to be able to rely on other vendors to provide a web browser that works. If anything I would blame MS for holding everyone back, when we could be creating beautiful webpages very easily, but instead it ends up taking twice as long because we have to deal with all the quirks in IE. Even if no other browsers existed, it would still take this long, because there is no documentation or definition of what IE will do with any give HTML or CSS code.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    2. Re:A clean slate again by HappyHead · · Score: 3, Insightful

      After Mosaic faded out, Netscape was the dominant browser, . . . Microsoft IE took over as the dominant browser.

      The funny part of that is, Netscape was a re-write of Mosaic by the people who made it in the first place. They did Mosaic as a school project, and then said to themselves, "You know, we could probably make money with this, if we fixed all the things we did wrong!" Mosaic was kept by the University it was written at, then spun off to a company named spyglass, which was bought by Microsoft, and re-named to IE. Thus, Mosaic started the web revolution, Netscape was a side-track, and then Mosaic came back under a different name, with much wealthier owners who could afford more coders to work on it. Netscape of course, tried to keep up with the feature creep, but with less financial backing, and less people working on it, their code soon turned into an un-manageable mess (which is why it was completely scrapped and re-written from scratch for Firefox) - just goes to show that for large projects, maybe those project managers really do serve a purpose.

      That of course, is where the problem with browser compatibility really came in - Microsoft wanted more more more features, and they wanted them now now now! So they pushed their developers for speed instead of sanity/security/stability, and that resulted in dumbness like allowing ActiveX to be embedded inside of web pages, and the completely screwball syntax for adding filters to CSS code. Admittedly, some of the things that were added were good, and some were useful (the BGSOUND tag for example, is much easier to control from javascript than the EMBED tag), but the vast majority of the "new features" introduced to IE this way were either pointless, needlessly convoluted for the developer, or just plain harmful. (As the many people who had their bank accounts raided by ActiveX malware, or their computer's power turned off by visiting a prank site will agree.)

      Since IE was windows-only for the most part, Microsoft was free to include as many proprietary things as they wanted, slap copywrites, patents, and all sorts of other protections on them, and basically make it impossible for people on other platforms to add those features to their browsers. It's important to remember that in the early days of the internet (when Mosaic and Netscape first came out, and thus when the actual mindset regarding their feature paths was determined), Windows only barely supported internet access at all, and was in the extreme minority of systems on the internet, which were mostly Unix based. (Yes, Microsoft's browser did technically originate on a Unix system, I've used the original first version of Mosaic when it was first released, on a black-and-white X Terminal attached to an SGI Challenge system.) That meant that while Microsoft was free to make things that worked only on their system and call it good, nobody else could get away with it, as most of their userbase would be left behind.

      Besides, adding a new spec like HTML 5 will not fix the browser gap - even now, as new technologies are coming out and new standards and specs are being released, the browser developers are still putting their own unique and incompatible spins on how things work. Ever tried to embed video in a web page and have it be completely XHTML compliant? You can do it in Firefox. You can do it in IE too. You just can't do it in both with the same code, because they interpret the specs differently. That has nothing to do with IE needing to support backwards compatibility at all, since backwards compatibility relies on a different set of tags completely. It also has nothing to do with Firefox's developers being immature and combative, since they took the simpler and saner route of the two, which didn't involve ActiveX, or embedding the Microsoft Media Player. (Yes, ActiveX in web pages is still bad, even if it can't get at your bank software or power off register anymore.)

    3. Re:A clean slate again by athloi · · Score: 1

      Good points and I'm glad to see this get the discussion it merits. Backward-engineering the IE display model is a little bit tedious, but not rocket science; the Opera guys did it very quickly and accurately. There are many things I would like to blame MS for, but I'd like to note that Netscape was far from error-free, and at the time, IE was a breath of fresh air, although that's hard to believe. I'm still not enamored of any browser, although Opera is the best I've found. None are really GREAT pieces of software in the way that, say, Lightspeed C for the Mac was in its day, or ProTERM on the Apple //e, or TextPad on a modern Windows machine.

    4. Re:A clean slate again by mikael_j · · Score: 1

      IE took over and "ad hoc" implemented what it could and what corporate politics allowed. It was far from perfect but it was better than any other option. Some years later, after IE had gained dominance, a small team brought us Firefox. This new browser tried to rewrite history by claiming it was the guardian of the "one true standard," the Word of the W3C, et al. It seems deliberately designed to ignore the changes in the world of designing web pages brought about by six years of IE dominance.

      Uhm, how should I reply to this? How exactly was it a good thing that MS just decided to not only expand on the standard with their own non-standard browser behaviour but also by interpreting the standard in a completely different way from everyone else? Have you even heard of the infamous "Embrace and extend" tactic employed by Microsoft?

      The result is a cross-browser coding disaster, and as a web developer of 15 years' experience, I blame Firefox more than IE. Both sides have their own model, and IE can't change, because it must uphold its backward compatibility. Firefox, on the other hand, is a completely incompatible standard that reflects W3C standards written after IE gained market dominance, in some cases. It is needlessly combative and in my view, destructive to those who make pages and the consumer. (Opera, on the other hand, has a saner view: it views IE 5-6 as a de facto standard and adapts, a striking maturity the FireFox developers should find intriguing).

      Ok, so the IE developers screwed things up and now they can't fix things because it's too late, how the fsck is that the fault of Firefox? There is nothing "needlessly combative" about implementing the W3C standards instead of the "IE standard", it's simply following the standard. If Microsoft were so desperate for features they should've worked to get those features put into the standard.

      HTML 5 is a chance for both sides to fix their sites on something productive. We can for once develop the standard before the browser, and make it work cross-platform, saving web developers years of frustrating and most of all BORING xbrowser code fixes. Also, we can finally admit to each other that while CSS is neat, the original HTML model made more sense for developers and is still more stable than CSS.

      There is a pretty good standard: XHTML. There is also CSS 1 and 2 with CSS v3 on the way. This path has a lot of advantages over the "old ways" of HTML 4 and it's predecessors. And the main reason that we need all the ugly cross-browser hacks nowadays is because MS still won't develop their browser to interpret document according to the standard. Hell, it took them years to realize PNGs had an alpha channel..

      That's my statement, and I'm sticking by it, after being a Gopher administrator, FTP publisher, early Web site creator/server admin and independently employed Website creator for fifteen years.

      So you started writing HTML back in 1992? Somehow I always thought anyway who had more than a few months of experience with HTML wouldn't be so backwards, but maybe it's about time for the WWW to begin developing a few old farts that prefer the old and painful ways over the modern and slightly more sane ways... (nothing personal, I just can't understand all the people in this discussion arguing that XHTML is crap because they can't understand it)

      /Mikael

      --
      Greylisting is to SMTP as NAT is to IPv4
    5. Re:A clean slate again by Anonymous Coward · · Score: 0

      Gee, I lived through those times as an adult. One of my responsibilities was moving a hospital's set of procedure manuals onto their intranet for rapid access. It let us put into place new procedures as soon as they were validated, without the several week delay involved in printing and distributing revisions to hardcopy manuals; it saved lives.

      I don't remember things being the way parent post described.

      Some people have a very rich and active fantasy life. This is good, it leads to wonderful new pieces of entertainment, and these are big assets for web site designers and architects.

      In contrast, standards development is grubby engineering work where attention to accurate details is of paramount importance. This is where the building codes are developed that allow structures to be safely wired and assure that the toilets won't back up. There really isn't much room for fantasy histories and celebrations of the glories of some mythical Golden Age of web pages in this work.

    6. Re:A clean slate again by Excors · · Score: 1

      Microsoft can't change how IE handles web pages, because they will break all the sites that were written to depend on IE6's behaviour. They did make some changes in IE7, but they were burnt by the experience and don't want to do it again - see Chris Wilson's comments:

      IE7 did cause widespread disruption, as a case in point. I championed making those widespread changes to improve our standards compliance. In all seriousness, I've managed to hang on to my job, but sometimes I think only just. I cannot go to my team and say "hey, we're gonna break the web again (and again and again), but it's okay because it's for a good cause." The world doesn't work that way. I wouldn't be responsibly doing my job - that one where half a billion web users rely on my team to not hose compatibility with their banking web site, even if their bank doesn't know how to properly use CSS 'float'.

      All the other browsers do reverse-engineer IE's behaviour, as well as each other's. HTML 5 is largely an attempt to document and standardise that reverse-engineering: anyone who wants to process the web has to do it in a way that's compatible with the real web, and the real web is written to be compatible with IE, so that has always been the de facto standard and now HTML 5 is making it into a real standard.

      There are many cases where IE's exact behaviour is too insane to copy, but Mozilla and Opera and Apple have experience of what behaviour is close enough to work in reality (based on feedback from bug reports about broken sites) - so the result is something that should be sufficiently compatible with IE in all the cases which web authors depend on.

  17. Just what we need by Anonymous Coward · · Score: 4, Funny

    Another web standard for microsoft to ignore.

    1. Re:Just what we need by Anonymous Coward · · Score: 0

      "Another web standard for microsoft to ignore.".Replace("ignore", "fail to implement correctly")

  18. Previously on Slashdot by alanjstr · · Score: 1
  19. I hate ACs by palladiate · · Score: 0

    No one said HTML was dieing, you can always use a different doctype and the browser will compensate.

    Umm, the definition of a "dead" language is one that is no longer changing. Pascal is "dead" but may people can still program in it. Heck, C is "dead" but commonly used. But, nobody really needs a C working group to address changes to the language. That's what the W3C is, a group that pushes the direction of the evolution of HTML.

    Without changing the language, they no longer need to exist.

    In fact most people still use the font tag.

    Indeed they do, but in 10 years if every web board declares XHTML strict convention, there's plenty of handy stuff that no longer works, and has no replacement. So, you now have a giant class of web developers that are not going to adopt those changes, and as such go against W3C recommendations. If the W3C doesn't make useful recommendations, they become annoying. Some of us will follow their guidelines, some will ignore them. They aren't standardizing us, which is their job, they are just keeping themselves relevant.

    1. Re:I hate ACs by Anonymous Coward · · Score: 0

      Without changing the language, they no longer need to exist. Hrmm... going by your definition, after 1999 we no longer needed html 4.01 to exist since it hasn't changed since then. RTFA, HTML5 is a new version of xhtml 1.1 as well as html 4.01.

      So, you now have a giant class of web developers that are not going to adopt those changes, and as such go against W3C recommendations. If the W3C doesn't make useful recommendations, they become annoying. Some of us will follow their guidelines, some will ignore them. They aren't standardizing us, which is their job, they are just keeping themselves relevant. Maybe you should RTFA and comply with the rules of the language since it's your job when you develop a webpage. It's not their job to standardize us, it's their job to standardize the language. Last time I checked it wasn't Sun's fault for making crappy java developers.
    2. Re:I hate ACs by Xest · · Score: 2, Insightful
      Hate to say it but the AC is right, most your comments seem to be based on a lack of understanding about XHTML and what HTML is.

      "Indeed they do, but in 10 years if every web board declares XHTML strict convention, there's plenty of handy stuff that no longer works, and has no replacement."

      Got any examples of what you can't do in XHTML that you can do in HTML? At the end of the day you can always embed CSS directly into your code when using something like a form on a forum using the style attribute, for example:

      Blah blah



      It ain't good practice, but backwards compatibility isn't necessarily about good practice because sometimes the things you're being backwards compatible with weren't good practice to start with.

      Furthermore, you talk about additional functionality being missing from XHTML that's available in HTML but again, this misses one of the core points as to what XHTML is about, the X in XHTML means extensible, XHTML is designed to be a solid core of HTML markup that's embedded in the XML rules, so that any application can define a new doctype with new tags to do new things as needed. HTML doesn't have this option without simply breaking the standard.

      Many of your comments also suggest you don't understand the concept and importance of separation of code, content and presentation and what this means. The W3Cs recommendations aren't about creating new standards to stay relevant, they're about pushing standards that improve:

      - Accessibility
      - Extensibility
      - Compatibility

      I can't see how this is in any way a bad thing for anyone other than those who simply can't be arsed to spend 10 minutes finding out what's different!
    3. Re:I hate ACs by Xest · · Score: 1

      Ooops, I got owned by the very thing we're talking about ;)

      My XHTML example got embedded in the post!

    4. Re:I hate ACs by fbartho · · Score: 1

      not only embedded, but stripped!

      --
      Gravity Sucks
    5. Re:I hate ACs by tepples · · Score: 1

      Heck, C is "dead" but commonly used. But, nobody really needs a C working group to address changes to the language. Really?
    6. Re:I hate ACs by tepples · · Score: 1

      XHTML is designed to be a solid core of HTML markup that's embedded in the XML rules, so that any application can define a new doctype with new tags to do new things as needed. HTML doesn't have this option without simply breaking the standard. But how does the server communicate the semantics of these new elements to the user agent?
  20. Client side include please! by apathy+maybe · · Score: 3, Interesting

    Can I have a client side include this time around?

    Server side includes are very nice, except that they require a server!

    Client side includes have the potential to be much nicer! Two quick reasons: the first is when (X)HTML is used on (for example) CDs or similar, there isn't a server, and trying to make each page the same either requires fucking around with templates and software, or else using forms...; the second is it would work the same was as having external CSS, saves on download time, allows parts of the page to be downloaded only once and so on. (This second point would also make it really easy to offer different versions of the same page, include header and footer, and don't for example.)

    I know that JavaScript client side includes exist. They, however, are a kludge. They need JavaScript for one!, they might not work on all browsers, they might not be standard and so on. No thanks.

    A simple client side include that worked on the client side the same way the PHP include does, and I'll be happy.

    --
    I wank in the shower.
    1. Re:Client side include please! by CastrTroy · · Score: 1

      I can't for the life of me understand why this type of stuff doesn't exist. If you can pull down images, video, and all that other stuff and display it inline, then surely you should be able to do the same with HTML content. There's been a lot of kludges made in Javascript and the use of iFrames and other wonderful things, but personally, I think that client side includes has been the most glaring omission. The only problem that I could think of, is whether or not the urls from the href,src, and others should be relative to the original document, or the location from which they are being pulled.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    2. Re:Client side include please! by Bonker · · Score: 1

      Client Side Includes, while enabling a certain range of features, would also make an excellent backdoor to information theft.

      Imagine something like:

      input type=hidden name=allyourccnumbersarebelongtous value=

      include c:\windows\well_known_app's_buggy_config_that_cont ains_your_credit_card_numbers.txt

      input type=submit value="Refresh Page"

      --
      The next Slashdot story will be ready soon, but subscribers can beat the rush and slashdot the links early!
    3. Re:Client side include please! by apathy+maybe · · Score: 2, Interesting

      While that is a possibility, you could easily implement have it implemented so that the standard says that only things from the same place could be included (this way you couldn't include local documents in external documents and vis versa). Or you could just build a secure fucking browser that didn't do that sort of thing...

      --
      I wank in the shower.
    4. Re:Client side include please! by JamesSk · · Score: 1
      if it's client side includes you're after, then it can be done very easily using XSLT http://www.w3.org/TR/xslt/

      XSLT lets you format the final output of XML data in any way you want - seperating the content from the layout, in the same way that CSS lets you seperate the content/layout from the style.

      Oh yes, and even Internet Explorer has XSLT support!

    5. Re:Client side include please! by GeckoX · · Score: 1

      I've never EVER thought 'Hey, I sure wish there were client side includes, so I could bung up this design on the client just as much as traditional asp bunged up the design on the server!!!'

      Includes are Not A Good Thing. Their use typically exposes poor design. They are not maintainable. Wonder why traditional asp is all but dead? Ok, that's not the _only_ reason, but it's a very big one. Asp.net provided a much better architecture for designing websites that allowed for good structuring and reuse, WITHOUT includes.

      And now we want these on the client?

      The biggest problem with php is typically the massive overuse of includes...all together too much php code is a rats nest of includes.

      Do NOT bring this to the client, PLEASE, for the love of the web, even as messed up as it already is, just Don't Do It!!!

      Don't agree? Give me one good example where a client side include is a good idea. And it'd better be an example that isn't fully serviceable by using an iframe.

      --
      No Comment.
    6. Re:Client side include please! by Bogtha · · Score: 1

      Can I have a client side include this time around?

      HTML has had a client-side include for a decade. It's called <object> . Inline frames are also popular.

      --
      Bogtha Bogtha Bogtha
    7. Re:Client side include please! by Blakey+Rat · · Score: 1

      Just like any other feature of the web, you'd obviously enforce the 'only from the same server' rule. It would be stupid to have the ability to include files from a local HD unless the HTML file was also from the same HD.

    8. Re:Client side include please! by Blakey+Rat · · Score: 1

      Don't agree? Give me one good example where a client side include is a good idea. And it'd better be an example that isn't fully serviceable by using an iframe.

      How about a header with Javascript menus that can extend below the header? How about a header which containing script (AJAX-y) that needs to communicate with Javascript functions on the content of the page? (Yes, yes, I know it's possible for iframe functions to communicate with JS on the outer page, but it's a pain in the rear.)

      But honestly, I think the burden of proof is on you. Care to explain exactly why includes are so bad?

      Their use typically exposes poor design.

      Like what?

      They are not maintainable.

      How so?

      The biggest problem with php is typically the massive overuse of includes...all together too much php code is a rats nest of includes.

      1) And this is a problem because...?

      2) Any programming language/feature can be abused; that says nothing about the quality of that language/feature. (Analogy: Dialog boxes are bad because a single application can create 5,000 of them and bog down the computer!)

    9. Re:Client side include please! by Anonymous Coward · · Score: 0

      Um... I want a footer on 2000 of my pages, and while I know I can sed/awk it when I make a change, would be much easier.

    10. Re:Client side include please! by 8-bitDesigner · · Score: 1

      Exactly, even Flash handles domain locking these days. In Flash, you're usually only allowed to run scripts within the same domain as the website. Yes, for social websites like MySpace, that's not exactly fool-proof, but domain-level permissions would allow you to place sensitive items on a secure dev server, and only allow pages on the same server to access them.

    11. Re:Client side include please! by psydeshow · · Score: 1

      Hmmm. Isn't this what inline frames are for?

    12. Re:Client side include please! by Excors · · Score: 1

      There was some discussion about that on the WHATWG list here that may be interesting. (The list is open for anyone to subscribe and post to, if you have points to add to the discussion about this or other features.)

    13. Re:Client side include please! by GeckoX · · Score: 1

      I wasn't asking why server side includes exist, and if you're stuck in an environment where that's all you've got, then of course by all means, please do.

      --
      No Comment.
    14. Re:Client side include please! by Anonymous Coward · · Score: 0

      I completely agree that "include" is dubious as a design construct for a typical application developer. The technique is simply too low-level for typical application development. However, that's a far cry from useless. An "include" is simple, efficient, and easy to implement. If your application targets heterogeneous environments (which indicates a need for easy-to-implement) and needs to perform well, then it may be a good idea to have deliverables that are implemented using an "include" function. Ideally, an application developer can use a higher-level system to produce the application, and then he can apply compilation or optimization tools -- those tools can decide when "include" is appropriate.

      In general, an IFRAME makes a weak surrogate because it has to be a box -- this constrains the aesthetic and ergonomic qualities of the document or application.

      The grand parent cites two reasons, and both of these lead to reasonable use-cases. Consider the first: publishing documents on CD (which is a passive medium). Perhaps you have an encyclopedia, medical reference, technical specification, or government records. All of the included documents should provide a standard look & feel, should participate in a standard navigation, and should be useful on diverse computer systems. A standard, client-side include mechanism would enable HTML to fulfill the task without the (currently required) storage overhead imposed by duplicating information across documents.

    15. Re:Client side include please! by TheSoggyCow · · Score: 0

      Just FYI, although it would be nice to have a decent, simple, easy to use native client side language, it would be a security NIGHTMARE. Just think of poor Myspace :-P. They disable javascript and are still (excuse my french) fucked...

    16. Re:Client side include please! by TheoMurpse · · Score: 1

      Aside from DB calls and writing to files, I'm having trouble thinking of anything you'd want that doesn't already exist in the standardized JavaScript DOM. And obviously if you don't want to run a server, you don't want to run a DB app. That leaves write-and-read-to-file. Is there something in particular you'd like to do that JavaScript doesn't allow?

      JavaScript is not a kludge. What is it about PHP that you want to use on webpages that doesn't exist in JavaScript already? I just recently inherited a web-site governed by templates. It uses only HTML, CSS, and JavaScript. There are calls within an init() function such as contentColumn(TITLE, CONTENT). With this, you change your external JavaScript file to decide the structure of the content column.

      Also, what does "JavaScript for one!" mean?

      And if you thought standardized JavaScript was a problem, wait until you see the lack of support for a new client-side standard. Just design your page in HTML, CSS, and JavaScript, and distribute it with a copy of Firefox that doesn't need to be installed to run. If the user is on Linux or OS X, it's highly likely that they have Firefox installed already. If they're running Windows, you can have the site autolaunch by placing an autorun.ini file in the root directory of the CD, and have its contents be something like run=.\firefox.exe index.html or whatever the syntax for autorun is in Windows.

  21. Referrer by pne · · Score: 1

    And allow "centre" to be spelt correctly!

    Now what we need is a new version of HTTP that allows "Referrer" to be spelled correctly.

    --
    Esli epei etot cumprenan, shris soa Sfaha.
  22. What is wrong with XHTML? by jonwil · · Score: 1

    Clearly XHTML is inferior to HTML otherwise the people behind this push for HTML 5.0 would be pushing for XHTML 2.0 instead. But why is XHTML worse than HTML?

    1. Re:What is wrong with XHTML? by IBBoard · · Score: 0

      Because it has a required structure and is more XML-like, so people can't be lazy and miss closing tags etc?

      Alternatively, it's because XHTML is semantic, where as HTML is either not semantic (, , etc in HTML4 have no real meaning) or that it's buzzword-semantic (, and the others mentioned are apparently possible parts of HTML5). Why make people think semantically when it doesn't involve buzzwords and 'oooo, leet blog'-ness?

    2. Re:What is wrong with XHTML? by IBBoard · · Score: 0

      Yargh, damnit, just like a previous poster I got caught out by the posting format.

      Real parent post:

      Because it has a required structure and is more XML-like, so people can't be lazy and miss closing tags etc?

      Alternatively, it's because XHTML is semantic, where as HTML is either not semantic (<b>, <i>, <u> etc in HTML4 have no real meaning) or that it's buzzword-semantic (<article>, <video>, <progress> and the others mentioned are apparently possible parts of HTML5). Why make people think semantically when it doesn't involve buzzwords and 'oooo, leet blog'-ness?

      ---

      Addendum: See, this is why HTML is bad. I put in an unclosed tag and it parses it ;)
      Addendum 2: Damned posting limit making my correction follow-up slow!

    3. Re:What is wrong with XHTML? by Anonymous Coward · · Score: 0

      I strongly advocated for XHTML in its early years, but now I'm more aware of its limitations. While it is great for much technical writing, the majority of human to human communications involves the presentation of sets of stimuli that, as a set, will evoke the kind of neural net activity that the author intends the reader to experience. So when communicating about non-technical matters, logic and often content are not as important to the message as XML requires them to be.

      HTML is more like a natural human language. Natural languages are not based on syntax, grammar, spelling, punctuation, and so on. Think about how a child learns to talk, and that it will be about a decade after he is able to express himself quite well before he really learns the rules of grammar, etc, that he has been using all along. HTML has some of this same kind of fluidity, precisely because it is not constricted by syntax in the way that XHTML is.

      Another way to look at this is that outside of technical realms, an awful lot of human communications has to do with purposefully presenting ambiguities to the reader. Puns and metaphors work on this principle. A Slashdot comment should not be modded "insightful" because it lists new information (that would be "informative"); it is insightful when it sets up an ambiguity that brings to the reader an unexpected experience as he works his way through resolving the presentation. And sometimes we want to be the playful dolphin and porpoisefully misuse the language to make our point.

      Since intentional ambiguities play such a large part in human to human interactions, XML and XHTML are not as easy to use in a lot of settings as the more loosey-goosey HTML is.

    4. Re:What is wrong with XHTML? by colinrichardday · · Score: 1

      But that is not the issue. In terms of what the reader sees, there is little difference between HTML and XHTML. The main advantage of XML is that is it easier for computers to deal with. MathML requires more typing than LaTeX to achieve the same representational effect, but MathML allows for easier application building.

  23. What things? by IBBoard · · Score: 0

    ...things don't always develop the way we expect
    Huh? What things? I found nothing in TFA (well, the first one, don't quite want to read an entire working draft ;) ) that mentioned something that hadn't developed as expected.
  24. Maybe indeed the right way to go by Jugalator · · Score: 1

    After all, XHTML is currently considered harmful.

    Sure, HTML includes browser-specific extensions, but if you do not use those, and instead HTML+CSS, you'll end up as more standards compliant than using XHTML with CSS and the wrong MIME type.

    --
    Beware: In C++, your friends can see your privates!
    1. Re:Maybe indeed the right way to go by Myen · · Score: 1
      Note that
      • That page is from the editor of HTML5 (W3C/WHATWG)
      • That only claims it's harmful when served as text/html; serve it as application/xhtml+xml and everbody's happy. Well, except the IE users...

      I think you understood that, but I figured it was better to point it out.
    2. Re:Maybe indeed the right way to go by Bogtha · · Score: 1

      Sure, HTML includes browser-specific extensions, but if you do not use those, and instead HTML+CSS, you'll end up as more standards compliant than using XHTML with CSS and the wrong MIME type.

      This is not true, text/html is not "the wrong MIME type" for XHTML. So long as it's XHTML 1.0 and it follows Appendix C of the XHTML 1.0 specification, it's perfectly acceptable to transmit an XHTML document as text/html. Refer to RFC 2854. I quote:

      In addition, [XHTML1] defines a profile of use of XHTML which is compatible with HTML 4.01 and which may also be labeled as text/html.

      Now feel free to argue that it's not a good idea to do it, but it's got nothing to do with standards compliance.

      --
      Bogtha Bogtha Bogtha
    3. Re:Maybe indeed the right way to go by Dracos · · Score: 1

      Ian Hickson (whose site you link to) is one of the ringleaders of HTML5: of course he considers XHTML harmful. Very much like MS considering ODF or GPL3 harmful.

      Neither HTML nor XHTML contain browser specific extensions; the browser vendors implement these of their own accord.

    4. Re:Maybe indeed the right way to go by marcosdumay · · Score: 1

      Maybe you should read the article you point again. Or maybe even just the title, that is already about some completely unrelated stuff.

  25. date tag? by ngunton · · Score: 4, Interesting

    I have suggested this before and always got shouted down for it... but as a web developer, I really wish they had simply implemented tags like 'date', which the browser would automatically know about as a date field and have its own built-in popup calendar for browsing dates, rather than having to either rely on plain text, lame dropdown menus, or else implementing yet another date popup javascript library (or including yet another javascript library which slows down the user experience even more).

    There are so many things that could be included in the html language if it weren't for the purists - dates, columns, real collapsable tree controls, counters, AJAXified controls that work without all the crap you have to do today to detect browsers... but no, the purists say "you can do it in this (incredible convoluted) css" or "you can implement this in javascript" (cue long convoluted "obvious" solution).

    Geeks are notorious for generalising and making everything nice and orthogonal, but they often forget that sometimes it's worth having something that makes life easier 90% of the time, even if it's technically possible to reduce it to a set of other constructs that already exist.

    Remember lisp, nobody uses it for real-world programming even though it's incredibly powerful. No, we use other languages that have lots of useless and redundant and inflexible syntax that makes the act of everyday programming easier and more straightforward most of the time. Are these inferior languages as powerful, expressive and all-encompassing as lisp? No. Are they easier for 99% of mere mortals to comprehend and use? Yes. If we had tags for controls that reflected the more dynamic nature of the Web today, even if many of those tags could be implemented in javascript, it would make pages smaller and faster 90% of the time (you could still implement it yourself if you really needed additional functionality).

    But, as usual, the purists are in control. We're not supposed to use tables for arranging pages; no, we have to use CSS to do that. So now we have a bunch of pages that don't render properly. But do they admit that it was a bad idea? No, it's the browsers' faults for crappy implementations. I don't get it, this religious mindset that says "You must do it one way, our way is the only way". "The TABLE tag is for tabular data only, don't use it for arranging the page". What crap. The table tag is amazingly useful, it works in all browsers, and no I don't mind in the least typing TR and TD everywhere. It's simple and it works. Yes, it's more verbose perhaps than the CSS version but at least it works in all browsers and doesn't end up with overlapping crappy text all over the place.

    1. Re:date tag? by Anonymous Coward · · Score: 0

      One thing to consider, when thinking daggers at whomever decided tables should be used for information and not for layout, is accessibility. Screen readers for the visually impaired have a HORRIBLE time trying to follow table-based layouts. Think of writing your blog in an Excel spreadsheet. Sounds ridiculous doesn't it?

      CSS is designed so Web authors can separate content ((X)HTML) from layout (CSS). It just so happens that the browser makers don't always like to play along. Shocking, I know.

    2. Re:date tag? by jalefkowit · · Score: 3, Interesting

      "The TABLE tag is for tabular data only, don't use it for arranging the page". What crap. The table tag is amazingly useful, it works in all browsers, and no I don't mind in the least typing TR and TD everywhere. It's simple and it works.

      Unless your reader is blind or visually impaired, and using a screen reader, in which case your page will blow up spectacularly. Or if they try to access your page via a mobile phone browser. Etc., etc.

      Attention all web developers: please read this and think about how broad the range of web users truly is.

      (Oh, and if you don't give a flying fark about blind people or phones -- moving your style instructions from the HTML into CSS files will cut down on the total volume of info your users have to download by an order of magnitude, reducing your bandwidth costs.)

    3. Re:date tag? by 'The+'.$L3mm1ng · · Score: 2, Informative
      You got it.

      The input element's type attribute now has the following new values:

      • datetime
      • datetime-local
      • date
      • month
      • week
      • time
      • number
      • range
      • email
      • url
      HTML 5 differences from HTML 4
    4. Re:date tag? by Ancalimar · · Score: 2, Insightful

      Absolutely well-said. I understand all about the principle of separating content from layout, but frankly there's far too much arrogance to go around about HOW to implement that concept.

    5. Re:date tag? by Alomex · · Score: 2, Informative


      The problem comes when languages got religion. Lisp went from a list based language to list based syntax jihad. Ditto for Pascal and his strictly enforced strongly typed functions and Java and its everything-is-an-object global-variables-are-forbidden jihad.

      SGML as well as the newer versions of HTML are in a format-is-100%-orthogonal-to-content jihad.

      Notice that all of the principles listed above are good and correct. The problem comes from emforcing them too strictly.

    6. Re:date tag? by metamatic · · Score: 1

      I really wish they had simply implemented tags like 'date'

      And not just for forms. Imagine if you could put dates on the page by specifying them as a date element in ISO 8601 format, and having them display in the correct format and time zone for the user!

      --
      GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
    7. Re:date tag? by drew · · Score: 1

      The problem with having date controls and tree controls built in is that we'd have to write our own most of the time anyway to make them match what the designers come up with. I already have to do it with selects and scroll bars (although thankfully not very often). And if you're writing an admin tool or some other sort of site where the design doesn't matter, use ASP.NET or something built for the task that has them built in there.

      I'm not saying that these wouldn't be useful additions, but I'd much rather see the browser makers get up to snuff with the existing standards before they set out to screw up new ones. Honestly, if the existing browsers did a decent job of supporting CSS2 and the DOM event model, stuff like menus and treeviews would be no-brainers, anyway. And if they really are determined to go ahead with a new version anyway, there are a lot of bigger gripes that I have with HTML than the lack of a native date form element.

      --
      If I don't put anything here, will anyone recognize me anymore?
    8. Re:date tag? by fatphil · · Score: 1

      2nd paragraph - you want stuff in AJAX, but to not use JavaScript?

      Does not compute.

      --
      Also FatPhil on SoylentNews, id 863
    9. Re:date tag? by Tacvek · · Score: 1

      Or if he was wanting dates in plain text to be recognized by the browser (for whatever reason), the "time" tag is available to do that.

      --
      Stylish sheet to fix many problems in Slashdot's D3: https://gist.github.com/801524
    10. Re:date tag? by leighklotz · · Score: 1

      which the browser would automatically know about as a date field and have its own built-in popup calendar for browsing dates

      XForms, the W3C's forms module for XHTML, has this.
      You just mark the data as type date and it does it for you.
      The control is still input.

      See XForms 1.0 and XForms 1.1 which is nearly done. There's support for this feature in the native implementation for Firefox, which is presently at about version 0.8.

      So, you put the data in your XML data section (just like the Ajax stuff does), then you put your data type declarations in (string, boolean, date, email address, enumeration, etc), and then you use the tags inside your XHTML to refer to the data. It's exactly a three-layer model.

    11. Re:date tag? by pkphilip · · Score: 1

      Thanks a lot! You need to be modded right up! HTML really needs to be modified to include the controls such as the one you have suggested - date fields, time fields etc.. browsers can easily degrade the display to show just a text field (if they don't have built-in support for handing these fields).

      Also, I agree with you about the usage of tables. The well kept secret (which paradoxically most people seem to be aware off but will not admit) is that CSS layouts are very difficult to do correctly. Also, it may work on one browser but will break on every other browser.

      I don't understand all this nonsense that tables are not suitable for the blind etc.. Any content within a table can be assigned ids / class names or any other semantic markup to define what they actually mean - and this can be used for interpreting data for text-to-speech applications.. I don't see how CSS is going to do a better job of that.

      All this talk about table-based layouts requiring soo much more verbose markup is also nonsense. For one thing, if the choice is between simplicity and saving disk space, simplicity wins. Tables gets the work done, CSS is for those with a lot of time and who consider their time worthless.

      I have personally developed HTML browser controls used in embedded ticketing terminals in Scandinavia. CSS is bloody difficult to get right.. which is why most browsers still don't do it properly. Tables, on the other hand, are much easier to implement and do EVERYTHING that CSS does, without the headache.

      But yes, the purists won't agree.

    12. Re:date tag? by soliptic · · Score: 1

      I have suggested this before and always got shouted down for it... but as a web developer, I really wish they had simply implemented tags like 'date', which the browser would automatically know about as a date field and have its own built-in popup calendar for browsing dates, rather than having to either rely on plain text, lame dropdown menus, or else implementing yet another date popup javascript library (or including yet another javascript library which slows down the user experience even more).

      Excellent idea.

      "The TABLE tag is for tabular data only, don't use it for arranging the page". What crap. The table tag is amazingly useful, it works in all browsers, and no I don't mind in the least typing TR and TD everywhere. It's simple and it works. Yes, it's more verbose perhaps than the CSS version but at least it works in all browsers and doesn't end up with overlapping crappy text all over the place.

      Absolute load of rubbish, sorry. I see this crap all the time on slashdot, with all due respect it's quite obvious the people who say it are people with a little personal homepage or something. Not actual web professionals who have to consider maintainability and reusability (across different staff, countries, projects), accessibility (backed up with legal teeth in many places now), SEO, device portability, centrally controlled corporate branding vs delegation of content provision, etc.

      Now don't get me wrong, you sadly do have a point, table based layouts do "work" and hence they're still around. Like the primary website (10,000 public pages, lots more inside an extranet area) I maintain, which is still table based. But that's awful: awful to maintain, awful for accessibility, awful for SEO, awful on mobiles, awful at letting me have others submit articles directly without f&%$king the format/style. Our newer stuff, done with CSS instead, wipes the floor with it in every department.

      Sorry, but if you know what you're doing, doing layouts that "render properly" and "works in all browsers and doesn't end up with overlapping crappy text all over the place" is not difficult, and the benefits are enormous.

  26. I think you'll find by FoamingToad · · Score: 1

    that "Centre" is in fact spelled correctly. It's "Color" that's wrong ;-)

    Perhaps both Centre and Center, and Color and Colour, could be considered syntactically equivalent for the purposes of rendering, to cater for differing regional variants of English?

    F_T

    1. Re:I think you'll find by DaggertipX · · Score: 1

      No, we bastardized the language fair and square. You can't have it back.

    2. Re:I think you'll find by FoamingToad · · Score: 2, Insightful

      That's "bastardised", dear boy :-)

  27. I still hate you by palladiate · · Score: 1

    ...we no longer needed html 4.01 to exist...

    No, I'm saying it doesn't change. Latin is dead too, that doesn't mean it isn't used regularly. It just means that the language no longer changes, and meets the needs of it's users. I'm saying HTML may just not need to change, as it seems to be meeting our needs. The W3C's

    Sign up for an account.

    1. Re:I still hate you by palladiate · · Score: 1

      ?! That sentence ended in preview. The W3C is threatening to do what all powerful groups do after a while: make changes to stay relevant.

  28. One thing that's always irritated me about XML... by jez9999 · · Score: 0, Offtopic

    ... is that its tags are case-sensitive. This doesn't make any friggin' sense. I've never seen a case where they define 2 tags named identically but cased differently, and indeed it would be silly and confusing, yet XML behaves as if this is the case. XHTML inherits this limitation. I like my HTML tags in uppercase, damnit, to make them more obviously separated from the content! Are XML parsers too lazy to do something like "lc(string1) == lc(string2)"?

  29. Re:One thing that's always irritated me about XML. by Crimsonjade · · Score: 1

    I actually like this feature. I hate when I am reading HTML and all the tags are capitalized. It looks horrible and it usually means I can expect to see some php right smack in the middle of it all.

  30. bah, humbug... by ynohoo · · Score: 1

    Long live HTML 2! Depose the usurpers!

  31. XHTML fails to deliver clueless doofuses like me. by Anonymous Coward · · Score: 0

    I'm no programmer, and I had to learn one inane robot language, HTML, in order to put up a website. I will not learn two. My boyfriend will not learn another one, and neither will my mom. We all learned HTML, and CSS, for that matter. We're stuck because we have other things to do in our lives, and XHTML is too much computer and not enough language for us to take time on. We're happy tinkering around the edges, thank you very much, and we have valuable, interesting experiences that we want to share with the world, on the web.

    Honestly, the web is too valuable to be left entirely to the programmers. You guys did a great job, and we love you, but you can't hog it all for yourselves. Leave something for the rest of us.

  32. XHTML would be fine... by itsdapead · · Score: 1

    ...as long as it had been treated as no more than a "kludge" that, by adding a few extra closing tags, double-quotes and other flourishes, let you write XML code that still worked in any well-behaved HTML renderer but could be parsed using XML tools (or, e.g. generated as output by XSL until common browsers get round to implementing FO, assuming it is possible to implement FO...). If you want to do proper semantic markup, just use pure XML with a CSS or XSL stylesheet and forget all the legacy rubish that HTML drags with it.

    I don't suppose that W3C will break with tradition and produce a reference implementation of HTML5 so that (a) developers have a reference to compare with or (b) don't need to refer to the reference implementation, because the reference developers fed back the ambiguities and conflicts to the spec writers, who fixed the spec before it is cast in stone...?

    Didn't think so.

    --
    In a survey of 100 programmers, 111111 thought that duck-typing was a good idea.
  33. Re:One thing that's always irritated me about XML. by Myen · · Score: 1

    So is the same as <ß/>? Yay for capitalization rules. Or are we going for the SQLite style "case insensitive for 7-bit ASCII but case sensitive elsewhere"? :)

  34. Not considered harmful by Anonymous Coward · · Score: 0

    The practice of delivering XHTML with a wrong MIME-type is considered harmful, not XHTML itself.

  35. Not intended as a troll by athloi · · Score: 1

    I know that for some it is tempting to label things that hit loyalty centers as trolls, but look rationally at the situation: this post is not intended as a troll.

    Its point is that HTML 5 is a welcome fix to the mess created by cross-browser CSS.

    If people have troubling accepting that due to emotional immaturity (see: fanboism, brand loyalty, fanaticism) I can only suggest that this is the reason for Slashdot's continued reliance on meta-moderation.

  36. Adoption more important than technology by Geof · · Score: 2, Interesting

    The whole idea of XHTML was to provide a segueway into an altogether new way of distributing content. . . . What does XHTML fail to deliver . . . ?

    It has failed to deliver adoption. We can argue about why (IE's lack of support, no compelling features), but the fact remains that a standard is worthless unless it actually becomes, you know, standard. Standardization is less a technical matter than a social one. Most of HTML's value derives not from its technical strengths, but from its ubiquity.

    To date, the new way of distributing content that you cite has not succeeded. XML was advertised as a solution to interoperability, but in reality it solved the easy problems - e.g. syntax, not the hard ones - e.g. agreement about meaning. XHTML's ambition to mix multiple XML vocabularies in a single document is worthy (and in the longer term worth pursuing), but the subset of vocabularies that would be widespread enough to matter would be small.

    What HTML 5 offers, and what XHTML did not deliver, is further agreement about meaning. It provides standard ways to do what people are already doing. For example, it specifies unambiguous ways to mark up navigation menus and time. These are small things, but small things matter. Look at HTML's declarative links - also a small thing: they have made possible applications like Google (imagine if links were all scripted instead!).

    Meanwhile, HTML 5 can be serialized as XML. Why not simply make it XHTML 5? Again, we can argue about the relative benefits, but the best answer is that it would be a barrier to adoption - and thus to the central benefit of standardization.

    Despite all of this, I certainly wouldn't call XHTML a failure. If you consider it outside the browser it is very useful (for server processing, embedding in Atom, etc.). In the medium to long term, it seems likely to gain in popularity. At this point, though, it is clear that non-XML HTML serialization is not going to go away. I think there are good (social) reasons for that; regardless, making that HTML better is a good thing.

  37. So why the sudden interest? by Evardsson · · Score: 1

    I posted a story on this in May and no one cared. The story hasn't changed - but now that it's stale it has become interesting?

    (no, not bitter, not me, nope)

    --
    Death looks every man in the face. All any man can do is look back and smile. - Marcus Aurelius
  38. The u tag? by achurch · · Score: 1
    I have no argument with most of your post, but:

    Seriously, the b, u, i and big tags are _exactly the same_ in XHTML. My XHTML validator seems to disagree with you:

    $ cat >test.html
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11-strict.d td">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head><title></title></head><body> <p><u>test</u></p></body>
    </html>
    ^D
    $ validate test.html
    *** Errors validating test.html: ***
    Error at line 4, character 40: element "u" undefined

    Which is a pain, because I have to go to the trouble of writing <span style="font-decoration: underline"> instead.

    1. Re:The u tag? by 1110110001 · · Score: 1
      U isn't in HTML4 strict either:

      <!ENTITY % fontstyle
        "TT | I | B | BIG | SMALL">
      But it's also in the transitional XHTML 1.0 DTD:

      <!ENTITY % fontstyle.basic "tt | i | b | u
                            | s | strike ">
      What you mean isn't a difference between HTML and XHTML - it's between strict and transitional.
    2. Re:The u tag? by HappyHead · · Score: 1
      First, you shouldn't be underlining non-link text in a web page anyways, as it's a cruel thing to do to computer lab attendants. It leads to broken mouse buttons, strange help requests, and hair-loss due to pulling.

      Aside from that, XHTML 1.1 strict isn't the only version of XHTML around - The part of XHTML 1.0 that contains the u tag is the xhtml 1.0 transitional section. If you want to use it, the best DOCTYPE to use would be:

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transition al.dtd">
      Change that, and your validator will not have a problem with it.
    3. Re:The u tag? by achurch · · Score: 1

      First, you shouldn't be underlining non-link text in a web page anyways, as it's a cruel thing to do to computer lab attendants.

      I figured somebody would say that. That doesn't make you any less wrong, though. (Hint: not everybody underlines links these days, and not all HTML is intended to be read by ignorant users.)

    4. Re:The u tag? by achurch · · Score: 1

      Thanks for the correction. I'd gone with strict when I switched to XHTML to try and help myself keep the code as clean as possible, but maybe I'll switch back to transitional, since strict seems to be counterproductive in that sense.

    5. Re:The u tag? by tepples · · Score: 1

      not all HTML is intended to be read by ignorant users. But don't rely on this too much, as not only do a lot of people in a lot of markets lack experience with the web, but also some people have congenital or acquired cognitive disabilities. Excluding such people unnecessarily could cause problems with accessibility guidelines if your application is required by law or contract to be accessible.
  39. The downsides of HTML 5 by srowen · · Score: 1

    The new vocabulary of HTML 5 is nice. One can argue it's simpler than XHTML 2's equivalents. But, please, why would one want to retain HTML's loose syntax? I don't see why one would want to offer multiple syntaxes; what's so wrong with XML-like well-formedness? Also, HTML 5 shows no consideration of mobile markup (oi, where did accesskey go?) like the XHTML family does (hey, there are two mobile XHTMLs!) We're going to have Yet Another Markup Standard. This idea that XHTML is the product of stuffy irrelevant committees of wonks and HTML 5 is the evolved, lucid way of the future is misguided; it's just the product of a different committee of wonks...

  40. Just another "get Microsoft" proposal by Anonymous Coward · · Score: 0

    Like all these other arbitrary FOSSie standards, it's entire reason for being is simply to "get Microsoft". These guys haven't come up with a standard which makes sense, ever, but to mask their incompetence they need... NEED... to bash Microsoft.

    Microsoft is the group which gets stuff done. Microsoft is the group which succeeds, both in the marketplace and the marketplace of ideas. FOSSies? They literally have to give their stuff away... and still can't win. Do you realize how fundamentally BAD a product has to be when it's free, but STILL can't compete? The only next step is to PAY people to use Lunix and Firefux.

    1. Re:Just another "get Microsoft" proposal by sgtrock · · Score: 1

      BWAHAHAHAHAHA! Thanks, I needed a good laugh. Great piece of satire, buddy! Let me see if I can continue in the same vein:

      There's no way that all of the protocols and all of the standards that the Internet relies upon were built without Microsoft. And there's no way that the Internet would ever have been used by any business, government, or institution of higher learning before Microsoft made sure that every Wintel desktop would have a browser on it.

      That whole canard about how Web browsing was invented by one guy at CERN just isn't true, after all.

      Wait. You were serious?

    2. Re:Just another "get Microsoft" proposal by falconwolf · · Score: 1

      There's no way that all of the protocols and all of the standards that the Internet relies upon were built without Microsoft. And there's no way that the Internet would ever have been used by any business, government, or institution of higher learning before Microsoft made sure that every Wintel desktop would have a browser on it.

      Hah, I saw businesses on the net before MS ever "discovered the web". Back then I even had more bookmarks for Gopher servers than web servers.

      Falcon
  41. HTML 5 Won't Matter... by Nom+du+Keyboard · · Score: 2, Informative

    HTML 5 won't matter until Microsoft almost handles it in Internet Explorer. I'd guess that might happen 5 years after the standard is adopted.

    --
    "It's the height of ridiculousness to say for those 9 lines you get hundreds of millions."
    1. Re:HTML 5 Won't Matter... by porneL · · Score: 1

      HTML 5 is in part designed by reverse-engineering IE. Most new HTML 5 features can be emulated in IE6 using JavaScript.

  42. Why not add new tags to XHTML instead? by presidenteloco · · Score: 1

    The reasons for supporting xhtml (more uniformity of expression, simpler parsers etc) are still as valid as ever.

    Why not drive people to an xhtml 2 or 3 or whatever by including the advanced content type tags in a
    new xhtml standard.

    When it comes to syntax standards, less often really is more. Simpler grammar, more expressive vocabulary
    is the way to go. Complex grammar + large vocabulary just means hard to parse and to understand.

    --

    Where are we going and why are we in a handbasket?
  43. Instead of HTML 5, we need XHTML design process v2 by mikelang · · Score: 2, Interesting

    I see this a step back.
    I've already gained immense advantages by using XHTML in my apps,
    and I see it XHTML+CSS combo is much better supported than HTML+CSS.

    The only problem is with XHTML design process, that is painfully slow,
    with unnecessary emphasis on 'modularity'.

    Just give me a concise specs of XHTML 2.0, CSS 3.0 so that they'll include
    editing. But to do this, W3C would have say bluntly that the problem with XHTML
    was with the process and people, not with the technical side. (The same happened
    with never-completed CSS 3.0 and rarely-fully-implemented XForms.)

  44. And CSS, too by slashd'oh · · Score: 1
    I would add that MS is also active in the CSS Working Group, as Bert Bos stated on the (recently-started) CSS Working Group Blog under the heading "Myth 3: Microsoft is holding back CSS standards development and/or doesn't care.":

    I have no idea what Microsoft Corporation's agenda is, but ever since they rejoined the CSS Working Group, the Internet Explorer team has been actively participating in the working group. Markus Mielke has been consistently pushing us to spell things out explicitly one way or the other rather than leave anything undefined; Paul Nelson, whose expertise is in internationalization and fonts, has volunteered to pick up some of the specs whose editors left the working group years ago; and Arron Eicholz and his QA team are working to contribute Microsoft's CSS tests to the CSS2.1 Test Suite. That's not the behavior of a group that wants to hold back standardization. Markus's team wanted to fix more bugs in IE7, but the release schedule didn't give them the chance to make many of the changes they wanted. I won't say anything about the rest of the company or how they handle such issues in other forums, but the reps Microsoft sends to the CSS Working Group genuinely believe in cooperating through the W3C and moving forward with web standards.
  45. oh bitter you ... tempt me :D by freaker_TuC · · Score: 1

    It would have been a dupe ;)

    --
    --- 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..
  46. "How loud is an H1", did you say? by bill_mcgonigle · · Score: 1

    What height is H1 supposed to look like by default?

    On your Braille reader or your cell phone?

    What's the DPI of your display?

    Answer: it's not visual markup, it's semantic markup. Style it with CSS if you can't trust your users to chose what they want an H1 to look like.

    --
    My God, it's Full of Source!
    OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
  47. HTML5 infuriates me by Dracos · · Score: 1

    I will never understand why HTML5 gains momentum while XHTML2 has become shunned. The page describing diffrences between HTML4 and HTML5 is chock full of "WTF?" moments: presentational tags coming back from the grave, new tags that fill niches narrower than a human hair, and new attributes that are simply bizarre. The ping attribute is so ripe for abuse (by marketers) that I can't even begin to describe how bad of a design decision it is. Other structural problems (such as the dl element's lack of internal organization) remain unaddressed.

    XHTML may not have been developed that way everyone wants now, but it is a victim of circumstance: IE doesn't handle the application/xhtml+xml mime type at all. Is this the fault of the original XHTML working group? No, the blame for that lies at Microsoft's feet.

    XHTML2 has elegant solutions which HTML5 eschews in favor of bloating its tag set. The role attribute could replace half a dozen or more of the new special purpose HTML5 tags. Adding href and src to nearly all the tags is another stroke of genius.

    In a world which has embraced XML, why should the most public-facing specification of the W3C make XML compliance optional? Tag soup is for idiots, just like babushka tables. Some claim that XHTML was never embraced by developers. Which developers do they mean: the ones who have read and understand the standards, or the WYSIWYG monkeys who couldn't write a valid "Hello, world!" paragraph by hand if their lives depended on it?

    I find it appalling that the W3C has allowed this usurpation to happen. And nothing against Chris Wilson personally, but him as the working group chair will probably have dire consequences eventually.

    1. Re:HTML5 infuriates me by porneL · · Score: 1

      Browser developers can't stop supporting HTML tagsoup, even worst presentational tags and quirks, because there is so much of it on the web (it is the web).

      All tags, even those stupid ones, need to be documented to be implemented interoperably. Presentational tags are needed for WYSIWYG editors (they suck, but they won't die anytime soon, and blindly replacing <b> with <strong> or <font> with <span style> won't make document any more semantic).

      Ping attribute protects privacy. Marketers currently track clicks with HTTP redirects and you can't disable that. You could disable ping attribute.

      HTML 5 served as XML is exactly the same thing as XHTML/1 was to HTML 4. Nothing has changed here.

      XML and table-based layouts are orthogonal.

      Although Chris Wilson is chair of HTML5 WG, most of the work has been done by other developers lead by Ian Hickson (formely Opera, now Google employee).

  48. Standards Good for US, EU, and others? by OldHawk777 · · Score: 1

    *HTML or whatever is required.

    We in the USA we have a national language of English for communication any other language can be used and may cause business/personal/... problems. The WWW/Internet has the IMO W3C national language for Global WWW/Internet communications and collaboration. You can use what ever you and another person agrees to use for a language, but the impact does fyck you ... not me and others around the world.

    I can live without the MS/Adobe/... version of WWW/Internet code, but I would like more "Community Commons" that anyone can access.

    Any proprietary idiot can break the WWW/Internet, only a standard allows everyone to receive something. Something like all that stuff provided on the WWW/Internet.

    Some .com/.gov/... sites I avoid like the plague (because they are), some shopping site have vanishing select-boxes (I see one) or the download this webapp for the content ... I just quickly go to another (of many options) site for the same products or services.

    If it is a pain, because they used a proprietary format, java-screen-lock, ... for content well fyck'em ... I don't need their content, products, or services.

    --
    Unaccountable leaders are masters, and unrepresented people are slaves. How do US and EU fare?
    1. Re:Standards Good for US, EU, and others? by Dracos · · Score: 1

      Sorry, the US has no official national language, English is the de facto national language. All 67 (IIRC) attempts to make English the official language have failed.

    2. Re:Standards Good for US, EU, and others? by OldHawk777 · · Score: 1

      Washington, DC has a PC-HairSplit. The USA Congress has passed a law making "American" English the national language of the USA.

      I refer you too: http://projects.washingtonpost.com/congress/110/se nate/1/votes/198/

      "Vote 198: S 1348: Inhofe Amdt. No. 1151; To amend title 4, United States Code, to declare English as the national language of the Government of the United States, and for other purposes."

      It still ain't the official "LEGAL" language of the USA, but it does politically placate the masses, and therefor great feelings (means nothing) politics; therefor, I did use the terms correctly. LEGAL would require almost everything done in the USA to use "American" English.

      --
      Unaccountable leaders are masters, and unrepresented people are slaves. How do US and EU fare?
  49. To XHTML or not to XHTML by thyrf · · Score: 1

    XHTML has only been taken up quite recently in comparison to how long it's been about, and even then it's been implemented incorrectly. Most of us will have become accustomed to creating clean xhtml pages that rely on css for styling, however a vast majority of the web have, it seems, jumped the bandwagon without reading the fine print. I'll be the first to admit I was one of them thanks to numerious net articles, books and even lectures at university.

    XHTML is a derivative of XML that uses html-like tags and syntax. When used correctly it will be parsed as XML. This was supposed to be the future - no more varying designs through different browsers or funny rendering quirks because the XML framework and the strict syntax rules prevent this. A page will do just this if the headers are set to 'application/xhtml+xml'. The problem comes in that most people are doing everything right but sending the wrong headers - 'text/html'. When this is done, your lean, tight xml markup becomes html and all the benefits that XHTML was supposed to bring are lost.

    But what about the W3C validator I hear you say? Well, yes, it validates just fine because it is correct - but then it doesn't check if you've sent the right content headers as that isn't its job (they can be sent through the server before the page is even sent anyway). Go to an XHTML site, view the source and see how many have a meta content of 'text/html' - a lot I bet.

    One major reason why XHTML has ultimately failed is that Internet Explorer hasn't implemented it correctly. I believe it does have the capacity but requires some funky server workaround, as the ' to '>' and putting in the right doctype header and .dtd.

    I recommend you check out the following source which was written in 2002. This has been going on for a while - no wonder HTML5 is being considered.

    http://hixie.ch/advocacy/xhtml

    1. Re:To XHTML or not to XHTML by thyrf · · Score: 1

      Apologies: I forgot to escape the
      One major reason why XHTML has ultimately failed is that Internet Explorer hasn't implemented it correctly. I believe it does have the capacity but requires some funky server workaround, as the <?xml tag sends IE into quirks mode. There are people out there who use true XHTML pages and send 'application/xhtml+xml' to browsers that can support it and 'text/html' to those who can't, which is fine but if they aren't using any of the capabilities that XHTML has to offer there's no point other than to prove they can. The same applies to anyone who has an 'xhtml' site running in 'text/html' - you're using the SGML rendering engine (the thing HTML uses) not XML, so you might as well be using HTML 4.01 Strict. Chances are you'll get better results.

      I'm not saying let's all jump on the HTML4+ bandwagon, XHTML, even in its wrong 'text/html' form, encourages people to use standards and this can only be a good thing. Ultimately, it's up to you which you use. Converting an XHTML document back to HTML only requires the changing of all self closing tags that end in ' />' to '>' and putting in the right doctype header and .dtd.

  50. controls by Frostalicious · · Score: 1

    Can we get more controls, like combo boxes and numeric up down?

  51. Or "Browser makers ignore standard; make own" by leighklotz · · Score: 2, Interesting

    W3C was formed to create a "consortium" not only of browser makers, but also tool vendors and other major HTML users. The W3C explicitly differed from IETF in having members pay dues (and hefty ones for big companies), and in having more structure, though still less than real standards bodies such as ISO.

    One of the goals was to make sure that all the players had a voice, not just the browser vendors.

    Well, everybody got together and decided to design something that had clear semantics, well-defined behavior, and was modular. CSS came out of this, and XHTML came out of this. Netscape didn't like CSS, so Microsoft did. Then Netscape capitulated on CSS, then it folded.

    Then nothing happened. For a long, long time. (You may recall this period.)

    Opera was founded by Hakon Lie Waum, and it found a great niche market in embedded browsers, but getting there required it to be "IE5 bug compatible," at a tremendous engineering effort.

    Then a bunch of other companies came along and started making browsers and tools and middleware and all sorts of stuff that implemented the plethora of W3C modules, and started to target enterprise customers and mobile phone vendors with products implementing XHTML Basic (which replaced WAP/WML in short order), SVG (which made Flash be stillborn in the phone market), XForms (which appeals mostly now to vendors who can control the middleware, but gives them the AJAX advantage without browser dependence). It became clear to the now old-guard browser vendors that if they didn't do something to enshrine "IE5 bug compatibility" in HTML, it was going to be subsumed by new, easier to implement standards, probably starting from the cell phone and enterprise markets, but pushing out into full consumer/open web markets from there.

    So, they created a crisis by starting their own parallel standards group and threatening W3C. The keep this threat up, and use the same kind of populist appeal and divisiveness we see in US politics to stir up hatred and polarization, all the while keeping the parallel work on the forefront.

    All I can say at this point is that you should be prepared for JavaScript to become the language of expression on the web, with markup languages being reduced to a graphics library for scribbling on screens.

  52. It's CSS thats the problem by nmg196 · · Score: 1

    It's not HTML or XHTML I have a problem with, it's CSS.

    CSS is simply a horrible way for web developers to have to try and format a page. It's fine if you want to change a color or add border, but for controlling the layout of a site, it's a nightmare. I find that for most things, setting the basic site layout (eg 3 columns) is far more easily achieved with a table than by trying to float divs. Tables simply ALWAYS work in all browsers with minimal code. There are hundreds of websites which try and give you "the best possible way of making a two/three column website" and all of them have dozens of lines of CSS with loads of browser hacks. If you use a table with three columns, the code is a fraction of the size and works in all browsers.

    Take slashdot for example. It's a really common site layout (header, navbar, body etc), but it has the most CSS I've ever seen on any website - purely because the author has gone out of their way to avoid using even just ONE table.

    I honestly don't see the problem with using one or two tables to define the site layout. Nobody has ever given me a good reason why doing the same thing using only DIVs and CSS is better (and don't even think about using rendering speed as an argument - I've benchmarked it myself and table layouts usually render faster - probably because usually they require less code).

    What CSS needs is a way of defining columns, or a way of gluing DIVs together to it's easier to stack them side by side without running into all the problems you get if you float them.

    It also REALLY REALLY needs variables. Currently you have to put the same color definition into the CSS file in dozens of different places. If it had variables, you could simply define the colour scheme at the top of the CSS file and change the whole colour scheme in a few seconds without having to do loads of search and replace operations. It would be especially useful if the variable declarations were also accessible form the html. Eg <span style="color: %corporateColorDuJour%;">

    1. Re:It's CSS thats the problem by porneL · · Score: 2, Informative

      What CSS needs is a way of defining columns, or a way of gluing DIVs together to it's easier to stack them side by side without running into all the problems you get if you float them.

      You mean like display:table-cell that's part of CSS since 1996, and works reliably in every browser except IE?

      It also REALLY REALLY needs variables.

      For constants use server-side processing (color:%foo% is trivial to implement). For really variable-variables you have DHTML and W3C DOM2 Style.

    2. Re:It's CSS thats the problem by Mekabyte · · Score: 1

      You can define multiple classes per element. To solve your example, you could have a color class with a single color: attribute that would be changed and your span would have something like: style="spanStyle1 corporateColorDuJour" Not as elegant as variables, but it avoids the search and replace problem.

    3. Re:It's CSS thats the problem by soliptic · · Score: 1

      I honestly don't see the problem with using one or two tables to define the site layout. Nobody has ever given me a good reason why doing the same thing using only DIVs and CSS is better (and don't even think about using rendering speed as an argument - I've benchmarked it myself and table layouts usually render faster - probably because usually they require less code).

      It's because using a table for layout means it only makes sense when looked at visually. When rendered, your nested arrangement of rows and columns and rowspan= and valign= means a person "parsing" your web page with their eyes, gets the information in the way you expect. This thing/picture/text relates to this thing/picture/text because it's next to it. Right?

      Trouble is, not everybody "receives" webpages by looking, with their eyes, at a rendering in a fully-fledged latest-gen GUI browser.

      Some major categories:

      • The visually impaired, who may use screenreaders and so on. Your table arrangement turns your page into a nightmare for them, as source order and source "closeness of related items", versus visually-perceived order and "closeness of related items", are wildly divergent. You might not care about blind people, but the law does.
      • Electronic systems. The most obvious, important real-world example right now is search spiders. They, too, do not "look" at your visually rendered table. They only "understand" the document by reading the source. Thus, something appropriately marked up as <div id="photos"> rather than the 9th <td> inside the 4th <tr> inside the 5th <table> means it has a much better idea of what it IS. Thus improving your SEO. However, do not be fooled into thinking "electronic systems" only means SEO, really this is a vast category, if you have a logically/semantically defined page the possibilities for easy, reliable "mashups" (yes, I hate the word, too), client side customisation (user stylesheets, greasemonkey, adblock, etc) and so on are enormous.
      • Non full-fat browsers of other kinds, such as on pdas, iphone, smartphones. A clean, semantically marked up page can be intelligently re-rendered to best suit the device. For example a listing of train times is exactly that, a list, and on a small screen would be more comfortably read if rendered as a very vanilla <ul> list, text naturally wrapped to the small phone display width, rather than displayed in a table which forced a minimum width greater than the phone screen really allowed, thus ending up with tons of horizontal scrolling.
    4. Re:It's CSS thats the problem by nmg196 · · Score: 1

      > You mean like display:table-cell that's part of CSS since 1996, and works reliably in every browser except IE?

      What on earth is the point in recommending a solution that doesn't work in IE? Do you not realise that the vast majority of people use IE? (on my particlar sites, the figure is around 80-90%).

      > For constants use server-side processing.

      I agree - and I do. But that solution is not available to everybody and it has many drawbacks. For example, to enable server side processing of my CSS files, I have to give them a different file extension. That means intellisense doesn't work. So I have to have a dummy css file which then gets read in by my dynamic page to have the variables replaced. Very messy.

    5. Re:It's CSS thats the problem by nmg196 · · Score: 1

      > It's because using a table for layout means it only makes sense when looked at visually.

      Well yeah. That's kind of the entire point of web pages - you look at them visually.

      > Trouble is, not everybody "receives" webpages by looking, with their eyes,
      > at a rendering in a fully-fledged latest-gen GUI browser.

      No, but the vast majority do. In excess of 99% I'm guessing.

      Regarding your last point: You're assuming that phone browsers miraculously know which bits of the CSS to change so it looks good on a phone screen. In my experience, mobile phone browsers to do not understand CSS as well as bigger browsers like Opera Mini and certainly not as well as proper bloatware browsers like Firefox 2 and IE 7. Some CSS layouts are so complicated that when rendered on a mobile phone screen, they render WORSE than if you simply ignored all the style-sheets completely. This is especially true if you've used loads of CSS hacks or negative-margin tricks to make your layout work.

      I find the only thing that's important when using tables is to use as few as possible. Preferably just one or two. If you use a single table to define the layout (which probably has only 2 or 3 cells in the entire table, then most browsers - even mobile browsers, can easily move the cells around and render a good screen. If your menu is in the leftmost cell, then typically this gets rendered first and the rest of the page gets rendered below this. This is no different to how it would render on a text-based browser or mobile-browser if you implemented it in CSS.

    6. Re:It's CSS thats the problem by porneL · · Score: 1

      What on earth is the point in recommending a solution that doesn't work in IE?

      GP suggested that CSS doesn't have easy way to lay out simple columns, while in fact CSS does. It's just that IE doesn't have proper CSS support, but no amount of new features in CSS spec will fix IE.

      to enable server side processing of my CSS files, I have to give them a different file extension.

      No. Any decent server can be configured to do that transparently (see mod_rewrite for example). You might have to worry about supporting HTTP cache validators though.

    7. Re:It's CSS thats the problem by soliptic · · Score: 1

      Well yeah. That's kind of the entire point of web pages - you look at them visually.
      No, that's not the entire point, the entire point is that they contain information/data. Often processed visually, yes, but by no means "the entire point".

      No, but the vast majority do. In excess of 99% I'm guessing.
      You evidently didn't really grasp the point of my post. Which is that vague handwaving that you're satisfying "most" people by taking assuming your content will always be consumed visually, doesn't help the disabled users who find using your site tortuous, it doesn't help the users who never find your site because your search ranking is poor, it doesn't help your web staff when marketing decide to rebrand and you're altering 10,000 pieces of markup instead of one stylesheet...

      If it were really so difficult to do it with CSS, and end up with a page of fully semantic markup that looks just as good to the 99% as one with tables, then I might have more sympathy for the "settling for a vast majority" attitude. But it's really not that difficult.

      Regarding your last point: You're assuming that phone browsers miraculously know which bits of the CSS to change so it looks good on a phone screen.
      No, I'm assuming that XHTML and CSS standards come with a method of delivering different stylesheets to different devices, and allow user (agents) to add additional user stylesheets to the cascade.

      If your menu is in the leftmost cell, then typically this gets rendered first and the rest of the page gets rendered below this. This is no different to how it would render on a text-based browser or mobile-browser if you implemented it in CSS.
      Great. And if your menu is in the right-hand column, then what?
  53. Re:One thing that's always irritated me about XML. by metamatic · · Score: 1

    I like my HTML tags in uppercase, damnit, to make them more obviously separated from the content!

    Get a better text editor. These days we have this useful feature called 'syntax coloring'.

    --
    GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
  54. Sheesh. by TheLink · · Score: 1


    Fun fun fun, that's all you guys care about.

    How about some security for a change?

    What we need are tags to help _ensure_ that potentially unsafe content is disabled. This will help prevent stuff like that myspace worm.

    For example:
    <shieldson lock="randomstring" allowed="keyword,keyword,keyword" />
    non explicitly allowed material disabled
    <shieldsoff lock="randomstring"/>

    Possible keywords:
    textonly = just text
    basic = basic formatting <em> <b> <i> <strong>
    tables = tables
    urls= plain <a href=""> no javascript etc
    images= plain images, no javascript etc.
    java=java
    javascript=javascript.

    There are other ways to do it, but I hope you get the idea.

    Naive people say that this is unnecessary and it should be done in html escaping libraries.

    BUT, the reason why this is useful is because:

    1) browsers behave differently, your library may successfully escape stuff for one browser but nasty stuff might sneak through to another due to some bug. In contrast if a browser is told that "only plain text allowed", it's a lot harder to screw that up and start allowing other stuff.
    2) This takes care of new fancy tags/features introduced by the Browser people. Say you start checking your webmail with your new fancy browser and accidentally click on some malware spam. Even if the webmail app does not know how to disable the new "active feature", the spammer's stuff between the tags should be rendered a lot safer.

    I've tried to get the browser and W3C people interested, but they seem to prefer making more "Go" buttons (as per the article), and prefer to not even make a single effective "Stop" button.

    Maybe someone should replace the brake and other pedals from their cars one day with accelerator pedals. And then tell them the HTML way to stop is to make sure none of the pedals are pressed.

    Sheesh.
    </rant>

    --
    1. Re:Sheesh. by AKAImBatman · · Score: 1
      You done?

      Fun fun fun, that's all you guys care about.

      Actually, I want the Storage APIs so I can replace my wife's Palm Pilot with a web-enabled financial application. It would be nice if I could get the iPhone to store transactions rather than downloading them every time. :-/

      How about some security for a change?

      Have you read the HTML5 spec? Every feature has a section discussing both required and optional security features to prevent exploits. For example:

      User agents must raise a security exception whenever any of the members of an HTMLDocument object are accessed by scripts whose origin is not the same as the Document's origin

      [...]

      To prevent information leakage, the toDataURL() and getImageData() methods should raise a security exception if the canvas has ever had an image painted on it whose origin is different from that of the script calling the method.

      [...]

      User agents must raise a security exception whenever any of the members of a Window object are accessed by scripts whose origin is not the same as the Window object's browsing context's active document's origin.

      [...]

      Warning! It is imperative that the rules in this section be followed exactly. When two user agents use different heuristics for content type detection, security problems can occur. For example, if a server believes a contributed file to be an image (and thus benign), but a Web browser believes the content to be HTML (and thus capable of executing script), the end user can be exposed to malicious content, making the user vulnerable to cookie theft attacks and other cross-site scripting attacks. (Description of secure sniffing technique then discussed.)

      [...]

      User agents should raise security exceptions if the methods are called with protocol or mimeType values that the UA deems to be "privileged". For example, a site attempting to register a handler for http URIs or text/html content in a Web browser would likely cause an exception to be raised.

      [...]

      If the script's origin has no domain part, e.g. if only the server's IP address is known, and the normalised requested domain is not the empty string, then the user agent must raise a security exception.

      [...]

      First, if the domain part of the script's origin is not a host name (e.g. it is an IP address) then the UA must raise a security exception. If either:

              * the target host is not a valid host name, or
              * the port argument is neither equal to 80, nor equal to 443, nor greater than or equal to 1024 and less than or equal to 65535, ...then the UA must raise a security exception.

      The user agent may also raise a security exception at this time if, for some reason, permission to create a direct TCP connection to the relevant host is denied. Reasons could include the UA being instructed by the user to not allow direct connections, or the UA establishing (for instance using UPnP) that the network topology will cause connections on the specified port to be directed at the wrong host.


      You were saying?
    2. Re:Sheesh. by TheLink · · Score: 1

      "Warning! It is imperative that the rules in this section be followed exactly. When two user agents use different heuristics for content type detection, security problems can occur."

      That's like having a requirement: "WARNING! It is imperative that browsers be secure" and NOT really doing much to _help_.

      That's EXACTLY why my proposal is good, it actually helps make it easier (even if the browser people don't realize it at first).

      With something like my proposal, even if a browser heuristically interprets things a certain way and treats something as Javascript, but it was told by the "tag" that javascript is disabled, it takes a really huge oversight by the programmers to have the browser still treat the stuff as javascript.

      Requiring browser programmers to _interpret_ the rules _correctly_ AND implement the _rules_ in materially the _same_ AND _correct_ way, is rather ambitious. Sure maybe it can be done eventually, but by that time they'd have to do the same for HTML12 or whatever they think of next.

      Sure they are trying to improve security. But really add a "brake pedal" already, instead of _just_ requiring drivers:
      1)Stick to the right lane
      2)avoid hitting obstacles
      3)Be warned of potential dangers. ... etc etc

      Still no brake pedal (tag) the last I checked.

      --
    3. Re:Sheesh. by Excors · · Score: 1

      That mechanism wouldn't degrade acceptably in non-HTML5 browsers, since the <shieldson> would just be ignored – so nobody could use it now (or for the next ten years or so) without subjecting a significant number of their users to exactly the unsafe content that they want to protect against. As far as I'm aware, nobody has come up with another mechanism that would work well enough and that doesn't require more effort on the server than simply doing all the HTML escaping there.

      A new security mechanism implemented in browsers will still have bugs, so nasty stuff may still sneak through, and since it's in the user's browser you can't even fix it (except by blocking visitors and telling them to upgrade). Server-side solutions can be much more easily adapted to handle changes, without multi-year upgrade cycles.

      New tags aren't introduced very often - it has been ten years since HTML4, and HTML5 isn't anywhere near finished yet. When they are introduced, old server-side HTML escaping code would just treat them as unsafe (since you have to use a whitelist of acceptable elements anyway, because it's not feasible to enumerate badness), so it will still be safe for the user.

      On the other hand, browser developers are probably more competent than most web developers, so moving the handling of security issues into the browser instead of the site is a good thing - it seems the problem in this case is that nobody has found a way to make it work well within the technical constraints of HTML, and browser developers aren't interested in very long-term solutions which assume everyone implements HTML5. I'm not at all certain who's right here.

    4. Re:Sheesh. by TheLink · · Score: 1

      Huh? This is an _ADDITIONAL_ countermeasure. The server is supposed to escape stuff as well.

      Where'd I say this would make escaping unnecessary? I said "help ensure".

      If you're familiar with security or defense you'd have heard of the term "defense in depth".

      This is what it is.

      --
  55. How about you tell them by tknd · · Score: 1

    To stop writing new standards and failure modes and focus on their QA efforts while existing browser projects catch up to the existing standards. As a developer and end-user of the results of both the standards and browers, there has been a piss-poor effort of ensuring and evaluating how well each browser satisfies a standard.

  56. Re:Instead of HTML 5, we need XHTML design process by porneL · · Score: 1

    Do your apps work in Internet Explorer? If they do, then you haven't used a single feature of XHTML, that's not available in HTML.

    In fact most pages on the web that are supposed to be XHTML, aren't even interpreted as XHTML by XHTML-capable browsers (because nothing except MIME type triggers XHTML support, DOCTYPE is absolutely irrelevant).

  57. Well formed nonsense by Anonymous Coward · · Score: 0

    I want new basic HTML widgets like when html brought us tables and frames and all that cool stuff years ago. I think it would be cool to see more basic things. Select/input box hybrids is at the top of my wish list.

    I love DOM, CSS and XSL. XML can crawl back into its little hole and never show itself again as far as I'm concerned.

  58. It's a joke, right? by Anonymous Coward · · Score: 0
    It has to be a joke. Come on, the irrelevant attribute? The dialog element? The "we don't believe in stylesheets for presentation ever period end-of-discussion" m element? Now we'll have embed and object and video elements to choose from for our movies. And good luck trying to reverse engineer all the parsing algorithms to figure out what the actual grammar is for dates, times, etc. In the immortal words of this document:

    Let bogus be true.
  59. HTML is supposed to look different by DragonHawk · · Score: 1

    It's too hard to implement, because there is no default way it should look like.

    One of the stated design goals of HTML, from way back, has been that it will look different for different people. The web isn't supposed to be the same everywhere. It's supposed to vary from person to person, the way people vary from person to person. I know there are a ton of anal-retentive control freaks who just can't seem to stand that, but it's the truth. Someone already posted examples about things like cell phones and braille. I'll add: What about the spoken word? What about the fact that I might want fonts to be bigger, smaller, rounder, or more cromulent?

    If you want everything to look the same as on your screen, invite everyone into your office to see it.

    --

    dragonhawk@iname.microsoft.com
    I do not like Microsoft. Remove them from my email address.
  60. English doesn't borrow from other languages... by DragonHawk · · Score: 2, Funny

    Because some of our language is borrowed from French...

    Obligatory: "English doesn't borrow from other languages. English follows other languages down dark alleys, knocks them over, and goes through their pockets for loose grammar." -- Author unknown

    --

    dragonhawk@iname.microsoft.com
    I do not like Microsoft. Remove them from my email address.
    1. Re:English doesn't borrow from other languages... by Bryan+K.+Feir · · Score: 1

      The Author in question is James D. Nicoll, http://www.linguistlist.org/issues/13/13-499.html.

      I've seen it on T-shirts around Toronto here as well, which isn't surprising, given James lives just over in Kitchener, ON... haven't talked to him much in a few years, though.

  61. Let's create a C '07 which allows invalid syntax. by Anonymous Coward · · Score: 0

    Maybe the (non) meaningfulness of HTML5 thinking could be easier to grasp if you start to imagine a C dialect which allows for invalid syntax.

    Oh and by the way, I hate it when I import an old CD into a computer and, with that crappy error correction, I will never know for sure whether I got mostly valid songs or garbage with clicks and pops all over them. The software just won't or can't tell.

      Computers are discrete. Please don't try to change that.

  62. Don't add features until bugs are fixed. by MikeFM · · Score: 1

    XHTML is still bettr than HTML in that it's a lot easier to parse. IMHO that is a good thing as it makes it easier for browsers to be smaller and bug free. The point that any device can also render HTML is moot because it still makes the devices work harder and the majority of websites still don't use XHTML because the majority of web designers are trapped in 1997. The majority of websites still just can't easily be tweaked to work on multiple types of devices to any decent level of usability - many don't even work on different browsers or screen sizes properly. Just because people still make really bad code we should take that as a reason to stop trying to make better code? Doh.

    We shouldn't be adding a bunch of specialized tags - we need to make it easier to define roles for tags, using CSS and Javascript, that can change as needed. Why not just make tags as optional/flexible as setting the class of a tag. So I can use MyText instead of MyText when I want to. It'd just lead to code being easier to read. Tag attributes such as href, src, rel, etc would be easier if CSS was expanded so that they could be set in that way.

    It looks like they still let Javascript ans styles be written inline so it can't be that good a proposal. It just leads to sloppy code and issues like XSS attacks. What we really need is a correct way to specify code that responds to specific browsers and browser versions, to specific disabilities, and to specific window sizes. Also we need a way to specify that scripting and style can't be specified in the body of a page.

    Other than that my only real wish list is for better audio/video controls (which it looks like they addressed to some extent) and for some upgrades to Javascript (behaviors being native) and CSS (different layout types, more ways to manipulate text and images, actual workable downloadable fonts). More widgets being available is great but lets fix some of the fundamental issues first.

    All of this comes as way less important than actually getting all browsers on the same page. IE7 continues to be a pain as it still has bad CSS and Javascript support.

    --
    At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
    1. Re:Don't add features until bugs are fixed. by Allador · · Score: 1
      I think we're looking at completely different sets of problems. The stuff you're talking about is designer-targeted issues, which I dont care so much about. At least some of the things in WHATWG's HTML5 is focused on web-app developers, which is far more important in my world.

      Not that one world is more important, but they're completely different sets of problems, and probably will have completely different solutions.

      XHTML is still bettr than HTML in that it's a lot easier to parse. IMHO that is a good thing as it makes it easier for browsers to be smaller and bug free. The point that any device can also render HTML is moot because it still makes the devices work harder and the majority of websites still don't use XHTML because the majority of web designers are trapped in 1997. The majority of websites still just can't easily be tweaked to work on multiple types of devices to any decent level of usability - many don't even work on different browsers or screen sizes properly.

      Given what you seem to be looking for, why dont you just go with shipping pure XML and XSLT, and bypass the whole situation? Ship a different style sheet for each client type. It sounds like what you're really looking for is the maxima of complete separation of content and presentation. Doesnt XML/XSLT give you that?

      We shouldn't be adding a bunch of specialized tags - we need to make it easier to define roles for tags, using CSS and Javascript, that can change as needed. Why not just make tags as optional/flexible as setting the class of a tag. So I can use MyText instead of MyText when I want to. It'd just lead to code being easier to read. Tag attributes such as href, src, rel, etc would be easier if CSS was expanded so that they could be set in that way.

      Again, it sounds like you just want XML and XSLT, where tags/elements dont mean anything in and of itself, and you use some other scripting/presentation/transformation process to make it present well.

      It looks like they still let Javascript ans styles be written inline so it can't be that good a proposal. It just leads to sloppy code and issues like XSS attacks.

      This is one of those ideas that sounds great up front, but once you think about it for a little while, has fundamental side-effects that could be very problematic.

      For example, many web apps, or web-sites that produce pages dynamically based on some condition, may really struggle with no inline js. I'll give you that it would really help mitigate XSS attacks, but I'm not sure the protection is worth the cost.

      I guess it might be possible to produce your dynamic js in a separate output stream, cache it and then have it respond from the page request ... but man does that seem over-complicated. I'm going to continue to think about it though, as getting all inline JS off pages would have some nice side-effects, but I'm just worried that the negative side-effects might be worse.

      What we really need is a correct way to specify code that responds to specific browsers and browser versions, to specific disabilities, and to specific window sizes.

      You have that now, just produce different HTML/XHTML based on the client, in your server-side code.

      More widgets being available is great but lets fix some of the fundamental issues first.

      For many of us, the current state of form tags/elements/widgets IS a fundamental issue, and much more important than audio/video or layout/design problems. In my mind, if you want audio/video, make a link to .mp3 or .mpeg files. Easy as pie, and doesnt require anything new. And an infinitely better user-experience than playing through some horrible flash client, which wont let you re-size or save.

      The primary purpose many of us use HTML for is as a GUI for our applications. Again, I'm not saying thats the only reason, but I think there's plenty of room for improvement in that space, without limit

    2. Re:Don't add features until bugs are fixed. by j-pimp · · Score: 1

      XHTML is still bettr than HTML in that it's a lot easier to parse. IMHO that is a good thing as it makes it easier for browsers to be smaller and bug free. The point that any device can also render HTML is moot because it still makes the devices work harder and the majority of websites still don't use XHTML because the majority of web designers are trapped in 1997. The majority of websites still just can't easily be tweaked to work on multiple types of devices to any decent level of usability - many don't even work on different browsers or screen sizes properly. Just because people still make really bad code we should take that as a reason to stop trying to make better code? Doh.

      I don't think parsing is an issue. Yes it is easier to parse XML than html, but no browser of any significance is "xhtml only." I predict that this will remain the case for at least 20 years. Also, Opera is much smaller than the competition, and links is quite small as well. Parsing is not an area that causes browser bloat.

      --
      --- Justin Dearing http://www.justaprogrammer.net/ We're just programmers.
    3. Re:Don't add features until bugs are fixed. by tepples · · Score: 1

      the majority of websites still don't use XHTML because the majority of web designers are trapped in 1997. I know why the popularity of HTML 4 continues: Which version of Microsoft Internet Explorer supports application/xhtml+xml? If you are serving XHTML 1.0 conformant to Appendix C as text/html, you are not serving XHTML; you are serving tag soup.
    4. Re:Don't add features until bugs are fixed. by MikeFM · · Score: 1

      I don't see a line between web apps and web design. It sounds, mostly, as if HTML5 is being advertised as having a few more fancy widgets. That's great but for the most part you can already achieve the same result without HTML5. It's more work and requires functional Javascript and CSS to make it work but you can do pretty complex widgets already.

      I have no problem adding more tags to HTML but I do hope they remember the number of tags they've previously introduced which have added almost no value and which largely went ignored. Before adding to the complexity of HTML they need to look at what is really wrong with HTML first and make an effort to fix those things. Fancier form elements just wouldn't be that high on my list of priorities.

      XSLT sucks. I used it in all my projects when it first became big and the truth is that the complexity it added was far more than it was worth. I'm sure it has value to someone but for website design it's like using a jet engine to power a lawn mower. It's just not the right solution for the job. Also you shouldn't need to create different XML/XHTML/HTML/whatever for every different browser. I'm a firm believer that your HTML should stay the same with the differences handled by your stylesheet. It wouldn't even work correctly to have it respond to size changes this way as you'd have to reload the page before you could respond. Right now I can use Javascript and CSS to respond instantly. I'd just like to not require Javascript for a display issue. Shoveling a complex load of XML/XSLT at the user and expecting their browser to sort things out isn't very realistic either. We're still having trouble getting browsers to render HTML4/CSS2 correctly and we're gonna start throwing totally new stuff out there?

      I always attach Javascript through the head portion of my HTML and it works just fine. You can apply it to any elements in your page but it just needs to be applied correctly rather than making messy code inline in the HTML body. Doing it this way will make it far easier to keep your code easy to maintain too. I don't see why you'd need to cache anything - I never need to. I wouldn't force such a thing onto developers either - I'd make it as an optional meta tag in the header to select the security model. Of course I'd allow users to force the security model too - able to disallow Javascript in the body for their own protection.

      If you haven't ran into issues with audio or video I'd guess you haven't tried creating many multimedia web apps. Just attaching a mp3 as a link is not a solution to a case such as an XHTML/CSS/Javascript based arcade game where you need to be able to start and stop multiple sounds as events happen. Right now the only real solution is to use a Flash-based sound manager that can be controlled with Javascript. Given that a lot of users don't have Flash this is a less than ideal solution. You don't need to use Flash for the entire app - just for the sound manager but still isn't perfect. (This is how Google has GMail produce sounds though - e.g. when using Google Talk and you have a waiting message.) You can do just about any complex form element, with some work, without resorting to Flash, Java, etc. You can't do sound without them right now. So I'd rate audio and video as more important.

      Making new web standards is mostly pointless if IE won't support them and we continue to develop to the crappiest common platform. Even if we get everything we all want in HTML5 we still won't be able to use it for the enxt decade.

      --
      At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
    5. Re:Don't add features until bugs are fixed. by Allador · · Score: 1

      Before adding to the complexity of HTML they need to look at what is really wrong with HTML first and make an effort to fix those things. Fancier form elements just wouldn't be that high on my list of priorities. From my point of view, 'fancy' form elements is the biggest lack of html. Think about what you (or at least I) use js for, its 99% form validation. Why should we have to use YACL (yet another crappy language) to do something as simple as form validation and layout. This stuff should be declarative.

      XSLT sucks. I used it in all my projects when it first became big and the truth is that the complexity it added was far more than it was worth. I'm sure it has value to someone but for website design it's like using a jet engine to power a lawn mower. Maybe I misunderstood, but your OP said that you wanted tags that had no inherent meaning, that you could apply transforms to with some external language. At least thats how I read what you are looking for. And thats exactly what XML/XSLT is. Yes, its crappy to work in, but no crappier than HTML and CSS, and much more powerful.

      We're still having trouble getting browsers to render HTML4/CSS2 correctly and we're gonna start throwing totally new stuff out there? I agree in principle, but what can you do? It's not like anything you or I do can make IE be more compliant. But we can improve the underlying fundamentals, and just wait for the crowds to catch up.

      I always attach Javascript through the head portion of my HTML and it works just fine. Again, maybe I misunderstood, but that would be disallowed under what you had proposed. I read that as only attached to external files, with observer patterns applied a'la prototype.

      If you haven't ran into issues with audio or video I'd guess you haven't tried creating many multimedia web apps. Just attaching a mp3 as a link is not a solution to a case such as an XHTML/CSS/Javascript based arcade game where you need to be able to start and stop multiple sounds as events happen. I would think that maybe you're not using the right tool for the job here. No offense intended, but to my eye this is the rough equivalent of trying to build an OS out of XSLT. It's just not the right fit.

      Arcade games should probably be done in a more appropriately featured platform, like Flash/Silverlight or Java/.NET. You'll be able to build them in a tiny fraction of the time, and you'll be able to work in a real development environment, and not have to deal with the random 'doesnt work' of css and javascript.

      Overall, I think the HTML5 stuff is just very pragmatic. It focuses on the stuff that most of us need, and helps remove the horrid patchwork that is html/javascript/css. For web-app developers and end-users, the whole XHTML vs. HTML business is utterly pedantic, and has zero effect to providers or end-users. About the only group it helps (theoretically) is browser-makers and web-server makers, and them only once they can stop dishing/parsing old-style html.

      Dont get me wrong, I find it amazing what people have been able to stretch and twist javascript/css to do, but we shouldnt have to be doing that. How about a proper forms and event based system, with a decent (ie, anything but javascript) language to do the client-side stuff. I can just picture the inventors of javascript, just laughing and laughing, thinking about all the pain they brought to future web developers, by not quite developing a real language.

      And again, I'm not trying to be difficult here, I realize that we have obviously different needs and live in different worlds. All I use html for is as a GUI for business applications. I think building aracade games or heavily-multimedia stuff in html is a little crazy, given the easier/more-powerful presence of flash/silverlight.
  63. Borrowing from James D. Nicoll by DragonHawk · · Score: 1

    The Author in question is James D. Nicoll

    I'm aware of the Nicoll quote, of which the quote I posted is almost certainly a paraphrase. But strictly speaking, those are not his words, and I don't know who penned them. I suppose I could have been more complete in my attribution, something like "-- Unknown, likely paraphrase of James D. Nicoll". Given the quotes under discussion, though, I do find this whole meta-discussion quite ironic. :)

    Thanks for the link to that well-sourced attribution, though; that's better than anything I have.

    --

    dragonhawk@iname.microsoft.com
    I do not like Microsoft. Remove them from my email address.
  64. Interactive audio? by tepples · · Score: 1

    if you want audio/video, make a link to .mp3 or .mpeg files. Easy as pie, and doesnt require anything new.

    I want to write an interactive application in JavaScript, where an audio clip of shaking leaves plays whenever the player's character walks up to a tree and grabs it. How can this be done by merely linking to an mp3 file?

    And an infinitely better user-experience than playing through some horrible flash client, which wont let you re-size or save.

    Blocking saving is intended to encourage[1] users to pay for a copy.

    [1] Pedants: Perfect DRM on audio is impossible, but some publishers find it profitable to keep honest people honest.

    1. Re:Interactive audio? by Allador · · Score: 1

      I want to write an interactive application in JavaScript, where an audio clip of shaking leaves plays whenever the player's character walks up to a tree and grabs it. How can this be done by merely linking to an mp3 file? Fair enough, thats an application I had never thought of. I would think that would be possible with current technology, but it probably isnt elegant.
  65. DHTML works on more platforms than Win32 by tepples · · Score: 1

    HTML and such are not supposed to be used for application programing, but document layout (and it sucks at that to). Would you rather have the router offer a download of an executable configuration program that runs only on a Windows® brand operating system? I figured not. There are good reasons why a lot of applications have moved to the web: DHTML works on more platforms than Win32, and you don't have to be an administrator on your computer to install a web application; you just make a bookmark and have your web user agent do the rest.
  66. Did you mean "spell checker"? by tepples · · Score: 1

    Maybe the (non) meaningfulness of HTML5 thinking could be easier to grasp if you start to imagine a C dialect which allows for invalid syntax. I can imagine such a dialect: it would take bad C, attempt to discover the intent using duck typing or other type inference methods, compile it to good C, and present each suggested change to the programmer. As far as I can tell, it'd be no worse than an English language spell checker that suggests replacements. HTML 5's handling of errors merely formalizes this process, especially when a yellow bar appears at the top of the page stating that the browser has fallen back to error recovery mode.

    Oh and by the way, I hate it when I import an old CD into a computer and, with that crappy error correction, I will never know for sure whether I got mostly valid songs or garbage with clicks and pops all over them. The software just won't or can't tell. If you put in a CD, and FreeDB identifies a genre other than the noisier kinds of electronica, then any 1/75 second frame with significantly higher volume and higher content in the high frequencies than both its neighbors is likely a garbage frame, which should be re-read or replaced with a crossfade between its neighbors.

    Computers are discrete. Please don't try to change that. How do heuristics that improve perceived handling of defective input make a computer continuous?
  67. Deserialize and serialize by tepples · · Score: 1

    Imagine if your blog suddenly became undisplayable because commenter number 32 input some broken HTML, and your not-quite-perfect blog software didn't quite know how to launder it. Then you'd fix your blog software to deserialize each submitted comment into a parse tree, serialize it back to mark-up, and kick the user back to Preview if any errors were found.

    Imagine that the slightest syntax error from Google Analytics, Google AdWords, or anything else you embed into your site could make your site completely unavailable. Then you'd stop using Google's products and start using Yahoo's. Enough blog authors make the switch and Google's advertisers will start advertising on Yahoo instead.
  68. Mistaken deprecation of li value in HTML 4 by tepples · · Score: 1

    "We proposed XHTML+CSS but nobody cared (well, not Microsoft and not most web developers), so content still is malformed XHTML or even plain HTML 4 (and even transitional and/or riddled with tables for layout)". To me, W3C's biggest mistake in HTML 4.01 was in deprecating the value attribute of the li element. (Deprecated elements and attributes are present only in the Transitional DTD, not the Strict DTD.) Most of the deprecated elements and attributes of HTML 4.01 were presentational and had a replacement in the CSS of the time. But li value was neither. For example, if the first track of Follow the Leader by Korn is numbered 13, that's content, not presentation. Worse, CSS counters (the W3C's replacement for li value) weren't specified by the time HTML 4 came out. This sort of putting the cart before the horse on W3C's part led at least this web developer to reject the Strict DTD for all HTML 4.01 or XHTML 1.0 pages that contain an ordered list in favor of the Transitional DTD, albeit with proper separation of HTML and CSS otherwise. I'm glad that HTML 5 corrects this.
  69. I want WYSIWYM by tepples · · Score: 1

    Firstly, a WYSIWYG HTML editor by definition is focused on looks and not semantics. An editor that produces semantic code would be a WYSIWYMean editor. But that's exactly what I want for prototyping templates for a web site. Do you know of any good WYSIWYM HTML editors? Any that are free software?
  70. XHTML in IE? Nay. by tepples · · Score: 1

    I would be interested to know what of HTML is not supported by user agents commonly in use today IE doesn't support any form of HTML that starts with X.
    1. Re:XHTML in IE? Nay. by kat_skan · · Score: 1

      Well, that's true, it treats it as it would any other malformed HTML document. But HTML5 seems more of an offshoot of HTML4 than of XHTML1. Consider this, from the section describing the syntaxes supported by the standard:

      The second concrete syntax uses XML, and is known as "XHTML5". When a document is transmitted with an XML MIME type, such as application/xhtml+xml, then it is processed by an XML processor by Web browsers, and treated as an "XHTML5" document. Generally speaking, authors are discouraged from trying to use XML on the Web, because XML has much stricter syntax rules than the "HTML5" variant described above, and is relatively newer and therefore less mature.

  71. Yawn. by Spy+der+Mann · · Score: 1

    Wake me up in 2013 when a practical implementation exists.
    No wait, in 2020 when IE implements it.

    To be honest, I simply got tired of new amazing, wonderful and promising specs appearing, to only be supported by a minority of browsers - and in an incomplete way. Firefox 3 is still in alpha, and it's only started to pass the ACID2 test. 9 years after CSS2 was published. (And don't get me started on IE)

    When the XSLT spec came out, I thought it would mean a whole new web. I started making my webpages on geocities with XML - only to find out that geo's ads defecated on my markup, rendering it unusable.

    Call me pesimist - but I just lost almost all hope. What use is publishing the greatest spec in the world, if the industry doesn't give a damn?

    A refreshment on the html standard is good - but how will we solve the problem of standards NOT being enforced? A practically optional standard is like no standard at all.

  72. But mix them how? by tepples · · Score: 1

    If you want fixed width columns, you can do that in CSS too. But how easy is it in CSS to have a mix of px/em column widths and fluid widths?
    1. Re:But mix them how? by metamatic · · Score: 1
      --
      GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
  73. The CSS spec as misinterpreted by M$ in 2001 by tepples · · Score: 1
    10 LET M$ = "Microsoft": REM save subject bytes

    As for your claim that the CSS specs are 'difficult-to-use,' in what profession other than web development have you ever heard so many people whine about having to learn the basic tools of the trade? I don't find the CSS spec difficult to use. I find the CSS spec as misinterpreted by Microsoft in a 2001 implementation that is still widely deployed in 2007 difficult to use.
  74. Guessing DTDs by tepples · · Score: 1

    Xml documents do not require DTD to be valid. I thought SGML did (its been a long time, I think you might be able to specify the dtd inside the sgml document, but you still needed it). In practice, this does not cause a problem. If a document does not specify a DTD, but its transport specifies a media type, the user agent guesses a DTD based on the media type: text/html -> HTML 5, or application/xhtml+xml -> HTML 5 XML.
  75. Appendix C problems; li value by tepples · · Score: 1

    Precisely. Are the W3C just bored, or does this solve problems that XHTML can't/causes? For one thing, XHTML causes incompatibility with Microsoft products that even Appendix C can't properly fix. For another, XHTML is a reserialization of HTML 4.01, which put the cart before the horse by deprecating a few elements that didn't yet have a CSS alternative, such as the value attribute of the li element. There is no way to make a list of tracks that starts at 13 in the Strict DTDs without using a microformat that relies on CSS features that Microsoft products still do not implement.
  76. The object element by tepples · · Score: 1

    XHTML, contrary to HTML, is easy to parse. There is a whole slew of tools available for parsing and processing XML documents, which can be used with XHTML straightforwardly (by virtue of XHTML being XML). HTML 5 also has a well-defined parser behavior. Equivalent pseudo-SGML and XML documents parse to identical DOM trees.

    The trick is, of course, that with HTML, you do indeed need to put the features in the spec. With XML, you can keep things modular. MathML doesn't have to be in the XHTML spec to make it valid to embed MathML in an XHTML document. But is embedding always desired? As I understand HTML, a document can use the object element to transclude a document that uses a different DTD, such as an SVG or MathML document. The transcluded document doesn't even have to be SGML or XML at all, such as an Ogg video or an SWF application; can embedding do that? If the user agent cannot understand the semantics of the transcluded document, it can substitute the object element's content, such as source code for the equation that was rendered to MathML. Does embedding have this graceful degradation? If you're talking about transporting the document with its transcluded parts as a single unit, that's what keep-alive and MIME are for.
  77. <li value="13"> by tepples · · Score: 1

    Out of all of those things, the only one that's changed at all is the img tag, and that's only in two places - first, in XHTML you are required to provide an alt= attribute (instead of just strongly recommended like in HTML 4), and second, you have to close the tag properly, with a /> at the end. The value attribute of the li element is gone in XHTML 1.0 Strict and gone in XHTML 1.1. How else should I mark up that an album starts at track 13?
  78. You can have more than one window by tepples · · Score: 1

    Until the W3C can enforce websites filling more than 10% of my 24" screen and scale beyond 640x480 Some web sites restrict text column widths to 30em (roughly 60 to 80 characters) because short columns are easier for the eye to track than long columns. If you think this is a waste of space, then un-maximize your browser window and make a new window to view a second web page on the other half of your screen.
  79. <li value="13"> by tepples · · Score: 1

    My understanding that XHTML requires is that document formatting be separate from the content of the document. No, this is also not true. It's considered best practice with both HTML and XHTML, both have document types that enforce this separation, and both have document types that don't enforce this separation. It's your choice. In HTML 4.01 Strict or XHTML 1.0 Strict, how does one create a list whose items are not numbered starting with 1 and increasing by 1? For instance, how does one express that the first track of an album is numbered 13, as seen in the XHTML 1.0 Transitional document titled Follow the Leader (Korn album) - Wikipedia, the free encyclopedia? In Strict, the li element doesn't take a value attribute.
  80. Lists don't even end a sentence by tepples · · Score: 1

    If you're writing a paragraph, and you then start writing a list, have you not in fact finished the paragraph first? Tell that to a lawyer or even a paralegal. In their line of work, they often read lists within paragraphs in
    1. statutes,
    2. regulations, and
    3. court opinions,
    but that doesn't mean that a list ends a sentence, let alone a paragraph.
  81. If divs and spans are styled for only one medium by tepples · · Score: 1

    But by defining classes of div's and span's, we give the page the proper semantics to be understood. But if you have a whole bunch of visual styling for your classes, and a user agent is trying to render your content in a non-visual medium such as aural or braille, how can the user agent interpret your intent from the names of your classes?

    By your example, object oriented languages are like tablesoup, they're all just a bunch of classes. Well, sure, until you name them and give them properties. Then they are unique classes with semantic meaning. But if the properties that you define apply only to one circumstance, and the program is running in a different circumstance, then your class hierarchy is like tablesoup.
  82. Java based web server on the CD? by tepples · · Score: 1

    Consider the first: publishing documents on CD (which is a passive medium). Not necessarily. A program written in the Java programming language and run from the CD-ROM can act as a web server that listens only on localhost:8086, processing server-side includes as needed.
  83. Re:Instead of HTML 5, we need XHTML design process by mikelang · · Score: 1

    Yes, I tried. For some CSS features work well only in XHTML mode both in Mozilla and Explorer. :-) Surprised? I was too!