Slashdot Mirror


Is It Time for a 'Kinder, Gentler HTML'?

jg21 writes "Via the Web 2.0 Journal, a worthy link to Yahoo! Architect and JSON inventor Douglas Crockford's latest ideas to fix HTML. He's categorically not a fan of HTML 5, which is still just an Editor's Draft and not endorsed by W3C yet. Crock puts forward ten ideas that in his view would provide extensibility without complexity, adding that the simplification of HTML he is proposing would reduce the cost of training of web developers and incorporates the best practices of AJAX development. From the article: 'The problems with HTML will not be solved by making it bigger and more complicated. I think instead we should generalize what it does well, while excising features that are problematic. HTML can be made into a general application delivery format without disrupting its original role as a document format.'"

382 comments

  1. Not Impressed by AKAImBatman · · Score: 5, Insightful

    You can read his proposal in full over here: http://www.crockford.com/html/

    Make sure you have about 2 minutes to spare. You're going to need about that long to read it from beginning to end. What you'll probably find is that he hasn't really solved any of the major issues plaguing HTML or even thought through many of the problems and use-cases that HTML 5 is trying to solve. In fact, his entire "design" can be summed up with the following sentence: "Let's get rid of HTML features that I believe cause problems."

    Meanwhile, he still leaves the problems of consistent parsing, semantic meaning, multimedia presentation, and a whole host of other issues unaddressed. Which means that his "design" fails to compete with the intended purpose of HTML 5 at even the most basic level.

    I have the highest respect for Mr. Crockford, but my opinion is that he should study the reasons behind HTML 5 a bit more carefully, as well as solicit a bit more feedback from the community before attempting to push a non-solution to their problems. Best of luck to him. :-)

    1. Re:Not Impressed by phoebusQ · · Score: 5, Interesting

      I think you may be mistaking a page of conceptual ideas for a complete design. Even if the submitted article tries to pass it off as such, these are just a set of proposals that Crockford has been discussing. This particular page is more of a list than anything; it does not contain his entire concept or justification. He does a great job of discussing some of these things in person.

    2. Re:Not Impressed by hansamurai · · Score: 4, Interesting

      Seeing as you seem to be involved with the HTML 5 proposal, could you explain this line from the FAQ to me:

      When will HTML 5 be finished?
      It is estimated that HTML5 will reach a W3C recommendation in the year 2022 or later. This will be approximately 18-20 years of development, since beginning in mid-2004.

      http://wiki.whatwg.org/wiki/FAQ#When_will_HTML_5_be_finished.3F

      That seems like a really long time for something like this to go through, even for something as massive as the web standard.

    3. Re:Not Impressed by deniable · · Score: 1

      Pretty much, but he also mentioned making custom tags and attributes first class citizens for CSS. Won't this be fun when text and style-sheets get separated. It's all the fun of xml combined with all the fun of xml.

      OK, here's one. comes before , but if you use then we ignore doctype. OK, a forgiving browser will know what you want, but he then goes on to say that browsers shouldn't be tolerant because it causes too many security problems. It's a bit after midnight and my brain hurts.

    4. Re:Not Impressed by aug24 · · Score: 3, Interesting

      Make sure you have about 2 minutes to spare. You're going to need about that long to read it from beginning to end.

      "Let's get rid of HTML features that I believe cause problems."

      Looks to me like you only read for one minute ;-)

      To give the limited amount of credit due, he does go on to some decent sounding suggestions. Nothing in there is actually unreasonable, some things sound like a good idea (UTF-8, browsers stop trying to correct for crap pages if version>=5). I'm still reading the stuff on Modules, or will be when the server responds :(

      Perhaps someone else can try to fix the other things you mention.

      Justin.

      --
      You're only jealous cos the little penguins are talking to me.
    5. Re:Not Impressed by AKAImBatman · · Score: 5, Informative

      Seeing as you seem to be involved with the HTML 5 proposal

      If you count arguing on the mailing list a few times and coming up with a new Canvas adapter (still WIP) for IE, then I suppose. :-)

      When will HTML 5 be finished?
      It is estimated that HTML5 will reach a W3C recommendation in the year 2022 or later. This will be approximately 18-20 years of development, since beginning in mid-2004.

      Reading that FAQ entry in its entirety helps clarify the issue; at least for me. The WHATWG is being pragmatic about how long it will take them to both get a 100% complete standard (it has continued to evolve, even after being submitted to the W3C) and get everyone on board with it. People don't realize quite how long it took to get the variations of CSS, DOM, and HTML4 standardized and implemented. They've been available for over a decade, but we're only reaping the benefits of these standards now.

      That being said, the W3C does expect parts of the specification to be implemented sooner rather than later:

      The details are still being worked out, but the plan is to indicate the maturity level on a per-section basis. Sections like the Link Types, which is relatively simple, isn't going to take long to become interoperably implemented. In fact, Mozilla is already implementing the new autodiscovery features for Firefox 3.0, and it shouldn't take long for places like Technorati, Bloglines, etc. to implement follow.

      In result, it really doesn't matter when the HTML 5 standard is fully realized. We will be (and already are) reaping the benefits of it long before it's 100% complete.

      Of course, they did get it submitted to the W3C ahead of schedule. And the W3C is taking it more seriously than originally expected. So don't be surprised if they're ahead of schedule on completion. ;-)
    6. Re:Not Impressed by alan_dershowitz · · Score: 3, Interesting

      I respectfully disagree when it comes to CSS. Items like consistent default styling for CSS are a real problem. Simple tasks like setting a few margins and setting the default font takes ugly CSS that eats up significant processing power doing matching on items. In fact, CSS is junk and should be replaced with something that is actually useful to graphic designers. Something like XHTL-strict plus a separate XSLT and a REAL layout language.

    7. Re:Not Impressed by wieher · · Score: 0, Flamebait

      Yeah I totally agree. He seems to want his name spouted with HTML-5, thats about it. Seems like more of a publicity move than an actual intelligent proposal with any hope of adoption. Kind of disappointed to have wasted my time and/or interest in reading an article by a supposed intellectual, just to realize its more posturing.

    8. Re:Not Impressed by billcopc · · Score: 1

      The first impression I got from this guy is that he doesn't get HTML at all. He doesn't understand it's purpose, it's reason for being, and most importantly: he doesn't understand how the pros use it.

      My suggestion to Mr Crockford: go back to HTML 2.0

      --
      -Billco, Fnarg.com
    9. Re:Not Impressed by Fozzyuw · · Score: 5, Interesting

      he hasn't really solved any of the major issues plaguing HTML

      Actually, he's proposing MORE problems. Here's my take...

      No more doctypes

      Why? Adding a "version" attribute it just going to break compatibility. The "web" has enough problems with compatibility, lets not inject MORE. Doctypes work fine. Sure, it's long and doesn't appear to make much sense reading it, but... if it's not broke, don't 'fix' it.

      There is only one scripting language allowed on a page. This is to simplify the addition of new languages to the browser. It also paves the way for replacing JavaScript with a secure programming language.

      I'm sorry but the auther hasn't presented any compelling reason why this is a 'good idea'(tm) and I can think of several reasons this is a 'bad idea'(tm). Do have I have to mention active X, proprietary languages, and 'broken' sites because of it? Then the need for Web.Devs. job skills increase significantly and become much more cumbersome.

      No more framesets, frames, or iframes. The security properties of these were problematic. Instead we'll have modules.

      Hmmm... I don't like frames per say. I don't use them. Though, I don't see how modules are going to make things better or easier but more complex. A frame was simple. A window in a window. That's simple. If Developers abused them, it's the developers fault, not the language for having it. With "AJAX" and Flash video, I'm game to just remove frames all together.

      The default CSS content needs to be standardized.

      It already can be done and this is not the responsibility of HTML. This is as annoying as forcing ones religion on someone else. I'm not going to tell Microsoft they have to use Mozilla's default CSS. Or Apple to stop using their pretty buttons in Safari. Forget it. It's a non-issue. CSS RESET already exists, and developers need to just be educated. Design topics don't have a place in HTML.

      The only character encoding permitted in HTML 5 is UTF-8

      While I want to say "I agree with that" because that's what I do, I think, again, "only" is not the right choice. Can we predict the future? Will UTF-8 be suitable 'forever'? Funny, computers original "only" supported latin characters. That wasn't a good idea. "only" supporting UTF-8 is also a bad idea, but I would like to see it used a default.

      Browsers should not perform heroics to try to make bad content displayable

      I agree with this.

      The tag form is allowed, but not required for
      or .

      I 100% disagree. Standards are standards. If we don't want browsers to "perform heroics" on correcting 'bad code' then lets not give people confusing "standards" of "it's ok to it like this... or like this... or this is 'ok' too!". No.
      and . Tags are tags and they have a function. There are no "special" children. But I do think [script] needs empty tag support.

      CSS can be used to style custom tags.

      Agree.

      mymenubar {display: div; width: 100%;}

      What's wrong with "display:block"? If you want a [div] tag use one. If you want to make your own tag name, then don't try to make it a [div]. Div's are "block" elements. If you want a block element then "display:block".

      Custom Attributes

      I agree. But are we talking about HTML or JavaScript now? And why are you talking about JavaScript when you already said you don't want to support JavaScript? I'm confused as to your intentions.

      That's It

      Kudos for trying, but I think you missed the target.

      Cheers,
      Fozzy

      --
      "The past was erased, the erasure was forgotten, the lie became truth." ~1984 George Orwell
    10. Re:Not Impressed by snoyberg · · Score: 1

      I think the thing you missed was:

      <html version=5>
      If you see version=5, then treat it as HTML 5. If you see a DOCTYPE, treat it as something else. Seems simple enough to me.
      --
      Thank God for evolution.
    11. Re:Not Impressed by smittyoneeach · · Score: 1
      Disagree with your disagreement.

      He seems to want his name spouted with HTML-5, thats about it. Seems like more of a publicity move than an actual intelligent proposal with any hope of adoption.
      This guy is a "Yahoo! Architect" as well as "JSON inventor"
      Yet he says, WRT script:

      There is only one scripting language allowed on a page. This is to simplify the addition of new languages to the browser, eliminating the need to unify object models and memory models. It also paves the way for replacing JavaScript with a secure programming language. No security would be obtained if an insecure language can be mixed with a secure language. The language is selected by specifying the content-script-type. The default is application/ecmascript.
      I daresay if this was merely a publicity stunt, and not a serious list of bullet points from a serious techie, we'd see him entrenching and protecting his poor wee JSON from all those schoolyard bullies.
      --
      Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
    12. Re:Not Impressed by phasm42 · · Score: 1

      Will UTF-8 be suitable 'forever'?
      Yes, it can encode all unicode characters. The only drawback is that some languages are better suited for UTF-16, which may make UTF-8 encoding longer than needed.
      --
      "No one likes working in a hamster wheel, and your shop smells of cedar shavings from here." - TaleSpinner
    13. Re:Not Impressed by quanticle · · Score: 1

      Could you please rewrite that with extrans mode? It looks like your examples got munched...

      --
      We all know what to do, but we don't know how to get re-elected once we have done it
    14. Re:Not Impressed by Hatta · · Score: 2, Insightful

      In fact, his entire "design" can be summed up with the following sentence: "Let's get rid of HTML features that I believe cause problems."

      What's wrong with that? They shouldn't be trying to shoehorn features into HTML that aren't in line with its purpose, marking up hyper text. If you want a rich, network capable, multimedia enabled application framework, write one! Don't ruin my HTML.

      --
      Give me Classic Slashdot or give me death!
    15. Re:Not Impressed by Stanistani · · Score: 1

      Hey, I think we should just mark all our documents the way God intended - Wordstar dot commands.

    16. Re:Not Impressed by AKAImBatman · · Score: 2, Insightful

      What's wrong with that?

      Very simple.

      "Let's get rid of HTML features that I believe cause problems."

      Is not the same as:

      "These HTML features have been empirically shown to cause more problems than they solve. Deprecating them will therefore improve the quality of the standard."
    17. Re:Not Impressed by BlowChunx · · Score: 1

      ... semantic meaning...

      Does that translate into the "meaning of meaning"? I had philosopher friends who kept asking if "There was any there there". Is this something similar?

      No wonder HTML is in trouble.

    18. Re:Not Impressed by wieher · · Score: 1

      no, because the changes he wants are ridiculously far from the current implementation... a) his want of one script language per-page.... first, the soft-dev world won't wait 22 years for this standard to come out to decide that, and by the time it does, you and I both know this little webpage this guy put up with his 10 points will be long forgotten by the wheels of actual real world development. b) the idea of modules is GREAT I really like it, but again, totally ---ing impractical in any kind of realistic way..... thus, although they're decent ideas, dont you think the timeline and scale of his 'ideas' are blatantly ridiculous?

    19. Re:Not Impressed by MightyYar · · Score: 1

      I'm mostly a web user, though I've done a few projects. When putting those projects together, I feel your pain - layout is a royal PITA... especially getting things to look nice on various platforms and browsers.

      But as a USER, the things you describe scare me a bit. I like being able to set and change my fonts. I like being able to view websites in a text browser or on my phone (even if the designer didn't plan for those uses). When I'm browsing while connected to my phone, I like to be able to shut off images. The last thing I want to do is have some site break when I raise the font size because my monitor has a higher resolution than the "typical" monitor that the designer coded to.

      --
      W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
    20. Re:Not Impressed by Skrynesaver · · Score: 1
      I think you may be under informed as to his credentials

      As to how the pros use the current adaptability on browsers, try catching all of these.

      HTML is now used as a standard formatting language, not just on the web, but in mail clients and all over the shop really, HTML rendering software should be stricter about what it honours and Javascript engines are a hideous series of exploits strung together as an interpreter

      While there could be more meat on these proposals I tend to agree with them.

      No I wasn't RickRolled today ;)

      --
      "Linux is for noobs"-The new MS fud strategy
    21. Re:Not Impressed by JcMorin · · Score: 1

      "No more doctypes Why? Adding a "version" attribute it just going to break compatibility. The "web" has enough problems with compatibility, lets not inject MORE. Doctypes work fine..." I don't so how the Doctypes haven't broke the standard? Previous browser that were ignoring the those line were rending the data the best as they could... "No more framesets, frames, or iframes. The security properties of these were problematic. Instead we'll have modules. Hmmm... I don't like frames per say. I don't use them. Though, I don't see how modules are going to make things better or easier but more complex. A frame was simple. A window in a window. That's simple..." IFrame is easy... yes, problem come with SECURITY! You place an add with an iframe, and the iframe can control your entire page including adding a key-logger and sending all the data on the Internet... His suggestion would prevent this because you need a send/receive mechanism to talk between each module.

    22. Re:Not Impressed by Skrynesaver · · Score: 1

      Ooops, that should of course be try to catch all of these

      --
      "Linux is for noobs"-The new MS fud strategy
    23. Re:Not Impressed by Dragonslicer · · Score: 2

      In theory, setting the default font only takes "body { font-family: ... }". Most of the ugly CSS that I've seen comes from having to write something that works in Internet Explorer and everything else.

    24. Re:Not Impressed by Kadin2048 · · Score: 3, Interesting

      Not everyone is happy with Unicode.

      In particular, their treatment of some Asian glyphs has some folks absolutely up in arms (cf. Han unification) and it falls short of what I'd call truly 'universal.'

      Start mandating UTF-8 and you're going to have people breaking the standard in favor of national charsets faster than you can say "cultural imperialist."

      --
      "Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
    25. Re:Not Impressed by suggsjc · · Score: 3, Funny

      Hold on, I know that the web is old, but still. UTF-8? I think most every user that I know has a 32-bit computer, so if we are going to be changing things, go ahead and bump to UTF-32. But even that might now be enough since those fancy 64 bit computers are starting to gain traction. I say let the web be the technology leader and be the first to start using UTF-128. If you combine that with IPv6, every cell on earth can have a unique IP address as well as their own symbol...take THAT "the artist formally known as Prince"

      --
      When I have a kid, I want to put him in one of those strollers for twins and then run around the mall looking frantic.
    26. Re:Not Impressed by suv4x4 · · Score: 3, Insightful

      I think you may be mistaking a page of conceptual ideas for a complete design. Even if the submitted article tries to pass it off as such, these are just a set of proposals that Crockford has been discussing. This particular page is more of a list than anything; it does not contain his entire concept or justification. He does a great job of discussing some of these things in person.

      Yet, if I was involved in the HTML5 drafts I'd be insulted. He does dismiss an actual complete design (HTML5), in favor of few vague niceties and abstract wishes that don't change the big picture even a bit.

      Does it really matter so much if we'll use DOCTYPE or version="5" attribute to specify the document type?

      HTML5 is trying to prepare the web to handle robust web applications, and he's there dissing it and saying "let's instead just drop some legacy features, put some syntactic sugar on it and call it a day".

    27. Re:Not Impressed by mdahl · · Score: 0

      body {
      font-type: verdana 12px;
      margin: 10px;
      }
      yeah, real ugly code. :-)

    28. Re:Not Impressed by TheMCP · · Score: 1

      Does it really matter so much if we'll use DOCTYPE or version="5" attribute to specify the document type?

      Yes, it matters a great deal in terms of how to parse the document, and anyone working on a standard should recognize that immediately. (And why DOCTYPE is evil.)

    29. Re:Not Impressed by nine-times · · Score: 2, Insightful

      Is that a typo or joke? I don't get it. If it will really take that long, wouldn't it make sense to set some intermediate goals first? Like whatever they're making HTML 5, call it HTML 8, and set a roadmap for the intervening years?

    30. Re:Not Impressed by alan_dershowitz · · Score: 2, Interesting

      The content is still delivered in XHTML, so you can (or should be able to) style it with your own stylesheet (either XSLT or CSS or whatever you want.) This can be done today, XML can be delivered with an XSLT and the browser will render it. The problem is that the only choices you really get in the browser for output is plain text, HTML, HTML+CSS, or SVG.

      What I am arguing for is a styling language that doesn't suck balls. I've been doing CSS since forever, and I'm finally completely fed up with it. It solves a few important-to-solve problems, but causes multitudes of problems of every degree of severity.

    31. Re:Not Impressed by Anonymous Coward · · Score: 1, Informative

      It's "per se" not "per say". It's Latin for "intrinsically", not just another way of saying "as such" which is the way people seem to commonly abuse it.

    32. Re:Not Impressed by Fozzyuw · · Score: 1

      It's "per se" not "per say". It's Latin for "intrinsically"

      Thank you for correcting me. I appreciate it. (In all seriousness)

      --
      "The past was erased, the erasure was forgotten, the lie became truth." ~1984 George Orwell
    33. Re:Not Impressed by alan_dershowitz · · Score: 2, Interesting

      The two problems are that setting font attributes are done independently for things like table elements, labels, headers than from paras or spans, and also that there is no explicit way to get the browser to start from a default "unstyled" state before you start adding you own style. Implementation differences themselves make styling using CSS that much more miserable.

    34. Re:Not Impressed by Anonymous Coward · · Score: 0

      You can read his proposal in full over here: http://www.crockford.com/html/

      That's the first link in the summary, moron.

    35. Re:Not Impressed by SashaMan · · Score: 1

      Agree, the author doesn't have any idea what he's talking about. For example, in China, support for GB 18030, the official charset of China, is mandatory for all software sold in China. GB 18030 is also a Unicode transformation format, but it's backwards compatible with China's older charset in the same way UTF-8 is backwards compatible with ASCII. Mandating "UTF-8 only" is a very English-centric way of thinking of the problem.

    36. Re:Not Impressed by Anonymous Coward · · Score: 2, Insightful

      Does it really matter so much if we'll use DOCTYPE or version="5" attribute to specify the document type?
      Depends how you define "matter". I certainly can never remember what the syntax of a DOCTYPE definition is, let alone how to use it to specify a particular version of HTML, let alone remember all the different hacks different browsers apply based on different DOCTYPE definitions. Whereas I could easily use a simple, straightforward "version" attribute without having to constantly look things up.
    37. Re:Not Impressed by alan_dershowitz · · Score: 1

      Are you seriously offering CSS Reset as a solution? It's a workaround, look at the code, it's a joke. Web developers need a way to explicitly TURN OFF the default style and start from scratch. and I don't blame you for misunderstanding the point of the full width block element. the point is, why is it such a giant, unintuitive pain in the ass to manage layout boxes in CSS? I don't disagree that strictly speaking these are not HTML issues, however.

      With regards to modules, I only brushed over that but he seems to be advocating pseudo-frames built from the ground up with security in mind, which is a good idea if I understand him correctly.

    38. Re:Not Impressed by billcopc · · Score: 1

      The man may well be a Javascript guru, but that skill doesn't carry over into HTML at all. Me, I wish we could grow out of HTML entirely and shrug off all this lame legacy support. As a visually-oriented kind of guy, I'd openly welcome something like PDF. Just because the Unix crowd sucks at GUI design doesn't mean the whole world should suffer text-driven interfaces for eternity.

      Right now, we rely on so many ugly Javascript and CSS tricks to make pages appear the way we want, it often starts looking like a client-side rendering layer built on-top of HTML itself. Things people have relied on for years in graphic and UI design like dynamically resizeable layouts, sub-pixel-perfect font sizing and alignment, transparency and a whole bunch of other common techniques are a royal nightmare to implement in HTML. I do this crap for a living and I still curse at CSS on a daily basis with its stupid moments and browser incompatibilities.

      If we had a graphically-oriented delivery method, we could agree on strict rendering expectations for browsers to meet. They could then differentiate based on actual features instead of rendering accuracy (because I'm sick and tired of hearing about Opera!)

      --
      -Billco, Fnarg.com
    39. Re:Not Impressed by phasm42 · · Score: 1

      I looked at the Wikipedia article on GB 18030, and it says there's no straightforward way of translating a byte stream into a set of unicode code points. Contrast this with UTF-8/16/32, which are trivial to translate to code points, and I really don't see the point of using alternative systems. You can argue over what the code points mean, but UTF-8/16/32 works well for encoding the code points. I fail to see how it's English-centric; Windows-1250 or ISO 8859 would be English-centric, and they should be discriminated against equally.

      --
      "No one likes working in a hamster wheel, and your shop smells of cedar shavings from here." - TaleSpinner
    40. Re:Not Impressed by MrMunkey · · Score: 2, Insightful

      I love it! A person involved with WHATWG and HTML5 reads this and gets upset. Who would have thought :) I would be somewhat upset too if someone dismissed my ideas.

      Honestly, everything in the web is getting bloated. ECMA Script 4 is bloated, HTML 5 is bloated, browsers are bloated (call me crazy, but even Opera is bloated for my tastes). I agree with Doug. Let's make the web a safer and easier place to work. Whether or not his suggestions are the best solution is up for debate, but the idea to get rid of bloat and make web programmer's (aka. my) job easier can only be good.

      Now for some real fun. JSON vs XML... go!

    41. Re:Not Impressed by Randle_Revar · · Score: 2, Funny

      It's a joke, I say it's a joke, son!

    42. Re:Not Impressed by AKAImBatman · · Score: 1

      Yes it is. But the other article by the same title that I posted to 5 minutes before this one showed up didn't have that link. One copy and paste later, and you have a post that appears to be stupid when in fact the "editors" were trying an new thing called "editing" for a change. :-)

    43. Re:Not Impressed by jefu · · Score: 1

      Wordstar dot commands?

      Heretic! Clearly God intended us to use TeX and LaTeX.

    44. Re:Not Impressed by hobo+sapiens · · Score: 1

      "setting font attributes are done independently for things like table elements, labels, headers than from paras or spans"
      There is a way to set all of these in one statement. Set the body font and let everything else inherit it. Set the body to something like 0.8em, and change only elements you may need to (which should be thing like the h elements and a few others).

      "there is no explicit way to get the browser to start from a default "unstyled" state"
      Huh? Sure there is. Don't have any CSS. That's the browser's default.

      Maybe I am missing your point. Honestly, what you said comes off sounding pretty uninformed. I am going to give you the benefit of the doubt and think maybe you didn't mean that the way I read it. ;)

      --
      blah blah blah
    45. Re:Not Impressed by alan_dershowitz · · Score: 3, Informative

      I am so informed it would blow your mind. Setting font properties at the body doesn't cascade for all elements that result in a font onscreen. Try it. With regards to the default stylesheet, that is different than "unstyled." Without using CSS at all you still have margins, there is still a default font size for different elements, there is spacing, things like links have colors, underlines, and hover/selected attributes specified. I am saying there should be a way to tell the browser to disable ALL styling so that there are no margins, no spacing, no default font family, size or weight. ALL of this would have to be specified in your stylesheet at that point.

      Basically, there is a reason that CSS RESET stylsheets have been created, and it is to get the browser back to a simulated "unstyled" state. It is stupid and should be unnecessary. It's a workaround for a deficiency in current browser tech. I say fix the tech. Part of the problem with CSS is that your selectors have to assume that each browser has a different baseline, when the baseline should itself be a stylesheet that can be turned off (I am not talking about user-specified stylesheets, which should still override. Not the same as a browser baseline.)

    46. Re:Not Impressed by Stanistani · · Score: 1

      My work here is done.

    47. Re:Not Impressed by drakaan · · Score: 1

      Yes, it matters a great deal in terms of how to parse the document, and anyone working on a standard should recognize that immediately. (And why DOCTYPE is evil.)

      Insofar as having a "version" attribute in an HTML entity requires different parsing logic than using a doctype declaration, I agree. I don't know why you would consider doctype "evil", though.

      Since doctype is a pointer to a dtd, it could be fragile. On the other hand, having a version number and leaving the issue of validating the content up to the UA means that validation will be inconsistent.

      As has been mentioned before, the point of HTML 5 is/was to define a standard, and when you get as vague as saying (in HTML) "this should be version 5...you know what that looks like, right?", you end up perpetuating the current mess that exists in currently-existing browsers rendering HTML (quirks mode, anyone?). You don't make it worse, but you don't improve things any, either.

      I think that I was most put off by the summary mentioning "making it easier to train web developers". HTML is all about markup (i.e. formatting), so that's like talking about changing SVG to "make it easier on illustrators"...you can provide tools to allow them to do complex things more easily, but the complex thing is still a complex thing.

      Any web developer who is going to be successful will be able to readily grasp the concepts behind HTML, XHTML, and XML. If they don't grok that, then they'll probably always use tools rather than learn about the code inside the pages (the FrontPage Syndrome), and in that case, they won't care what the underlying code looks like. That most definitely *won't* make HTML more efficient.

      --
      "Murphy was an optimist" - O'Toole's commentary on Murphy's Law
    48. Re:Not Impressed by AKAImBatman · · Score: 3, Insightful
      Who modded this guy insightful? I'm not sure who he's referring to by "A person involved with WHATWG and HTML5", but it sure as heck can't be me. As I mentioned above, I am not "involved" in it in HTML 5 any official capacity. All I did was go to their website and signed up for the mailing list so I could get spammed on a daily basis! (Ostensibly to "keep track" of their progress and ensure that my needs as a developer are met. ;-))

      "[R]eads this and gets upset". Again, who is he talking about? This hardly sounds "upset":

      I have the highest respect for Mr. Crockford, but my opinion is that he should study the reasons behind HTML 5 a bit more carefully, as well as solicit a bit more feedback from the community before attempting to push a non-solution to their problems. Best of luck to him. :-)

      ?

      Now for some real fun. JSON vs XML... go!

      Here's an amazing answer for you: Each has its advantages and disadvantages. Evaluate your project needs before choosing a solution.

      Seriously, you mods need to lay off the crack. Or at least share with the rest of us. :-P
    49. Re:Not Impressed by hobo+sapiens · · Score: 1

      Thanks for the reply and the clarification.

      "I am so informed it would blow your mind"
      Ok, that's a very authoritative statement. Are you involved with browser development? Do you contribute to w3c standards? Run a site like alistapart.com? Not trying to be insulting, just curious as to who I am talking to.

      "your selectors have to assume that each browser has a different baseline"
      why though? So some pages look slightly different in different browsers. html provides a fluid layout. You shouldn't have to care about slight differences in fonts, margins, etc. You are correct in that browsers all have their own default formatting and it is not "nothing", it's almost as though they have a default stylesheet. But what harm does that cause? I have been doing web dev for a long time and have never had a problem with that. Not saying that it's impossible to have an issue with that, but I am just curious why you see that as a problem.

      --
      blah blah blah
    50. Re:Not Impressed by MightyYar · · Score: 1

      Yeah, CSS has some pretty severe limitations. For instance, set up a three-column layout in it, allowing the middle column to resize dynamically to fill the browser window. Now get a footer to show up at the bottom of the page, such that it is below the longest of the three columns. Seems like something that many people would want to do, no?

      Yes, it's possible, but horribly convoluted.

      --
      W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
    51. Re:Not Impressed by JcMorin · · Score: 1

      Unicode 2.1 contain over a million glyphs... it's not enough for you?

      I there is really missing characters? I'm sure they will be added by the Unicode committee. I don't see how UTF-8 cannot be a solution for encoding Unicode even for the complicate language spoken in China.

      So your solution is that all devices and operating system support all dam code-page in the world while Unicode cover 99.99% of all symbols used in a single simple solution!

      BTW my mother language is not English...

    52. Re:Not Impressed by Hyperspite · · Score: 1

      If I'm writing a browser, it's pretty trivial to download a copy of a dtd and implement that as standards compliant mode. If a new version comes out, well, it won't be version 5 anymore anyway, it'll be 5.01 or something. At least let the browser do the work of remembering where the doctypes are (at the standard w3c address or some mirrors at say the mozilla foundation). We can still have doctypes optionally, but the version thing is much much cleaner.

    53. Re:Not Impressed by phasm42 · · Score: 1

      So your solution is that all devices and operating system support all dam code-page in the world while Unicode cover 99.99% of all symbols used in a single simple solution!

      BTW my mother language is not English...
      I can tell: I'm arguing for UTF-8, not against it. As a developer, I dislike having to deal with a bunch of character encodings.
      --
      "No one likes working in a hamster wheel, and your shop smells of cedar shavings from here." - TaleSpinner
    54. Re:Not Impressed by AxelTorvalds · · Score: 1
      I'm sorry but the auther hasn't presented any compelling reason why this is a 'good idea'(tm) and I can think of several reasons this is a 'bad idea'(tm). Do have I have to mention active X, proprietary languages, and 'broken' sites because of it? Then the need for Web.Devs. job skills increase significantly and become much more cumbersome.

      There are some clear reasons to dump javascript. The obvious ones are its terrible performance and the complete lack of safty. Did you know there are port scanners built in javascript? You go to a web site and it quietly attempts to "navigate" to your internal network and it can report back what it finds. There are also demonstration attacks where they'll do the same thing and post the common factory passwords to your router, I'm not sure if this has been done in the wild but I can 't think of a good reason for it not to happen.

      Something like Java's notion of signed byte coded jars would be nice. As long as we're running any code from a remote system, a completely secure VM is needed and some way to grant trust with TLS/SSL could be lovely. While we're at it, giving just a little bit of attention to the performance would help also. It doesn't need to be compiled C like performance but Javascript is bloody slow and we just rely on more and more and more of it. My desktop has 4GB of ram, a core2 duo and firefox starts to really bog down with 10-15 tabs open, it's only frustrating because the older machine was replaced precisely because of that slowness.

      If we were to come up with a more intelligent way of packaging javascript-ng, or whatever it is, and do some performance work with it. Another thing I'd like to see would be reuse and storing of common javascript packages. How many websites use scriptaculous? Any reason we can't pull a verison of it from a specific place?

    55. Re:Not Impressed by Anonymous Coward · · Score: 0

      I am saying there should be a way to tell the browser to disable ALL styling so that there are no margins, no spacing, no default font family, size or weight. ALL of this would have to be specified in your stylesheet at that point.

      What kind of bullshit nonsense is this ?

      If there are no margins, no spacing, no default family, size or weight, then pages without your "mandatory" style sheet would be simply not rendered ? So we end up with what ? A blank white page ?

      No, sorry, I forgot, no default colors either ? We end up with a transparent window showing whatever is UNDERNEATH your browser ???

      Whatever you are smoking, I think you should stop ... NOW !!!

    56. Re:Not Impressed by hansamurai · · Score: 1

      Sorry I started my post with an assumption like that, he must have only read that and jumped the gun.

    57. Re:Not Impressed by alan_dershowitz · · Score: 1

      Strip all tags, force all elements to inline, and render the text as a plain text document would. No margins, monospace black text at 12 point, white background. This is SOME styling, I admit, but what I am asking for is the simplest baseline possible. Do you know how much simpler this would make developing CSS?

    58. Re:Not Impressed by Anonymous Coward · · Score: 0

      Right, because the thing that will keep HTML5 from being universal next year is just a spec thing, and in no way related to the fact that it will take any new HTML version that long to propagate.

      Having 4 new versions of HTML in the next 20 years is a much more sensible plan, and will obviously be implemented and deployed in short order by all involved.

    59. Re:Not Impressed by alan_dershowitz · · Score: 1

      Not trying to be insulting, just curious as to who I am talking to. I was just being a smartass :-) I've been the rigid standards compliance evangelist at my place of employment for years now. That requires both technical knowledge and practical implementation experience. Of course that doesn't PROVE I know anything, I might just suck at it :-)
    60. Re:Not Impressed by porpnorber · · Score: 1

      8859-1 may be American-centric, but it's not English-centric by any means. It lacks the English letter OE! Something very strange must have happened in committee, that 8859-1 was eventually delivered in a form that supports neither English nor French spelling (someone once told me it was all to spite DEC...).

    61. Re:Not Impressed by DragonWriter · · Score: 1

      In fact, CSS is junk and should be replaced with something that is actually useful to graphic designers.


      Um, why?

      CSS is useful if you want hypertext with a designer-controlled basic appearance that is still useful to people with special needs and preferences. If you want precise layout over which the designer has complete control, what you want isn't hypertext rendered in a way dependent on the user-agent, the users fonts, etc. What you want is something like PDF or a graphics file format.

      OTOH, XSL:FO already exists and has more power than CSS; support of that in browsers would provide considerably more control than CSS allows. And there's no reason that browsers couldn't support XHTML+CSS as well as XML (including, but not limited to, XHTML) transformed into XSL:FO through XSLT. In any case, there is no reason to "junk" CSS.

      Of course if you use XSLT and a "real layout language", XSL:FO or otherwise, there's not a whole lot of reason to use XHTML as the base language for most content, since if you are using XSLT, you can start with whatever flavor of XML is most appropriate to your particular content. (X)HTML+CSS is mostly useful for piggybacking on the user agents default presentation with selected variations. People may be "forced" to do ground-up design in it because they face constraints which prevent using formats like that provide better layout-consistency guarantees or they want to avoid external dependencies beyond the browser, and because few browsers support anything besides CSS, but if you have something more than CSS available in the browser, there isn't a whole lot of reason to use (X)HTML in the first place most of the time.

    62. Re:Not Impressed by smittyoneeach · · Score: 1

      dont you think the timeline and scale of his 'ideas' are blatantly ridiculous?
      The fact that he's done stuff like invent JSON and holds a position at one of the top internet outfits means that his remarks are less than 'blatantly ridiculous', to me anyway (as if my opinion amounts to a fart in a hurricane).
      --
      Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
    63. Re:Not Impressed by AKAImBatman · · Score: 2, Informative

      CSS 101 is learning to float left and right. If you're trying to create three physical columns, you're doing it wrong. You need to create three divs, float two of them to either side, and your center will resize correctly. Easy, peasy. :-)

      You can even have the text wrap around the ends of the floated columns or clear the area beneath them completely.

    64. Re:Not Impressed by AKAImBatman · · Score: 1

      Nah, it's nothing against you. I just try to keep the mods honest around here. Though it's been a lot harder since I stopped posting so much. :)

    65. Re:Not Impressed by mysticgoat · · Score: 1

      CSS is junk and should be replaced with something that is actually useful to graphic designers.

      This identifies a major source of the problems surrounding growing the web: we've got self-identified graphic designers who think that they know how to build the protocols. It is a situation similar to painter telling chemists how they should formulate the pigments.

      Certainly input from graphics designers is appropriate, but beyond a certain point, it is just adding unnecessarily to the noise level.

      CSS and HTML, when done by hand can be a wonderful thing: css Zen Garden shows what was possible several years ago, and it has only gotten better since then. Granted that WYSIWYG web page editors like DreamWeaver and FrontPage churn out crappy tag soups, but that is a problem with those software packages, not with the underlying protocols.

    66. Re:Not Impressed by jibjibjib · · Score: 1
      Is XSL:FO suitable for describing on-screen layout? Wikipedia says:

      The XSL-FO language was designed for paged media, in much the same way that HTML and CSS were designed for unpaged (or screen-based) media. As such, the concept of pages is an integral part of XSL-FO's structure,
      I certainly wouldn't want web pages to end up being like PDFs, with a page-based layout. It would be annoying and waste a lot of space when generally the users just want to read the document on the screen.
    67. Re:Not Impressed by Christianfreak · · Score: 1

      what's hard about:

      body {
        font: normal 12px Arial, sans-serif;
      }

      ?

      The people who rail against CSS are the people who don't have the first clue about how to use it.

    68. Re:Not Impressed by DragonWriter · · Score: 1

      I am saying there should be a way to tell the browser to disable ALL styling so that there are no margins, no spacing, no default font family, size or weight.


      No, there shouldn't.

      Now, if you want to say it should be possible to replace, on a per-page basis, all the defaults, sure, there should. IIRC, there is, but I don't do a whole lot of work with CSS, and when I do, I'm not usually interested in nuking the users defaults, so its not something I particularly am concerned about and I could be mistaken.

      But there is no good reason at all for a capability to nuke any user-agent default that you aren't explicitly providing a new value for.

    69. Re:Not Impressed by grcumb · · Score: 1

      I am so informed it would blow your mind.

      Possibly not. 8^)

      Setting font properties at the body doesn't cascade for all elements that result in a font onscreen. Try it. With regards to the default stylesheet, that is different than "unstyled." Without using CSS at all you still have margins, there is still a default font size for different elements, there is spacing, things like links have colors, underlines, and hover/selected attributes specified. I am saying there should be a way to tell the browser to disable ALL styling so that there are no margins, no spacing, no default font family, size or weight. ALL of this would have to be specified in your stylesheet at that point.

      [Emphasis mine]

      The thing that seems to frustrate you the most is that you're confused about who that stylesheet actually belongs to. I've been working on the web more or less since it existed, and I've seen a long - and ultimately boring - litany of complaints from so-called 'web designers', all of them predicated on the false assumption that the website owner gets to dictate the look and feel of their website.

      The bottom line is this: We web designers cannot know the display capabilities of the remote client. Therefore, we can only suggest the best way to display our content. Now, there's a reasonable compromise at play here, because it's simply impossible for any client to implement a one-size-fits-all styling that works equally well with every website.

      So what we end up with is CSS. Haakon Lie has created what he felt at the time was the best possible way for client and server to negotiate how a particular set of web data is displayed. Provided that one puts away one's design-nazi tendencies, CSS becomes a useful tool. It's not perfect, but that's not entirely CSS' fault. It's down to the agnostic nature of the web.

      If you want pixel-perfect control over your content, tools for that already exist: JPG, PNG, PDF, Flash etc. all work just fine for that. Each of these formats comes at cost, but then, TANSTAAFL has always been the last word in this game.

      --
      Crumb's Corollary: Never bring a knife to a bun fight.
    70. Re:Not Impressed by alan_dershowitz · · Score: 1

      This identifies a major source of the problems surrounding growing the web: we've got self-identified graphic designers who think that they know how to build the protocols. It is a situation similar to painter telling chemists how they should formulate the pigments. This identifies a major source of the problems surrounding the future of graphic design: we've got self-identified "software architects" who think that they know how to design a layout system. It is a situation similar to chemist telling painters how they should mix the pigments.

      Dude, it's not about the technology, it's about the content. I am both a software architect AND an artist, I've created tools and I've used tools. Here, try doing this in CSS: create a three-column layout where text automatically flows from one column to the next. How about defining multiple blocks to have the same size based on the contents rather than specifying a fixed width? Easy to do in a real layout engine, not even conceptually possible in CSS.

      CSS Zen Garden is awesome until you look at the herculean effort that went into creating some of those stylesheets, and the write-only code that produced the desired effect. Refactoring CSS after you get it to just work is an art in of itself. Look, even I am sick of the responses I have to make to everyone, my point is that CSS is extremely limited in what it can do compared to real graphic design tools, and it is about 10x as complicated as it needs to be to accomplish routine layout tasks. I do not love CSS for what it is, I have a job to do and it's an overcomplicated and badly designed tool. There are tools that I love, CSS is not one of them.
    71. Re:Not Impressed by hobo+sapiens · · Score: 1

      Nice, you got me :)

      --
      blah blah blah
    72. Re:Not Impressed by alan_dershowitz · · Score: 1

      I've seen a long - and ultimately boring - litany of complaints from so-called 'web designers', all of them predicated on the false assumption that the website owner gets to dictate the look and feel of their website. The bottom line is this: We web designers cannot know the display capabilities of the remote client. Therefore, we can only suggest the best way to display our content.

      I know this as well as you. I am not arguing that the client lose the ability to render content as it sees fit. You and I both know that we couldn't stop that anyway. What I am saying is that CSS is not even good at creating the output you want when the damn stylesheet you created IS honored by the client, because you don't know the defaults of a browser, you can't derive programmatically the defaults in place, and you can't explicitly tell the browser to start from a baseline blank stylesheet. In other words, the state of CSS and browsers today is that you can't even rely on CSS to do what it is supposed to do when all conditions are honored by the client, let alone when it's not. The best you can do is use kludgey and processor-sucking CSS reset stylesheets that have to be written specifically for the top few most popular browsers, and still don't always work right because they are, you know, hacks.

      The user can do whatever they want when they get my data, but if they want to use my stylesheet, it would have been cool that I could have given them what I envision. You can, but with limitations and caveats, and it is harder than it ought to be. that's my complaint.

    73. Re:Not Impressed by Anonymous Coward · · Score: 0

      Dang... just wasted a whole mod point on modding the wrong post funny... :(

    74. Re:Not Impressed by DragonWriter · · Score: 1

      If I'm writing a browser, it's pretty trivial to download a copy of a dtd and implement that as standards compliant mode. If a new version comes out, well, it won't be version 5 anymore anyway, it'll be 5.01 or something. At least let the browser do the work of remembering where the doctypes are


      Browsers are allowed to do that. There is no requirement that user agents use the system identifier (URI) at all to locate a DTD, and there is no requirement that if they use the URI, they treat it as anything other than an identifier. They can use either the public or system identifier, and use any system mapping that to a particular archive of specifications that they want. Clearly, using the URI as a URL (which it is) and fetching the DTD from the specified location is one way browsers can get the referenced specification, but its not the only way they can.

      We can still have doctypes optionally, but the version thing is much much cleaner.


      How is it "cleaner"? Both the public identifiers and the URIs for DOCTYPES are simply identifiers. They allow the user agent to do whatever it wants to find the associated specification. They also allow the user agent to not try to remember where they are, and instead be told the location specifically. Nothing that versions support is not supported by the existing DOCTYPE declaration.

    75. Re:Not Impressed by MightyYar · · Score: 1

      I didn't mean three columns in table form, I meant 3 visual columns. I know about floating things left and right. The problem is this:

      Let's say I have a site that has some pages with a little content and some with a lot. I have some ads down the right side, and a navigation bar down the left. I have a header, and I'd like a footer. If I hook the footer to the bottom of the middle div, then it won't always clear the left or right sidebar if the middle content is not tall enough. If I hook it to one of the sidebars, then it will overlap the middle div when the content is too long. There are some potential CSS tricks that work well on one browser, but fail on others. The solution for me was to use some javascript - but I consider that non-optimal.

      The web is full of non-intuitive tricks to get CSS to do something that ought to be obvious and simple.

      --
      W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
    76. Re:Not Impressed by Hyperspite · · Score: 1

      There is one thing that doctypes can't to that my beloved syntactic suger can: Inspire more web developers to code to standards. If someone, while they are learning can just say version=5 rather than having to fetch the DTD and figure out WTF does it do, we might have a more responsible web. Granted, I don't know how much it would help, but I think making writing to standards easier is never a bad thing.

    77. Re:Not Impressed by uniquename72 · · Score: 1

      I feel ya. It's always baffled me that layouts that are dead easy using HTML tables are a PITA using CSS, which is (among other things) supposed to replace the use of HTML tables for placement.

      How about just adding table-like functionality to CSS?

    78. Re:Not Impressed by grcumb · · Score: 1

      What I am saying is that CSS is not even good at creating the output you want when the damn stylesheet you created IS honored by the client, because you don't know the defaults of a browser....

      And what I am saying is that you never will.

      I'll be the first to agree with you if you want to assert that CSS is an imperfect implementation of an uncomfortable compromise. Heck, I'm pretty sure even Haakon would nod sagely. 8^)

      But I still think your expectations are unrealistic, for practical if not philosphical reasons. What you're looking for is a technical display specification that will be implemented consistently in all graphical browsers (let's just forget about all the other clients accessing your site for now). And that, I'm afraid to say, is a pipe dream.

      It's good to hear that you're not complaining blindly that HTML/CSS isn't PDF. Nonetheless, it appears to me that you're falling victim to the same false expectations. I could be reading you wrong, and perhaps a more detailed explanation might move me a little, but honestly, I've followed this thread since the start, and I haven't seen anything that didn't make me do more than shrug and say, 'Yeah, sucks, doesn't it? But what are you gonna do?'

      The web is an amorphous medium, and we fail when we aspire to assert too much control.

      --
      Crumb's Corollary: Never bring a knife to a bun fight.
    79. Re:Not Impressed by m2943 · · Score: 3, Insightful

      In particular, their treatment of some Asian glyphs has some folks absolutely up in arms (cf. Han unification) and it falls short of what I'd call truly 'universal.'

      The "controversy" about Han unification is inane nationalistic posturing on the part of those Asian nations; it has no basis in either linguistics or practice. It's as if every European nation wanted their own codes for the Roman alphabet.

      Start mandating UTF-8 and you're going to have people breaking the standard in favor of national charsets faster than you can say "cultural imperialist."

      "Han unification" is not "cultural imperialism", it's simply applying the same design principles to Chinese characters that were applied to other languages. People object to Han unification for a variety of reasons, most of them related to nationalism, arrogance, or simply ignorance. For example, there are lingering animosities between Japan and China. And many traditionalists in Asia think of the West as inferior and would have found grounds for objecting to any character set not designed domestically.

      The technically correct thing to do is to keep Han unification, just like all other scripts are unified, and address problems with specific glyphs as they come up.

    80. Re:Not Impressed by m2943 · · Score: 3, Insightful

      Mandating "UTF-8 only" is a very English-centric way of thinking of the problem.

      No, it is not. Unicode was developed by an international group of experts, including plenty of participants from Asia. It represents a reasonable and practical compromise between lots of different design goals. Everybody had to make some sacrifices there. People like you are just trying to rattle people's cages by turning a technical issue into a nationalistic one. "GB 18030" is a China-centric standard, Unicode is a global and neutral standard.

      Furthermore, to the degree that there are problems with Unicode and Asian languages, the way to address them is to fix Unicode, not for each Asian nation to fall back to some national character set.

      Of course, there are plenty of political and economic incentives for nations like China and Japan to try to have their own national character sets; hopefully, organizations like the UN and WTO will recognize this for what it is: attempts at content control and attempts at erecting illegal trade barriers, and deal with it accordingly.

    81. Re:Not Impressed by hixie · · Score: 1

      I updated the FAQ answer with more details. Let me know if it makes more sense now.

    82. Re:Not Impressed by Anonymous Coward · · Score: 0

      How do you "invent" JSON? It's just a literal, in javascript. The way he designed it, you originally used eval() in javascript to get the value. Seriously, this goofy hack is somehow engineering?

    83. Re:Not Impressed by mysticgoat · · Score: 1

      I am both a software architect AND an artist

      Oh.

      I see.

      Off with you then, and let the engineers, analysts, and programmers do what they need to do to make things better. This stuff of protocols, consistent fail-over behaviors, and so on is all very much closer to the ground than the stratospheric heights where you belong.

      Be comforted in knowing that those on your team who can handcode HTML and CSS will soon benefit from the work that is going on today. But how long this will take to bubble up to the stratosphere is difficult to say, for it will depend on how quickly the maintainers of the WYSIWYG wonders like DreamWeaver and FrontPage will start to put some minimal intelligence into their products. I'm not going to hold my breath. I realized about a dozen years ago that the WYSIWYG wonders have an inexhaustible supply of customers who don't know how to look at source, and don't care. There is no incentive to do these packages right.

      Uh, one last thing. This particular discussion is totally about the technology, and not at all about the content. I don't understand how it could seem otherwise. Perhaps looking down through a thermal inversion causes a mirage?? I'm no software architect, I don't live among the clouds, so I'm really guessing on this one.

      I am a programmer/analyst with over a decade of experience with development and maintenance of big text web sites: online hospital procedure manuals of several thousand pages in constant revision, etc. From the ground level, the ideas for HTML 5 look pretty solid.

    84. Re:Not Impressed by moosesocks · · Score: 1

      Certainly input from graphics designers is appropriate, but beyond a certain point, it is just adding unnecessarily to the noise level.


      Yes. Ignoring all of those designers who wanted to center or vertically position page elements certainly helped CSS quite a bit.

      CSS is an absolutely fantastic innovation, but there are oh so many things about it that make you scratch yourself on the head, and ask yourself WTF they were smoking when they designed it.

      CSS3 will hopefully fix many of the problems, although we're still left with the mess we've got now, not to mention that it really could have been done better to start with.

      The language needs to be simple enough for designers to understand it, and needs to actually contain the facilities to do what they want them to. Their input is very important, or else you'll wind up with a turing-complete stylesheet language that is infinitely flexible, and can uniformly produce any style on the planet, but is completely incomprehensible to anybody without a PhD in Computer Sciencee.
      --
      -- If you try to fail and succeed, which have you done? - Uli's moose
    85. Re:Not Impressed by drew · · Score: 1

      I'm sorry but the auther hasn't presented any compelling reason why this is a 'good idea'(tm)


      Actually, he presented two compelling reasons, but apparently you weren't reading very closely.

      First, it allows more flexibility in language implementation, because you don't have to make sure that any language that you want to run in the browser can call and be called by (and otherwise interact with) every other language that the browser already supports. This is already a source of limitations. For example, (if I remember correctly - it's been a while since I worked with this) there is not way to access the SAX API exposed by MSXML from within the browser, because it requires the calling language to have a concept of interfaces, which JavaScript doesn't have.

      Second, you can't have any concept of a secure language in the browser if any insecure language can be running at the same time.

      And why are you talking about JavaScript when you already said you don't want to support JavaScript?

      He never said that he didn't want to support JavaScript. All he said was that he didn't want JavaScript to be able to be mixed together with other kinds of script in the page.

      I also agree with him that the default CSS needs to be standardized, or at least some parts of it. I don't care if Apple uses their pretty buttons or not, but at least having list items behave the same from one browser to another would be nice. (And while I'm all for Apple having their pretty buttons by default, I still want a way to override every form element. That goes for you, too, radio buttons!)

      I'm not so sure about the frames without knowing more about what he has in mind with modules, but I do know that my work depends heavily on frames to integrate our content with our clients pages, so I'm am a bit leery of this one.

      I also don't get the reason for dropping the DOCTYPE. That just seems stupid to me. Still, all in all, I think he's hit a little closer to the mark of what I'd like to see in the future of HTML than what I know of HTML 5 so far, and unlike HTML 5, I think there is an off chance his ideas might be useful to me in the next ten years if people take him seriously.
      --
      If I don't put anything here, will anyone recognize me anymore?
    86. Re:Not Impressed by mysticgoat · · Score: 1

      Why would anyone want to vertically center an element on a page that is designed to scroll under the control of the user?

      What about text readers and other alternative displays: how are these supposed to render a vertically centered chunk of text? And then there are spiders, index builders, and other automatons, none of whom is going to be able to assign semantic values to manipulations of whitespace. But all of these are becoming increasingly important as middlemen between the author and his intended audience. Which is a Good Thing: without Google, Yahoo, et cetera, the web wouldn't be nearly as valuable as it has become.

      The web just isn't some newfangled improvement on paper. It is an entirely different medium.

      The mechanics of CSS and HTML are not that hard to learn. A high school graduate could gain rudimentary literacy with these in a couple of weekends of study, and most people who hand code with these are proficient in under three months.

      Now learning to make good web pages with CSS and HTML is a different story. Developing a good web page is tough. But blaming that on the shortcomings of CSS and HTML is like blaming an inability to write a decent sonnet on the shortcomings of the English language.

      Just get over your bad self and learn the medium, and the mechanics of CSS and HTML if you don't know them, and then do what every other artisan has to do, which is to wrestle the damn concepts out of your brain and into your fingers. That's the tough part— for the potter, the blacksmith, or the web designer.

      Want to know the surest way to become a miserable web designer? Can you imagine a blacksmith who works out his designs for his wrought iron gates in potters' clay, and then attempts to accurately reproduce that at his forge? So how many "web designers" work up their designs in PhotoShop, and then try to make a web page that looks just the same?

      Learn the medium, learn its strengths and weaknesses, and work up the designs from that solid technical base. It will make the spiders happy and bring beaucoup traffic to those web pages.

    87. Re:Not Impressed by HeroreV · · Score: 1

      What really gets me is the complete disregard for backwards compatibility. Web developers and the HTML 5 spec puts a lot of importance on new additions being able to fall back gracefully in browsers that don't recognize them.

      For example, in the very first idea of adding a version attribute (which I'm totally for), he proudly states "No more doctypes." Except that means every browser that doesn't recognize the version attribute will go into quirks mode. Your new HTML5 webpage now looks like shit in all browsers that don't recognize the version attribute, even if all you did was remove the doctype and add the version attribute.

      It's like he doesn't realize that web developers will want their stuff to continue working in older browsers.

    88. Re:Not Impressed by zoips · · Score: 1

      Just use Silverlight or Flash.

    89. Re:Not Impressed by Anonymous Coward · · Score: 0

      > This guy is a (...) "JSON inventor"

      Give to Brendan Eich was belongs to Brendan Eich.

      People were using the Javascript literal notation as a mean of data encoding for transport over a network long before JSON was "invented".

      I'd vote for calling him a "JSON evangelist".

    90. Re:Not Impressed by smittyoneeach · · Score: 1

      And your personal inventions that have achieved widespread use are what, exactly?

      --
      Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
    91. Re:Not Impressed by hostyle · · Score: 1

      .leftcol {
        float: left;
        width: 19%;
      }

      .centercol {
        float: left;
        width: 60%;
      }

      .rightcol {
        float: left;
        width: 19%;
      }

      .footer {
        clear: left;
      }

      --
      Caesar si viveret, ad remum dareris.
    92. Re:Not Impressed by moosesocks · · Score: 1

      1) Not all pages are designed to scroll

      2) How about vertically centering an element within another element? That also tends to be somewhat hairy...

      3) You're ignoring the glaring bit about the lack of the ability to center elements as well. This is undoubtedly the most frustrating of CSS's shortcomings. Developing a good page is tough, but writing various "hacks" to make centering (or columns) work properly should not be part of the learning curve. I'll happily agree to allow my pages to conform to a few slight limitations for the sake of a simpler language, although the fact that CSS has so many glaring omissions makes that extremely difficult for a designer to do.

      4) Although it's a nice goal to be able to support as many display formats as possible within one document, it's simply not feasable in most cases, and you wind up with a half-assed approach from all angles. If you attempt to cater to too many audiences, you end up with a product that's really suitable to none of them.

      You *are* right that the web is an entirely unique format, although you've got to remember that it's one format. Attempting to project it onto other various mediums often simply isn't practical. Although it's nice to be able to present a different stylesheet for printing, or mobile devices, the web is very much a visual medium, and no amount of stylesheet hackery is going to be able to change that.

      --
      -- If you try to fail and succeed, which have you done? - Uli's moose
    93. Re:Not Impressed by weston · · Score: 1

      Setting font properties at the body doesn't cascade for all elements that result in a font onscreen. Try it.

      body, body td {
              font-family: MyFavoredFont, sans-serif;
      }

      Works for me for most everyday cases. There are some other occasional cases (form elements come to mind) but it's not frequent enough to cross my own annoyance threshold. YMMV.

      There are some things that do drive me crazy, for what it's worth:

      The official box model. I hate to say it, but MS got this one right: padding should be *inside* the element, and should therefore be included in the width of the element. The w3c model where you can have an element with 100px width but with 20px padding the element actually spans 140px from border to border is just crazy.

      Faux columns. I tried, I really tried them for years. I learned to make them work, and I sometimes for the sake of self-flagellation or when I'm still hit by a trace of the kool-aid remaining in my system still try to make them work. I've also learned to hate them, though. Tables aren't always a better tool for each layout problem, but there's times they damn straight are and discarding them in favor of a world of floats was a mistake. Things might work if there was such a thing as a non-broken height specifier. But there's not.

      No such thing as autocontain without "clear." Such a basic concept would save a lot of otherwise useless additional divs. It would also help coders get around a few tricky cases fairly easily.

      Vertical alignment sucks in CSS. Yes, it's possible in certain circumstances. Yes, it still sucks even when it works.

      Multiple background images would have been a great idea. This alone would make rounded corners on a box of arbitrary width and height (as well as other effects) trivial. If you want 'em now, though, you've got to wrap multiple container elements behind your background.

      List styling. No such thing as arbitrary characters for bullets is just the start.

      I could go on.... but that's not the point. Most of these things I've mentioned (and some of the things you've mentioned) could be fixed by incremental means rather than scrapping CSS for something else. This isn't to say that something else might not be a better idea. I just can't tell what that something else actually might be from your comments.

    94. Re:Not Impressed by weston · · Score: 1

      CSS 101 is learning to float left and right. If you're trying to create three physical columns, you're doing it wrong. You need to create three divs, float two of them to either side, and your center will resize correctly. Easy, peasy. :-)

      Unless you want resizable columns with a background color that spans the height of the page or viewport (whichever is larger). Then you have some interesting problems. Or, say you don't want a size spanning the page or viewport, but simple two columns that track each other's height. Divs as faux columns are inadequate under CSS 2.

      There's also the matter of getting the columns to really, truly contain stuff that's inside of them. Yes, you can get this to happen vertically by adding an additional clearing div down at the bottom. Bit of a pain (and sometimes it interferes with other things inside the column and occasionally even on the page), but not a big deal. Horizontally.... if you want the content to stretch the column you have a problem.

      And then there's the actual real world quirks.

      Don't get me wrong. I think that floats are great layout tools and CSS positioning isn't anything I want to give up. I do, however, think that it was completely wrongheaded to try and throw out tables as a layout tool. There's a lot you can do without them, but they lend themselves well to enough situations (and often end up being less fragile and/or easier to understand than their positioned div counterparts) that they or some mechanism like them should have been retained with approval.

    95. Re:Not Impressed by Anonymous Coward · · Score: 0

      "semantic meaning".

      That's a new one...

    96. Re:Not Impressed by MightyYar · · Score: 1

      That won't work :)

      I need "leftcol" and "rightcol" to be fixed-width (since the ads and navigation images are in there). This article goes into it far better than I ever could in a Slashdot post. The gist is that it is very hard to do without breaking the whole "separate your content and layout" design philosophy. You have to enclose things in DIVs that really shouldn't need to be enclosed... at that point, you might as well just sneak a table in there and be done with it.

      --
      W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
    97. Re:Not Impressed by aevans · · Score: 1

      If the web isn't a better medium then paper, we might as well just wad it up and throw it away. If, as you say, it takes only a few weekends to understand the concept of CSS and maybe a couple months to master, you might consider that someone you're talking to might have more than a passing familiarity with the medium. By your own words, you're not as elite as you claim. A lot of high school kids do understand CSS and see it's limitations and realize solutions for them. Just because it didn't occur to some committee of politically correct PhDs worried about their grant money if they don't add bullet points for screen readers for crippled colored poor Africans. Newsflash, screenreaders, get paid $10 per hour, and chat over tea, thanks to government welfare. Computer programs still couldn't read if their life depended on it, despite what you saw in a Star Trek utopia. PS. There aren't any blacksmiths anymore. We use steel and carbon fiber reinforced polymer resins, and no one with a potter's wheel can turn out the kinds of widgets that robotic laser lathes can.

    98. Re:Not Impressed by Kent+Recal · · Score: 2, Interesting

      Don't get me wrong. I think that floats are great layout tools and CSS positioning isn't anything I want to give up. I do, however, think that it was completely wrongheaded to try and throw out tables as a layout tool. There's a lot you can do without them, but they lend themselves well to enough situations (and often end up being less fragile and/or easier to understand than their positioned div counterparts) that they or some mechanism like them should have been retained with approval.

      Amen!

      CSS3 will hopefully help a bit with the mess but I'm not positive that it will bring us back
      to the days of straightforward table-hacking. Yes, tables were ugly, non-semantic and introduced
      quite some maintenance nightmares. But they worked consistently across browsers and the pattern
      was so trivial (need a split? nest!) that even complicated layouts could be prototyped in no time.

      Now fast forward to today. Hands up anyone who has gotten a CSS layout of moderate complexity
      to work without spending an ungodly amount of time on trial & error, css- and browser-hacks?

      The separation of code and layout is indeed a holy grail worth aiming for.
      But the implementation we're looking at, namely CSS, is horrible.

      So horrible that the people who really need to get anything done with it
      are nowadays resorting to CSS frameworks. Which, by pure coincidence,
      simply do away with all the semantics, em-sizes and quite a few
      other selling points of CSS. In favor of something that looks
      strikingly similar to what we have all been doing until a
      few years ago: A truckload of nested div's imitating the
      plain old table markup that CSS was supposed extinguish.

      Welcome back to 720px fixed-width tables, only that nowadays
      it's called the 960px YUI grid and that nowadays you need
      to either use a code-generator or learn a proprietary
      meta-language (css classnames) to get started.

      I dare to say that CSS, in it's current incarnation,
      is a failure. Sure, it works for really simple layouts,
      the "one floating menu bar and not much else" kind
      of layouts. But it falls hard on it's nose once you
      enter the world of multi-column layouts or anything
      involving forms.

      It doesn't cease to amaze me how CSS and the box-model could
      go so wrong on a problem that has already been solved better
      by just about any windowing toolkit in existence.

      It's really not hard to come up with a working concept and
      syntax of a grid (yes, a real grid, not the css hackery),
      full relative positioning (put this box *below* that box),
      inheritance (make this box as wide as *that* box) and
      all the other elements needed to describe any imaginable
      layout in a sane syntax.

      It's not hard at all once you clear the failure that is
      CSS from your mind and start again.

      "Not hard" as in a qualified design team could do
      it in under a year.
    99. Re:Not Impressed by rmerry72 · · Score: 1

      Let's say I have a site that has some pages with a little content and some with a lot. I have some ads down the right side, and a navigation bar down the left. I have a header, and I'd like a footer.

      Why try to do this in CSS? Won't a table work well? One with a cell across for the header, three cells in the next row, then one for the footer? That's kind-of what tables are built for, or so I believe. Then the footer will always be placed at the bottom of the longest column, as all three columns belong to the same row. That's how every site I've ever built constructs headers, footers and side bars.

      Or am I missing something?

      --
      We do not inherit the Earth from our parents. We borrow it from our children.
    100. Re:Not Impressed by mysticgoat · · Score: 1

      Not all pages are designed to scroll

      We are back to the original problem, which is that the underlying technology for web pages is that of a scrolling page. Yes, you can break that, and sometimes for good effect, but do please recognize that when you force a web page to act like a sheet of paper or a tv screen, you are breaking with the protocols on which it is built.

      The remainder of parent post is based on the same premise that the web doesn't work right because it doesn't do what the graphics designer / software architect wants it to do. Well, when you want the saxophones to sound like violins, there are going to be problems orchestrating a solution.

      The web accommodates a lot of abuse. Those who purposefully abuse it should be thankful that they can get away with their sax and violins.

    101. Re:Not Impressed by MightyYar · · Score: 1

      Or am I missing something? In theory, CSS should allow you to separate your site's content from your site's design. If your site is built with tables, then you have to go in and modify every single page on the site in order to change the look. If you use CSS, then in theory you only have to change a single file to change the look of your site.

      So back to my complaint about CSS. Most of the workarounds to get CSS to do something pretty common involve nesting CSS elements... in other words, getting back to the same problem as tables had - where your content and design are co-mingled.

      This is a pain if you have to roll out a mobile version of the site, for instance. Or make one that is pretty, but still make it viewable for people with text readers and the like.
      --
      W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
    102. Re:Not Impressed by AKAImBatman · · Score: 1
      I haven't delved too deeply into your article, but it sounds to me like you're trying to make something work that CSS isn't designed to do. Specifically, getting three column layout with header/footer AND eliminating the source-order. The problem is, the ordering of the information does have some meaning which is why CSS relies on it. The idea being that if the CSS style sheet isn't there, the rendered page still reads in-order.

      If you are willing to accept that the order of the code is important, then the following code should meet your other criteria:

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
      <title>The Holy Grail of Layouts: Example #4: A List Apart</title>
      <style type="text/css">

      /*** The Essential Code ***/

      body {
      margin: 0px;
      }

      #center {
      padding-top: .1em;
      padding-left: 220px;
      padding-right: 170px;
      padding-bottom: 20px;
      }

      #left {
      float: left;
      width: 180px;
      padding-top: 0px;
      padding-left: 10px;
      padding-right: 10px;
      padding-bottom: 10px;
      }

      #right {
      width: 130px;
      float: right;
      padding-top: 0px;
      padding-left: 10px;
      padding-right: 10px;
      padding-bottom: 10px;
      }

      #footer {
      clear: both;
      }

      /*** Just for Looks ***/

      body {
      background: #FFF;
      }

      #header, #footer {
      font-size: large;
      text-align: center;
      padding: 0.3em 0;
      background: #999;
      }

      #left {
      background: #66F;
      }

      #center {
      background: #DDD;
      }

      #right {
      background: #F66;

    103. Re:Not Impressed by MightyYar · · Score: 1
      Ha! That code is actually linked in the article, and is very close to the
      solution that I used! :)

      Zeldman is a God, but a look at his site should show you how non-trivial this solution was to come up with. I don't think I ever would have come up with it myself. There are all sorts of non-intuitive tricks used to reign in the layout. One of the biggest selling points of CSS is the ability to separate content from layout... and you can (mostly) do that, but it isn't very easy or straightforward, even for the above example, which would look like this with tables:

      <table>
        <tr><td>Header stuff</td></tr>
        <tr>
            <td>Left Column</td>
            <td>Middle Column</td>
            <td>Right Column</td>
        </tr>
        <tr><td>Footer Stuff</td></tr>
      </table>
      I mean, that is SOOOOO much simpler, and straightforward to even a novice.
      --
      W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
    104. Re:Not Impressed by Fozzyuw · · Score: 1

      Actually, he presented two compelling reasons, but apparently you weren't reading very closely. First, it allows more flexibility in language implementation, Second, you can't have any concept of a secure language in the browser if any insecure language can be running at the same time.

      No, I re-read it a few times. This part particularly. The first reason is not a "good idea", as I premised it, but I didn't do a good job explaining why. Allowing multiple language support *would* allow flexibility (no argument there) but would be significantly worse for the end-user and developer because of 1) increased browser footprint size. Now browsers will need to implement programming language 'x','y','z'. Or maybe... they'll only implement language 'x' and 'z'.

      Which leads to point 2) browser compatibility. JavaScript has been around 'forever'(in Internet history) and it's still poorly supported across browsers. Frameworks like jQuery or YUI! make things much better, but that doesn't change the fact that browser makers will do what they want. Once we start to allow IE or Netscape or Safari to freely implement whatever client side scripting languages they wants, then we'll soon see web pages that only work in Safari or IE or Netscape. All one has to do is look at ActiveX and the mess that created. Last I checked, it didn't make me or a lot of other people happy when I HAD to use the P.O.S. IE6 to access some website. I don't want that to happen again and I don't want to be a developer that has to also write 2,3,4,5 different programming scripts to make a website work on 2,3,4,5 different web browsers. Having code that says "If NN { Load NetScript } else if IE { Load LiveScript } else if FF { Load FoxScript}"... etc. Let-alone the fact that even if Mozilla implements MicroSoft scripting language, doesn't mean it's going to be 100% compatible, just like JavaScript is today.

      See, that's why I believe the author did not present something that was a "good idea". Such "flexibility" is not a good thing on the web when the web NEEDS standards. It needs a standard scripting language (JavaScript), a standard markup language (SGML: HTML and XML), and a standard style language (CSS). We've already got plug-ins if that's not good enough. Flash, Java, etc. I'm sorry, I'm just not convinced by his arguments that multiple scripting languages (like allowing C++, .Net, etc) is a 'good thing'. Despite the fact that I would love to be able to program in something like C.

      Of course, that doesn't solve the problem that is JavaScript. I don't disagree that it's broken to some extent and there's plenty of improvements that can be made. I just disagree with the idea of allowing browser makers decide what scripting languages they want to support, because they're not going to be able to support 'everything'(tm).

      He never said that he didn't want to support JavaScript.

      This is from the article...

      It also paves the way for replacing JavaScript with a secure programming language.

      I read this as the author not wanting to support JavaScript anymore. Though, securing JavaScript is another topic of discussion. I can fall on both sides of that argument depending on what 'security' someone is talking about because a) you cannot secure against shitty programming b) and any 'client side' languages have an inherit security issue. Namely letting a 3rd party execute code on a remote computer is a security red flag by it's very nature.

      I also agree with him that the default CSS needs to be standardized, or at least some parts of it. I don't care if Apple uses their pretty buttons or not, but at least having list items behave the same from one browser to another would be nice. (And while I'm all for Apple having their pretty buttons by default, I still want a way to override every form element. That goes for you, too, radio butto

      --
      "The past was erased, the erasure was forgotten, the lie became truth." ~1984 George Orwell
    105. Re:Not Impressed by DragonWriter · · Score: 1

      There is one thing that doctypes can't to that my beloved syntactic suger can: Inspire more web developers to code to standards. If someone, while they are learning can just say version=5 rather than having to fetch the DTD and figure out WTF does it do, we might have a more responsible web.


      There is no more requirement to fetch the DTD now than there would be if the declaration were simplified. If there is any problem at all, it would be that introductory tutorial material available implies that such a requirement exists, but even that doesn't seem to be true from any of the introductory HTML, web development, etc., material that I've seen.

      Granted, I don't know how much it would help, but I think making writing to standards easier is never a bad thing.


      What you suggest doesn't make it any easier to write to standards, except perhaps in that it reduces the number of characters that you type in a standards-compliant HTML document by a few.

    106. Re:Not Impressed by Hyperspite · · Score: 1

      Yea, I know it only reduces the number of characters to type, but lowering the bar to write standard code is always good. Why are people so uppity about that?

    107. Re:Not Impressed by DragonWriter · · Score: 1

      Yea, I know it only reduces the number of characters to type, but lowering the bar to write standard code is always good.


      Its not always worse the cost imposed by change, and your version requires user agents that may want to locate the DTD to come with some separate database mapping version identifiers to DTD locations, while the existing standard allows such databases, but also allows using the system identifier as a URL to retrieve the DTD. The proposal adds essentially nothing in terms of ease of writing standard code, and reduces functionality.

    108. Re:Not Impressed by Hyperspite · · Score: 1

      I didn't mean to replace the DTD with version altogether, just make the DTD optional. I think we are just arguing in circles though, and in fact this topic isn't really that important since the DTD is availible in either one. Let's just drop it.

    109. Re:Not Impressed by famebait · · Score: 1

      Css is junk and will remain so. Even when done by hand. It is much too complex and lacks basic and very important features. I'm starting to finally master it pretty well, and it is still junk. Too many people are blinded by their own mastery of various tricks, and mistake it for beauty in the system. A truly beautiful system would not need the tricks.

      --
      sudo ergo sum
    110. Re:Not Impressed by sjames · · Score: 1

      Does it really matter so much if we'll use DOCTYPE or version="5" attribute to specify the document type?

      YES!

      The doctype is just so much syntactic blather that provides no more information than a simple version number would. Having the doctype rather than a version number is like a dialog box that offers "When all things are considered and I ruminate upon it a bit, as a whole I believe it prudent to answer in the affirmative" and "When all things are considered and I ruminate upon it a bit, as a whole I believe it prudent to answer in the negative" rather than "OK and "Cancel".

      There really is more to the article than a bit of syntactic sugar and removing warts, it's just very concise. For instance, the module tag really is interesting. Clearly, it is not intended to be a full specification itself, just to provide a few ideas of what direction such a specification should take.

    111. Re:Not Impressed by sjames · · Score: 1

      Though, I don't see how modules are going to make things better or easier but more complex. A frame was simple. A window in a window. That's simple. If Developers abused them, it's the developers fault, not the language for having it. With "AJAX" and Flash video, I'm game to just remove frames all together.

      Modules provide isolation that frames don't. They choke the communication between the elements down to a single controllable channel. The idea is to prevent badsite.com from importing pages from goodsite.com and inserting extra bits of javascript or changing the action of a form tag (for example) to steal passwords.

      At present, you can not use or abuse frames all you want, but your page could still end up inside someone else's frame of dirty tricks.

  2. Interesting Ideas by phoebusQ · · Score: 1

    I especially like the "module" concept, which could help to standardize, secure, and simplify a lot of AJAX and similar concepts.

    1. Re:Interesting Ideas by AKAImBatman · · Score: 2, Informative

      I especially like the "module" concept

      There is probably some irony in the fact that inter-document communications feature in HTML 5 would allow him to implement his "module" concept in an HTML 5 compliant browser. In fact, the HTML 5 proposal is actually superior to his "module" proposal in the method it uses to receive messages. Rather than polling for a JSON packet (which could be costly in both processor time and responsiveness), the HTML 5 solution adapts the existing DOM 2 event model to make the messaging smooth, seamless, and fast.
    2. Re:Interesting Ideas by phoebusQ · · Score: 1

      That does sound promising.

    3. Re:Interesting Ideas by DougWebb · · Score: 1

      Where did you get polling for a JSON packet? In TFA it sounded like there would be pre-defined hook functions whose default definitions just throw an exception. To enable communication with a module, you provide hook functions. There is no polling; when one side wants to send a message, it calls the library function with the JSON text, and that calls the hook, which either executes your code (if you provided a hook function) or throws the exception (if you left the default hook in place.)

      The immediate problem I see with this is that the module author and page author probably don't know each other and aren't coordinating, so there's no way for the module author to know whether or not it's ok to send a JSON message. If the messages are optional, just catching and ignoring the exception is reasonable only if the page author isn't trying to receive the message and expecting to see error messages if there is a problem. There needs to be a way for the module author to query the outer module and find out which hooks are implemented and which are not, so that the module can make intelligent choices about whether or not to send messages.

    4. Re:Interesting Ideas by AKAImBatman · · Score: 1

      To enable communication with a module, you provide hook functions.

      Rereading it, I can see what you mean. That's almost as bad, though, because now if you need a subscriber system you have to construct it yourself. Basically, he ignored the very problem that DOM 2 Events was created to solve and instead went back to the DOM 0 event system. It's still a very poor design.

      As an example, let's say that someone develops a standard for JSON messages so that individual JS modules can use the functionality without interfering with each other. Now let's say that I use an open source JS script that expects messages of type "foo". I also plug in another JS script that expects messages of type "bar". In theory, "foo" should ignore "bar" messages and "bar" should ignore "foo" messages. So far, so good.

      However, with the "module" spec only one of those two scripts can actually "hear" the messages. When you include "foo" in your module, "foo" will register the document.receive function. But then when you include "bar" in your module, it will override the registration of "foo" in favor of its own "bar" listener. The only solution is to define a new event model and change "foo" and "bar" to meet that model.

      One solution would be to place "addEventListener" and "removeEventListener" functions on "document" to allow scripts to register to "hear" messages being passed to them. Which, interestingly enough, is exactly what HTML 5 does:

      document.addEventListener('message', receiver, false);
      function receiver(e) {
          if (e.domain == 'example.com') {
              if (e.data == 'Hello world') {
                  e.source.postMessage('Hello');
              } else {
                  alert(e.data);
              }
          }
      }
    5. Re:Interesting Ideas by bishiraver · · Score: 1

      Um, I think you're confused, both on what he's talking about and how object-style javascript works.

      With his spec, you override the module's receiver function. That is, the module element has its own receiver function. When you define your module, it will probably have an "onload" function that you override in order to execute your code when you want it, wire up custom events, et cetera.

      so your module would have, say,

      module.onload = function() {
          this.receiver = function(sender, e) { }
      }

      Then, when the consumer wants to send something to it, he/she can call:

      $('foo').send("hello world"); (where the module in question has the 'foo' id)
      and even:
      $('bar').send("hello world!"); (where the module in question has the 'bar' id)

      There is no global receiver function. It is a function, much like element.getElementsByTagName() (which searchs the dom tree below the element for elements with that tag name) - except it is only exposed to the module. The consumer cannot access it, change it, or anything. It is a private function to that module.

      The .send() method is protected - you can call it from outside the module, but you cannot override it.

      It's implementing layered security across embedded elements (and I'm assuming you would be able to src a module from another domain entirely, allowing for some awesome mashups) utilizing a basic, powerful messaging system (JSON) that prevents modules from consuming methods that you might want to keep private from them. For example: what if you send an external module an object with a function attached that you would rather they not have access to? What if, by developer stupidity, you created foo = function() { this.haha = window; }; and then sent foo on over to an external module?

      JSON keeps things simple and secure. Well, more secure than transporting serialized javascript objects, functions and all.

    6. Re:Interesting Ideas by AKAImBatman · · Score: 1

      There is no global receiver function.

      Then why does his spec explicitly say:

      Scripts on one side of the module barrier are unable to call scripts on the other side to to access or modify the other side's data structures or document structures.

      (Emphasis mine.)

      According to his spec, I call module.send() which forwards the message to module.window.document.receive(). Which means that this situation breaks horrendously:

      <html>
      <head><title>Parent</title></head>
      <body><module src="http://mysite.com/mymodule.html"></body>
      </html>

      <html>
      <head>
      <script>document.receive = function(message) { if(message.type == "foo") alert("Foo here!"); }</script>
      <script>document.receive = function(message) { if(message.type == "bar") alert("Bar here!"); }</script>
      </head>
      <body>Ooo, this is gonna break badly.</body>
      </html>
    7. Re:Interesting Ideas by bishiraver · · Score: 1
      Why would you do that instead of

      <script>
      var handler = {
      foo : function(m) { alert('Foo here!'); },
      bar : function(m) { alert('Bar here!'); }
      };
      document.receiver = function(message) {
      try {
      eval("handler."+message.type+"(message)");
      }
      catch(e) {
      return e;
      }
      }
      </script>
      This way it actually works like an RPC.
    8. Re:Interesting Ideas by DougWebb · · Score: 1

      I assumed that each module element has it's own receive hooks (one on each side of the connection) so that if you have multiple modules, they won't interfere with each other. I didn't think there would be a global receive hook, but I didn't read the details of his suggestion; maybe that is what he's proposing. If so, then I agree with you, that's a lousy paradigm.

      In fact, I agree with you anyway. If you're doing a mashup, you might have multiple modules that have been designed to be hooked together, which could lead to a situation where you have two listeners for the same receive hook. You don't want to have to set up a page-level event distribution receive hook to coordinate this; you want to let module A add itself as a listener to module B's receive hook. I haven't looked at HTML5 in detail yet either, but this does sound like a solved problem.

    9. Re:Interesting Ideas by AKAImBatman · · Score: 1

      Because the assumption is that Foo is from a third party and Bar is either internal or also from a third party. I'm discussing the use-case of code sharing and reusability. Crockford's solution fails miserably in that use case. A use case which was important enough for the DOM 2 Events standard to be invented.

      (Don't even get me started on the number of times the singularity of DOM 0 events have bit me in the ass.)

      BTW, what you did is exactly what I said would have to happen. You'd need to create a new event system. That's feasible for reasonably small projects, but gets more complex and painful as projects grow in size. Much better to use the one already specced out by HTML 5 so that everyone uses it up front.

  3. please dont add more features by 192939495969798999 · · Score: 1

    I concur, just make it as simple as possible, as non-error-prone as possible. Any of the stuff that "kinda works" should be in a separate spec, i.e. the HTML-KW (kinda works) specification.

    --
    stuff |
  4. HTML sucks... by Anonymous Coward · · Score: 0, Funny

    It is time for what I call binary pages.

    Binary pages would be similar to Java applications. They would be created in Pagemaker. Dynamic content would be provided via Binary Page Scripting (BPS).

    I think this is a great idea.

    Very kindest regards,
    Joe Lieberman

    1. Re:HTML sucks... by Anonymous Coward · · Score: 0

      LOLZ!! And then hit anybody with DMCA who'd dare to try to reverse engineer them! We could have more DRM and then even web pages could have a Genuine Binary Webpage Advantage user fucking checks...

    2. Re:HTML sucks... by Anonymous Coward · · Score: 0

      Well I think that's a stupid idea. Who do you work for, Adobe?

      I'd love to chat about this in detail, but I have to get to my yoga class.

      Sincerely,
      Adolf Hitler

    3. Re:HTML sucks... by rbanffy · · Score: 1

      +1 funny. Really.

      It's not every moderator that can appreciate the more subtle ones.

      AC even tried to help, putting a reference to Pagemaker... It would be more obvious if he used FrontPage as an example ;-)

      BTW, why not PSML, a markup language based on PostScript?

    4. Re:HTML sucks... by AKAImBatman · · Score: 2, Informative

      BTW, why not PSML, a markup language based on PostScript?

      It's called NeWS, and it's quite old. As you can see, What's Old is NeWS Again. :-P
    5. Re:HTML sucks... by JasterBobaMereel · · Score: 1

      Yes it fixes all the problems

          It's a layout system
          It's also a scripting language
          It's network aware
          It can dynamically change output
          It's a proper application interface

      i.e it does everything HTML/XML/XHTML/DHTML/JavaScript/Ajax etc ..etc ..etc .. does and more and does it properly !

      the only reason it died was it needed to be licensed from Sun whereas HTML and X (windowing) was free ....

      --
      Puteulanus fenestra mortis
    6. Re:HTML sucks... by rbanffy · · Score: 1

      Another good reason why it died is that you had to program it in PostScript.

      Programming in PostScript is as much fun as programming in Brainfuck.

    7. Re:HTML sucks... by Doctor+Faustus · · Score: 1

      I programmed in PostScript maybe 10 hours a week for six years or so, and I miss it. It's like Lisp turned inside out.

    8. Re:HTML sucks... by rbanffy · · Score: 1

      I used to do a lot of Forth, but PostScript makes me turn my stomach inside out. ;-)

      But OK. Out of respect for Forth, I may give it a try.

      BTW, what did you build in PostScript?

    9. Re:HTML sucks... by Doctor+Faustus · · Score: 1

      I always heard PostScript was basically like Forth, but more specialized. Maybe not...

      I worked for a phone company, all of the phone bills were done in PostScript, and I was the main billing programmer from late 1997 (21 years old) onward. There was a hand-coded library, and then the individual bills were very small files that just called the library routines; to print or run through Distiller, they were just concatenated into one file. The small individual files were important because there were probably a few million pages per month going out at the high point.

      I had to convince a series of network administrators that I really did want to connect directly to the printers, and no, I wasn't an idiot for thinking I didn't need a print driver.

  5. A 'Kinder, Gentler HTML'? by katterjohn · · Score: 2, Funny

    Yeah: we should make it more like C++, because HTML is just too hard.

    1. Re:A 'Kinder, Gentler HTML'? by Octopus · · Score: 2, Funny

      I've said it a million times...

      Tables need pointers!

    2. Re:A 'Kinder, Gentler HTML'? by rucs_hack · · Score: 2, Funny

      Nah, what we want to do is enforce the old 'AngelFire' instant web page as a worldwide standard. all backgrounds must be either animated or florescent, Text must be HUGE, all in caps with again, shocking bright colors only (preferably green on a flashing background).

      I'm telling you, enforce this as a standard and the internets will be perfect...

    3. Re:A 'Kinder, Gentler HTML'? by Dragonslicer · · Score: 1

      Nah, what we want to do is enforce the old 'AngelFire' instant web page as a worldwide standard. all backgrounds must be either animated or florescent, Text must be HUGE, all in caps with again, shocking bright colors only (preferably green on a flashing background). You must own stock in MySpace.
    4. Re:A 'Kinder, Gentler HTML'? by maxwell+demon · · Score: 1
      I can already see it.

      <class id="menudiv" base="div">
        <constructor>
          <initialize base="div" arguments="" />
          <script language="C++Script">
            this->style = new css_style("menudiv");
          </script>
        </constructor>
        <destructor>
          <script language="C++Script">
            delete this->style;
          </script>
        </destructor>
      </class>
       
      <part class="menudiv">
      ...
      </part>
      --
      The Tao of math: The numbers you can count are not the real numbers.
  6. "Kinder Gentler," What the Hell Is That? by eldavojohn · · Score: 4, Insightful
    As an engineer, the words "kinder gentler" don't mean much to me. I mean, they do when you're talking about other things like leaders or puppies but what the hell do those attributes have to do with a communication standard like HTML?

    From the part of the proposal entitled "That's It" I learn:

    These changes significantly improve the reliability, security, and performance of HTML applications. The simplification of the language reduces the cost of training of web developers. It incorporates the best practices of Ajax development. It provides extensibility without complexity. The deltas from HTML 4 are generalizations and reductions, which should make browser implementation more straightforward. This is particularly important for mobile devices that cannot tolerate the power demands of complex platforms. The only new feature here is the module, which is critical for security. Modules makes safe mashups possible. So what I'm reading here is you think these changes make it more "straightforward mobile-friendly?"

    I am by no means an expert on this but I do code web applications for a living. I will tell you that these changes do not necessarily "improve reliability, security and performance" of HTML. You are suggesting changes with mobile devices in mind and the developers in mind. Adding another getElementsByTagName method to Javascript will make it easier for developers but over use of that will only make searching the DOM more intensive and lead to worse performance. And remember the original intent of HTML! If you are complaining that mobile devices can't render what a desktop can, perhaps it's time to look at a mobile-HTML standard and either you put a cross translator on the mobile browsers or you entice developers to make two sites. I'm not opposed to these ideas, I just don't see how they're going to really help anything but the specific users this guy has in mind. They certainly wouldn't help me at all or provide a better user experience for my end users.

    This is ridiculous. You are attacking the wrong target here, you should be attacking the browsers that don't behave according to standards like the cowboy Internet Explorer browser that sometimes does whatever it wants. Many nights I have spent hacking code that checks what browser is being run and behaves differently because it's Internet Explorer and not "everybody else."

    Also, a bit offtopic but I Googled "kinder gentler" in an attempt to understand its meaning and for some reason the first result was the White House page for George Herbert Walker Bush. What the hell?
    --
    My work here is dung.
    1. Re:"Kinder Gentler," What the Hell Is That? by Alzheimers · · Score: 2, Insightful
    2. Re:"Kinder Gentler," What the Hell Is That? by Anonymous Coward · · Score: 3, Insightful

      As an engineer, the words "kinder gentler" don't mean much to me. I mean, they do when you're talking about other things like leaders or puppies but what the hell do those attributes have to do with a communication standard like HTML?

      Easy to use. Forgiving.

      Compare YAML (and JSON) to XML, S-Expressions, or (shudder) HTML. YAML's syntax can be stated clearly in about 20 lines of text. JSON's syntax is a subset of that. And yet, YAML is very forgiving. XML requires dozens (or is it hundreds) of pages. HTML requires waaaay more. S-Exps have a nice syntax, but are not forgiving. It uses many parentheses and can grow to become difficult to read. I know which I would rather work with.

    3. Re:"Kinder Gentler," What the Hell Is That? by Red+Flayer · · Score: 3, Interesting

      Also, a bit offtopic but I Googled "kinder gentler" in an attempt to understand its meaning and for some reason the first result was the White House page for George Herbert Walker Bush. What the hell?
      Wow. You must be young, or I must be old.

      GHWB (not to be confused with GHB, which can be metabolized from certain toy paints) was made fun of a lot for one of his campaign mottos, which was "It's time for a kindler, gentler America." Dana Carvey made gravy from spoofing GHWB on SNL, and the "kindler, gentler America" bit was an instant classic.

      And this brings me around to my point.

      This is ridiculous. You are attacking the wrong target here, you should be attacking the browsers that don't behave according to standards like the cowboy Internet Explorer browser that sometimes does whatever it wants.
      That's a separate problem. Admittedly, I'm not a web developer, but it's rather obvious to me that there are very useful changes in HTML5, and ignoring the possibility of improving web standards in favor of attacking non-compliant browsers is not smart. Far better to address both problems -- besides, how constructive is "attacking" non-compliant browsers? In my experience, attacking others is usually not constructive.

      In short, I feel like you're making a big statement about best policy with a limited understanding of what's going on. I know for certain that I don't have full knowledge here -- but I'd never claim I know the answer.

      But, you know, it's always nice to karma-whore by ripping IE. Sure, IE development may make extra work for you -- but then again, you're being paid for that work. Why not be happy that "that cowboy Internet Explorer" helped you find gainful employment?
      --
      "Trolls they were, but filled with the evil will of their master: a fell race..." -- J.R.R. Tolkien on Olog-hai
    4. Re:"Kinder Gentler," What the Hell Is That? by truthsearch · · Score: 1

      One of his suggestions is for browsers to not be forgiving when it comes to bad HTML. I've been saying this for years and it can definitely help with performance. One reason for browser bloat is the extra flexibility to handle bad HTML. If the parser and display elements were simply strict they'd be smaller and faster. I don't believe a browser should make every possible effort to display every page correctly. Either the document is right or it's wrong.

      Of course the specs themselves need to be less open to interpretation, but that's another (yet related) issue.

    5. Re:"Kinder Gentler," What the Hell Is That? by Anonymous Coward · · Score: 3, Insightful

      But, you know, it's always nice to karma-whore by ripping IE. Sure, IE development may make extra work for you -- but then again, you're being paid for that work. Why not be happy that "that cowboy Internet Explorer" helped you find gainful employment? Nobody who's ever suffered through the demon that is IE would say that. You know, there's a reason I (and my coworkers) hate it, apparently you just think we hate it because it's fun.

      You know, it's fun to finish a javascript method in Firefox with Firebug there to help you debug and step through it. You think it's fun to watch IE bitch about only God knows what and not work. Or simply not show anything at all if you're trying to evoke a method on a javascript object that isn't valid. No feedback, just ... nothing.

      Keep your mouth shut about karma whoring unless you have had to suffer through this stuff. I'll post this anonymously to prove I don't give a damn about karma when I know what it's like to have to deal with that shit day after day. I have a job to do, I put in overtime I'm not paid for and a lot of the time it's so I make the schedule work. Almost every single time I have had to devote time specifically for IE and it's bullshit "do whatever we want" mentality. There are standards out there that make sense. Please, for the love of God, use them. I'd rather be using my time doing something productive than thinking about a round about hack to fix a problem--that I already have a solution for--and it often just looks ugly and is barely maintainable.
    6. Re:"Kinder Gentler," What the Hell Is That? by gutter · · Score: 1

      Ripping IE is not "karma whoring", it is a simple statement of fact. It is extremely common to generate a layout in Firefox, have it work perfectly in Safari, and have IE screw it all up. When you examine the reason for the broken layout, it is inevitably because IE 6 either didn't implement a feature or mis-implemented it according to the standard.

      No, I am not happy for the extra work. I don't work on salary, and I do have to explain to my boss why a simple feature that should have taken an hour actually took 3 because I had to do it 3 times - once for standards compliant browsers, a second time trying to make the same code work in both standard-compliant browsers and IE, and then once to go back to the original and hardcode an IE specific workaround.

      --
      Check out DRM-free movies at http://www.bside.com
    7. Re:"Kinder Gentler," What the Hell Is That? by Red+Flayer · · Score: 1

      I have a job to do,
      You have a job because there is work to be done. Less work == fewer jobs available. The markletplace requires unpaid overtime because there are people, such as yourself, willing to supply that labor. I don't undertand what the issue is, we'd all like our jobs to be cookies and roses -- but we all deal with things we'd rather not have to. I'll still maintain that attacking something/someone is less constructive than alternative efforts.

      As for wasting time on IE hacks and rather spending that time doing something more productive -- this is slashdot. If productivity is your concern, there's something obvious there....

      You know, there's a reason I (and my coworkers) hate it, apparently you just think we hate it because it's fun.
      No, I think you hate it for valid reasons. I also think, however, that the entire issue of non-standards compliance is a red herring when discussing HTML5 design, unless the non-compliance is directly related to a specific HTML5 design choice. Which, of course, in this article/discussion, it's not.

      I know how you post. Anonymously when you think you won't be getting alot of upmods (such as further down in a discussion, like this one). That is, if you ever bother to respond to people... you often post malarkey and don't bother responding when people call you out on it.

      Oh, and if I'm mistaken, and you're not eldavojohn, I apologize.
      --
      "Trolls they were, but filled with the evil will of their master: a fell race..." -- J.R.R. Tolkien on Olog-hai
    8. Re:"Kinder Gentler," What the Hell Is That? by E++99 · · Score: 2, Informative

      GHWB (not to be confused with GHB, which can be metabolized from certain toy paints) was made fun of a lot for one of his campaign mottos, which was "It's time for a kindler, gentler America." Dana Carvey made gravy from spoofing GHWB on SNL, and the "kindler, gentler America" bit was an instant classic.


      IIRC, it was from a state-of-the-union address rather than a campaign motto. I remember thinking, "Kinder gentler? I want a more kick-ass America!" Thank God he had a son!
    9. Re:"Kinder Gentler," What the Hell Is That? by AKAImBatman · · Score: 0, Offtopic

      But, you know, it's always nice to karma-whore by ripping IE. Sure, IE development may make extra work for you -- but then again, you're being paid for that work. Why not be happy that "that cowboy Internet Explorer" helped you find gainful employment?

      I don't know about you, but I get paid to deliver technological solutions to my employer. Problems caused by poor implementations like IE cost my project time, can cause it to go overbudget, and reduce the effectiveness of my team and my employer's dollar. In extreme cases it can cause the project to fail, which will reflect badly on myself and my team.

      There are more than enough useful jobs in the world without a monopoly creating jobs by abusing it power.
    10. Re:"Kinder Gentler," What the Hell Is That? by Anonymous Coward · · Score: 0

      There are several ways to debug javascript in IE. Maybe you should learn what you're doing. Did you think the option "Disable Script Debugging (Internet Explorer) under Tools->Internet Options->Advanced was just there for looks? You have such a hard time with Internet Explorer but instead of trying to educate yourself on it, you just plow on stubbornly. I hate it when Firefox fanboys talk of some great thing Firefox can do but IE can't when if they took the time they would find IE does the same things. If you uncheck that option I mentioned earlier, every javascript error will result in a popup asking you if you want to debug.

      If you weren't terrible at your job and blamed everything on somebody else, maybe you wouldn't hate IE so much.

    11. Re:"Kinder Gentler," What the Hell Is That? by Anonymous Coward · · Score: 0

      You are so full of shit.

      Have you tried to use that 'debugging'? It's crippled and can barely do anything. Try stepping through an Ajax response or inspecting the DOM at any point in time. Complete worthless bullshit compared to what Firebug can do.

    12. Re:"Kinder Gentler," What the Hell Is That? by Anonymous Coward · · Score: 0

      Your job is to provide solutions that work with IE. Just because you are incapable of doing it in a timely manner just reflects poorly on you. Now, if everybody has the same issues, then how can the assumed time for development be so much lower? Maybe you are overestimating your ability. That's your fault. Maybe somebody else is overestimating your ability, but a competent project manager would do a quick analysis of how long similar things have taken in the past. If you are lagging behind the work of other people on the project, that is still your fault for not being up to the job at hand.

      "IE threw my project off schedule" is not acceptable when you know you're going to be using IE. It has to be taken in to account. The fault almost certainly doesn't fall on IE for being off schedule. Whoever came up with the project plan is at fault, or you are for not being able to do the work others could do. Now, it is acceptable to say IE makes projects take longer. That would be true. Don't confuse that with poor planning or development skills.

    13. Re:"Kinder Gentler," What the Hell Is That? by Anonymous Coward · · Score: 0

      Visual Studio does a very good job, but I do realize that not everybody wants to shell out that kind of money if they are not already using it. That isn't the point though. Just because Firebug may be better, it is astoundingly ignorant to act as if IE just fails silently all the time when you fuck up your javascript and you can't do anything about it. There are tools out there. Get them and learn to use them. The basic script debugger works well for everything the original post mentioned.

      If you have Office, Microsoft Script Editor (which comes with Office 2000 and up I think) might work a little better, I've never tried it out. Anything that can debug Windows Script Host languages are capable of debugging for IE. Google for some instead of bitching about IE.

    14. Re:"Kinder Gentler," What the Hell Is That? by AKAImBatman · · Score: 1

      If an employer budgets X amount of dollars and resources for a project based on the fact that it's fairly simple work, but I have to send it back with a higher set of estimations due to problems introduced by a poor product in the market (namely, Internet Explorer), that is costing time, money, and credibility even though I've done nothing incorrect.

      Worse yet, it increases project risk due to unexpected issues in IE's scripting engine, renderer, HTTP handler, and other points where its behavior fails to meet specs. We can't even mitigate that risk by looking at IE documentation, because these failures to meet the spec are not documented by Microsoft. At best they have been exposed by my peers across the 'net. So to even attempt mitigation would require that I trawl the Internet to double-check every minor piece of functionality I'm implementing because IE might blow it into a show-stopping bug.

      Think about it.

    15. Re:"Kinder Gentler," What the Hell Is That? by naasking · · Score: 1

      I am by no means an expert on this but I do code web applications for a living. I will tell you that these changes do not necessarily "improve reliability, security and performance" of HTML.

      Of course, Crockford is pretty much an expert on this, so perhaps you should give it a bit more thought before writing it off.

      This is ridiculous. You are attacking the wrong target here, you should be attacking the browsers that don't behave according to standards like the cowboy Internet Explorer browser that sometimes does whatever it wants. Many nights I have spent hacking code that checks what browser is being run and behaves differently because it's Internet Explorer and not "everybody else."

      I'll give you a hint: you cannot add simplicity, you must remove complexity. You cannot add security, you must remove insecurity.

      Simplifying the standard means HTML renderers are more likely to get it right the first time. That does mean fewer late nights ensuring conformance across all browsers, which by your own admission is exactly what you want. It also means fewer vulnerabilities since the attack vectors are much smaller.

    16. Re:"Kinder Gentler," What the Hell Is That? by Anonymous Coward · · Score: 0

      Ok, so you just went from "uncheck a simple box" to "I'm sure there's shit out there, you suck for not finding it." This is exactly the same fucking discussion I have with people about IE. They say there's a free debugger tool out there. It sucks. They say I can spend a ton of $$$$ on visual studio, not going to. They then say they're sure there's a way to do it and I'm just bad at my job.

      Get bent.

    17. Re:"Kinder Gentler," What the Hell Is That? by Anonymous Coward · · Score: 0

      Why do they think the work is simple if everybody has the same IE issues? If working with IE is so hard, then in what way would it be "simple"? Maybe it ought to be simple if IE were a different product that followed the standards, but it isn't. That wouldn't be your fault. How could anybody possible say that it is your fault?

      Are the people in charge of budgeting just looking at things they know nothing about and saying "well this ought to be enough" with no grounding in the technical aspect of actually making the product?

      I really am starting to wonder if I am just missing something. Everybody complains about IE, but I just don't see it other than the fact that it does render some things differently. I have never had a case to do IE specific CSS or HTML. Javacript, yes, but those issues aren't that big of a deal once you figure out where they are different. What have you been doing that has just been such an issue?

    18. Re:"Kinder Gentler," What the Hell Is That? by voOosh · · Score: 1

      Peggy Noonan must now be writing Crockford's PR releases these days.

    19. Re:"Kinder Gentler," What the Hell Is That? by Tony · · Score: 1

      I have never had a case to do IE specific CSS or HTML.

      I have. Just recently.

      Basically, according the CSS2 (maybe even 1, don't know for sure), you should be able to create a selector for an element with multiple classes, like this: .class1.class2 { display: none; }

      However, IE 6 is severely broken in its multi-class handling. Instead of simply adding or removing classes in your javascript and assume it'll render according to your CSS, you have to create a single aggregate class. This increases the size and complexity of both the Javascript and the CSS.

      This has been known since 2005.

      Multiple classes are supposed to work in IE7, thankfully. But we'll still have to code for the broken IE6 for several years to come.

      This isn't just a minor rendering inconvenience. This is a huge gaping problem for any but the simplest DHTML sites.

      --
      Microsoft is to software what Budweiser is to beer.
    20. Re:"Kinder Gentler," What the Hell Is That? by Anonymous Coward · · Score: 0

      The conversation went from "IE doesn't say anything when my javascript fails" to "the debugger won't step through my AJAX calls" to "some of the other tools out there are expensive and I won't look for a free one".

      As an aside, for some reason the category "Freeware and Software Downloads" is blocked at my office. That is... disturbing.

      A google search for the words "Free WSH Debugger" came up with several promising hits though. Why are you complaining about IE but won't go to the trouble of a google search for the tools? Is it because you want to hate IE so bad? I assure you, even with the right tools it is easy.

      I apologize for saying you are bad at your job (if it was you). I am usually not a fuckwad on the internet.

    21. Re:"Kinder Gentler," What the Hell Is That? by hobo+sapiens · · Score: 1

      "Admittedly, I'm not a web developer"

      With all due respect, I think that says it all.

      If you were a web developer you'd hate IE (unless you were one of those crappy intranet developers who hide behind artificial standards, like corporate software standards.)

      Web developers rip IE because IE makes life difficult for web developers. IE inhibits the progress of the web, because it effectively hamstrings standards adoption. Instead of spending time making their browser do things like properly support alpha blended pngs, SVG, and CSS, Microsoft spent five years jacking around with tabs and worthless anti-phishing features that will DO NOTHING to help people avoid being phished. Why? Because it markets well. They care about marketing and do not seem to care about technology or the web. The ONE thing MSFT/IE has contributed to the web (admittedly, that I can think of) in the last ten years has been the XMLHTTPRequest activeX object. That is significant and we should give credit where it's due. Even if it was born as an activeX object *gags*.

      "Sure, IE development may make extra work for you -- but then again, you're being paid for that work."
      IE is hated by web developers for a reason. Not all web developers are anti MSFT raving lunatics. Some of us just hate having to code to standards, and then having to go back and make it work for IE. That's wasted effort. Even if you're getting paid for a job, you should still give your employer the most bang for the buck. But so much time is wasted on IE's brain damage when you could be making a better UI, adding extra features, making AJAX / Javascript degrade gracefully, writing for other platforms (pdas, etc). But then again, as you said, you're not a web developer. That pretty much disables your ability to comment on the subject with any intelligence.

      --
      blah blah blah
    22. Re:"Kinder Gentler," What the Hell Is That? by Anonymous Coward · · Score: 0

      George H.W. Bush, when running for President in 1988, promised a "kinder, gentler" America in comparison to the Reagan years.

    23. Re:"Kinder Gentler," What the Hell Is That? by Arterion · · Score: 1

      I have never had a case to do IE specific CSS or HTML.
      Neither has my grandmother. Then again, she doesn't even own a computer, or use the internet. And she's dead.

      But yeah, she's never has had to, so maybe there's some merit in that statement.
      --
      "That which does not kill us makes us stranger." -Trevor Goodchild
    24. Re:"Kinder Gentler," What the Hell Is That? by TheMCP · · Score: 1

      But, you know, it's always nice to karma-whore by ripping IE. Sure, IE development may make extra work for you -- but then again, you're being paid for that work. Why not be happy that "that cowboy Internet Explorer" helped you find gainful employment?
      Because some of us actually are trying to accomplish stuff, rather than trying to run up our hours to make more money.
    25. Re:"Kinder Gentler," What the Hell Is That? by Red+Flayer · · Score: 1
      And yet it still has nothing to do with why IE is being ripped a new one in a discussion about HTML5 standards. Still a red herring.

      But then again, as you said, you're not a web developer. That pretty much disables your ability to comment on the subject with any intelligence
      You misunderstand. I'm not commenting on whether IE is a pain in the ass or not, I'm commenting on whether it has anything to do with how HTML5 standard development should happen.

      The OP I responded to said that HTML5 development should be dropped in favor of "attacking" IE.

      But, you know, don't let reading the chain of comments get in the way of your misunderstanding the discussion.

      If you don't want to read what I've written, you don't have to. But isn't it a waste of time to get all worked up about my comments when you could be tackling those IE hacks?
      --
      "Trolls they were, but filled with the evil will of their master: a fell race..." -- J.R.R. Tolkien on Olog-hai
    26. Re:"Kinder Gentler," What the Hell Is That? by Red+Flayer · · Score: 1

      Sorry if the tone of my previous response got a little out of hand.

      But I think the issue is that we're talking about two different things -- you're talking about how IE makes your life miserable; I'm talking about relevance of that issue.

      --
      "Trolls they were, but filled with the evil will of their master: a fell race..." -- J.R.R. Tolkien on Olog-hai
    27. Re:"Kinder Gentler," What the Hell Is That? by Red+Flayer · · Score: 1

      Very good point.

      Wish I worked with more people with the same attitude :)

      --
      "Trolls they were, but filled with the evil will of their master: a fell race..." -- J.R.R. Tolkien on Olog-hai
    28. Re:"Kinder Gentler," What the Hell Is That? by NereusRen · · Score: 1

      Sure, IE development may make extra work for you -- but then again, you're being paid for that work. Why not be happy that "that cowboy Internet Explorer" helped you find gainful employment? Ah, the broken window fallacy again? My favorite. I'm aware that this was just a tongue-in-cheek quip at the end of your post, but many people take this type of statement at face value so I feel compelled to respond.

      Without having to code for broken browsers, talented web devs like the GP could spend the same amount of time adding more features, or working on more sites. If there is truly not enough demand for those things, the people who would be less efficient web developers will allocate their talents to a different field in the first place and produce something of value rather than spending more time to achieve the same result in multiple incompatible browsers. In all cases, the total work stays the same but the total output, also known as wealth, increases.

      People get distracted by nominal GDP, which stays about the same in this case because everyone still commands a similar salary for performing basically the same type of work. In the classic "broken window" fallacy, GDP seems to be increased by breaking a window because a new one must be produced to replace it. What people often miss is that a country's currency is worth more when their total wealth production is higher, and nominal GDP is measured in that currency. To quote nominal GDP without also quoting the change in the value of the currency is meaningless at best.
    29. Re:"Kinder Gentler," What the Hell Is That? by Anonymous Coward · · Score: 0

      Wow. You must be young, or I must be old.

      Alternate theory: He's from outside Planet America and is therefore not instantly familiar with and/or interested in every tiny boring detail of the political soap opera on that planet.

      What? It's possible.
    30. Re:"Kinder Gentler," What the Hell Is That? by Anonymous Coward · · Score: 0

      Also, a bit offtopic but I Googled "kinder gentler" in an attempt to understand its meaning and for some reason the first result was the White House page for George Herbert Walker Bush. What the hell?

      OK, NOW I feel old =^/

    31. Re:"Kinder Gentler," What the Hell Is That? by hobo+sapiens · · Score: 1

      No worries, and you make a fair point.

      It is a birthright of web developers to kvetch about IE. IE is horrid. But ultimately, it's a distraction. At some point, you just have to work around it and deal with it like an adult. Complaining about IE doesn't get projects done, and it's best left for when you are having a beer after working on the project.

      Point taken.

      --
      blah blah blah
    32. Re:"Kinder Gentler," What the Hell Is That? by Anonymous Coward · · Score: 0

      'Kinder and Gentler' was parodied by many:

      We got a thousand points of light
      For the homeless man
      We got a kinder, gentler,
      Machine gun hand

      We got department stores
      and toilet paper
      Got styrofoam boxes
      for the ozone layer

      Got a man of the people,
      says keep hope alive
      Got fuel to burn,
      got roads to drive.

      - Neil Young

      http://www.azlyrics.com/lyrics/neilyoung/rockininthefreeworld.html

    33. Re:"Kinder Gentler," What the Hell Is That? by Raenex · · Score: 1

      Google says it was from his acceptance speech at the Republican National Convention.

    34. Re:"Kinder Gentler," What the Hell Is That? by ScrewMaster · · Score: 1

      Wow. A potentially entertaining flamefest headed off by an unusual and near-simultaneous demonstration of maturity on the part of multiple Slashdot posters.

      Now I think I need that beer.

      --
      The higher the technology, the sharper that two-edged sword.
    35. Re:"Kinder Gentler," What the Hell Is That? by hobo+sapiens · · Score: 1

      Hey, maybe Kasparov and Putin will patch things up after all!

      --
      blah blah blah
  7. XML has some benefits. by ThinkingInBinary · · Score: 4, Interesting

    This sounds great, but I feel that by turning HTML into a more well-formed document (i.e., XML instead of SGML), the W3C did browser writers and developers a service. Please, let's not go back to the "guess if there's a closing tag" game. I don't mind the script, frame, module, CSS, encoding, and entity changes, but the custom tags/attributes and looser format limits (quoting, ending tags) seem bad.

    1. Re:XML has some benefits. by PinkyDead · · Score: 1

      Absolutely.

      As he points out in his article HTML 4 comes from 1999 - at which time you were lucky if you had a browser, never mind anything else.

      Now there are lots of different applications for HTML (or it's XHTML equivalent) and the browser while still important is just one of them. This kind of retro-HTML does not make it easier to create a ubiquitous web.

      I think this is targeted at the Web-developer of 1999, as opposed to the application developer of 2007+.

      --
      Genesis 1:32 And God typed :wq!
    2. Re:XML has some benefits. by Anonymous Coward · · Score: 0

      This sounds great, but I feel that by turning HTML into a more well-formed document (i.e., XML instead of SGML)
      What the fuck are you on? SGML is perfectly "well-formed" - it has precise rules as defined in the SGML standard.

      Please, let's not go back to the "guess if there's a closing tag" game.
      There is no "guessing". The rules are perfectly well-defined.
    3. Re:XML has some benefits. by cnoocy · · Score: 1

      I had a similar reaction as soon as I saw "". Would it kill Crockford to quote attribute values?

      --
      This sig is not the Zahir. Lucky for you.
    4. Re:XML has some benefits. by IkeTo · · Score: 1

      > > Please, let's not go back to the "guess if there's a closing tag" game.

      > There is no "guessing". The rules are perfectly well-defined.

      They are well-defined only if you have the DTD to refer to. To ordinary programmers who don't remember the DTD by heart, they are exactly that: guess the place where the closing tag would be put. The most important difference between XML and SGML is that XML does not require a DTD to turn the document into its tree.

  8. Hypertext no more by BadAnalogyGuy · · Score: 1

    The problem is that he wants to build applications on top of the HyperText markup language. This means that all "active" things need to be grafted on through scripting and other non-document presentation related cruft.

    If what he wants is a better application platform, then that's what he should design. Relying on HTML to fulfill this goal is probably a necessary step, but just as we don't use veronica or gopher anymore, at some point we will ditch HTML for APTL (or some other inscrutable TLA).

    The ideas he has are interesting, but his desire to cling to HTML makes him seem more like an old dog trying to learn new tricks rather than a young pup.

    1. Re:Hypertext no more by jo42 · · Score: 1

      People need to realize that HTML is being used for things it was never intended for: client/server interaction. Everything is a hack, kludge and/or bodge. Like using a hammer to drive a screw - sure it will work, the the result is dodgy at best.

      Time to ditch HTTP/HTML and create a proper, open, portable client/server protocol/standard for this. Unfortunately, I doubt this will never happen because people have HTML on the brain.

    2. Re:Hypertext no more by JuanCarlosII · · Score: 1

      Surely APTL is a (X)TLA?

  9. Err, seriously? by beavis88 · · Score: 0, Offtopic

    The tag form is allowed, but not required for
      or


    He had me going until this little gem. Sometimes it takes me a little while to spot a joke, sorry.

    1. Re:Err, seriously? by Anonymous Coward · · Score: 0
      It HAS to be a joke. I mean, how else do you explain this gem?

      The only character encoding permitted in HTML 5 is UTF-8. The allowance of a multitude of encodings with default and discovered encodings exposes users to security exploits and reduces the integrity of documents. It is not unusual for the stated encoding of a document to not match the encoding of its content. A single encoding will make it easier to get it right. The expansion of asian text can be mitigated by gzipping.

      (Crockford is not an idiot) ^ (The above statement is ridiculous) -> (Crockford is joking)
    2. Re:Err, seriously? by Psychor · · Score: 1

      Why is the statement so ridiculous? Asian scripts can be represented in UTF-8 using the basic multilingual plane, however this increases the HTML file size (3 bytes per character for these scripts). What I think he's saying is that using compressed output from a web server can mitigate this increase.

    3. Re:Err, seriously? by Rhapsody+Scarlet · · Score: 1

      Why not have it the other way around? More people speak Chinese than English you know, and everyone keeps talking about the growth of China as a world power. Maybe we should be using UTF-16 as the default instead.

    4. Re:Err, seriously? by SQLGuru · · Score: 1

      Dude.....you totally missed his point. I don't really know if I agree with him, but at least I understand what he means.

      He's referring to the empty tag form.....open tag slash close. Well-formed XML requirements. He says that he thinks HTML does not need to be XML compliant (but should support it and add support for it for the script tag).

      Layne

  10. -1, idiot poster without enough coffee by beavis88 · · Score: 0, Offtopic

    Sigh. Preview. Preview. PREVIEW! Sorry :(

  11. The erosion of society by explosivejared · · Score: 4, Funny

    HTML 5 is strict in the formulation of HTML entities. In the past, some browsers have been too forgiving of malformed entities, exposing users to security exploits. Browsers should not perform heroics to try to make bad content displayable. Such heroics result in security vulnerabilities.

    This will clearly have a negative effect on society. When the script kiddies can't "haxxor" anymore, the only alternative is DRUGS! AND DRUGS ARE EVIL!! CRIME WILL SKYROCKET!

    --
    I got a catholic block.
    1. Re:The erosion of society by Actually,+I+do+RTFA · · Score: 2, Insightful

      HTML 5 is strict in the formulation of HTML entities. In the past, some browsers have been too forgiving of malformed entities, exposing users to security exploits. Browsers should not perform heroics to try to make bad content displayable.

      It's the browser's fault not the HTML standards fault. And it will never go away unless all of them do away with it at once? Why, because then little Johnny, who messes up a website and only tests it in IE (for example) will see that it works for IE, not FF, not understand why, and reintroduce those crappy "looks best in IE" stickers.

      --
      Your ad here. Ask me how!
  12. It will never happen by SlappyBastard · · Score: 0, Redundant

    Too many people have put too much crap into HTML. Too many people have a stake in each useless tag.

    --
    I scream. You scream. I assume that means we're both acquainted with the problem. We proceed.
  13. Hmph by moogied · · Score: 3, Funny
    Crockford.

    *waits for 5: Awesome at putting words in bold*

    --
    So basically, -1 troll/offtopic is really slashdots way of saying "I hate that you thought of something before me."
    1. Re:Hmph by hobo+sapiens · · Score: 1

      I know you were trying to be funny. And you have a point. The guys works for yahoo, after all.

      But! He also invented JSON. JSON is *extremely* useful and is sufficiently brilliant enough to at least merit giving his proposal some thought.

      Many of the things he mentioned are possible, if you're willing to write your own DTD. Since nobody is, and that would defeat the purpose of having a standards anyway, might as well recognize that HTML is being used for real applications and redesign it accordingly? It's a good thought, even if the reality is that it'll NEVER get adopted.

      --
      blah blah blah
    2. Re:Hmph by moogied · · Score: 1

      I completly agree, he is someone actually worth listening. If for no other reason then the fact that he is actually saying this for the sake of HTML and websites. Not because he is selling some ridicilious product.

      --
      So basically, -1 troll/offtopic is really slashdots way of saying "I hate that you thought of something before me."
  14. Hmmm by Bluesman · · Score: 1

    I like the getElementsByCSSSelector() idea. Better yet would be a way to change css styles dynamically and have the browser respond. Say if I wanted to change the default color of all "a" tags on a page -- in other words, I want javascript access to the css parse tree just like with the DOM. Correct me if I'm wrong, but I don't think there's an easy way to implement this currently.

    Elimination of DOCTYPES in favor of a version attribute to the html tag is just semantics, and kind of silly.

    "There is only one scripting language allowed on a page."

    That's just arbitrary and short-sighted. His reasoning that it would make things simpler is correct, in the same way that not being allowed to drive makes planning your commute to work simpler, since you can only walk or bike.

    --
    If moderation could change anything, it would be illegal.
    1. Re:Hmmm by vaderhelmet · · Score: 2, Informative

      This is very possible. Has been for quite a while. http://www.quirksmode.org/dom/classchange.html

    2. Re:Hmmm by vaderhelmet · · Score: 1

      For something concrete, try:

      function changeStyle(tagType, styleName) {
          var items = document.getElementsByTagName(tagType);
          for(var i = 0; i items.length; i++) {
              items[i].className = styleName;
          }
      }

      call the function with
      changeStyle('a', 'someClassName');

    3. Re:Hmmm by AKAImBatman · · Score: 3, Informative

      I like the getElementsByCSSSelector() idea.

      I think it's kind of self-defeating. On one hand he advocates custom-tag creation, then he advocates elements by tag selector. Encouraging one or the other is fine. But offering both will only confuse developers and undermine both options. Going with custom tags is probably the better solution as it encapsulates the semantic information a programmer would be looking for while still being unique enough to style with CSS.

      That being said, if you really want that feature try this script:
      http://simonwillison.net/2003/Mar/25/getElementsBySelector/

      I want javascript access to the css parse tree just like with the DOM.

      I think you want to read the DOM Level 2 Style Specification. The short answer is: Yes, the CSS is accessible through DOM APIs. The long answer involves lots of shouting and complaining about Microsoft and their stranglehold on the market. :-)
    4. Re:Hmmm by nagora · · Score: 1
      Elimination of DOCTYPES in favor of a version attribute to the html tag is just semantics, and kind of silly.

      No, it's a bug-fix.

      Introducting Doctype instead of just adding a version attribute to HTML was more than silly - it was stupid and a sure sign that the W3C committee had been take over by "XML for everything" donkey wabs.

      TWW

      --
      "Encyclopedia" is to "Wikipedia" what "Library" is to "Some people at a bus stop"
    5. Re:Hmmm by Anonymous Coward · · Score: 0

      Introducting Doctype instead of just adding a version attribute to HTML was more than silly - it was stupid and a sure sign that the W3C committee had been take over by "XML for everything" donkey wabs.

      Wrong. DOCTYPE is from SGML, and has been part of HTML since HTML 2.0 IIRC.
    6. Re:Hmmm by Anonymous Coward · · Score: 0

      Uh, XML doesn't use DOCTYPE (though try telling that to Dia's crappy SVG generator). That's a holdover from SGML. Which also predates the W3C.

      So next time you go around ranting about how stupid everyone else is, try to get at least one thing actually right.

    7. Re:Hmmm by Wdomburg · · Score: 2, Informative

      Erm, you do realize DOCTYPE was in original HTML draft published in 1993, before the W3C existed and almost five years before XML existed, right?

    8. Re:Hmmm by darthflo · · Score: 1

      Going semantic with custom tags sans some doctype kind of explanation about what they mean sounds like utter bullshit to me. Slimming the standard down to fewer tags (e.g. "html", "head", "body", "script", "block", "inline", "form", "input", "table", "row", "cell" and a generic "object" for images and flash and whatnot), aided by a descriptive "name" attribute for anything would, in my opinion, be a probably better approach.
      Luckily, though, I'm not in charge of either gundam or HTML and find (especially the XML version of) the latter to be going in a generally good direction. Cheers :)

    9. Re:Hmmm by darthflo · · Score: 1

      Yep, cause it's utterly stupid to even imagine (or plan for) the development of HTML forking at some point (and different dtds existing peacefully amongst each other).

    10. Re:Hmmm by nagora · · Score: 1
      Erm, you do realize DOCTYPE was in original HTML draft published in 1993, before the W3C existed and almost five years before XML existed, right?

      Err... might do.

      Why the hell did it suddenly start appearing everywhere from about the time of HTML v4, then? Strange.

      Either way the combination of mime-type, HTML tag, and http:/// prefix pretty well tells the web browser what sort of content it is, and DOCTYPE is an unwelcome appendage.

      TWW

      --
      "Encyclopedia" is to "Wikipedia" what "Library" is to "Some people at a bus stop"
    11. Re:Hmmm by Wdomburg · · Score: 1

      The http prefix only speaks for transport (not content) and the HTML tag doesn't indicate version, so it does fill an actual need. More importantly though, HTML is an SGML application; the document type declaration is a fundamental requirement. If you don't like DOCTYPE you need to go back in time about twenty years and argue with the ISO committee. :)

    12. Re:Hmmm by nagora · · Score: 1
      The http prefix only speaks for transport (not content)

      And what does the ht in http stand for?

      and the HTML tag doesn't indicate version,

      Which it should. It's the natural place for it.

      More importantly though, HTML is an SGML application; the document type declaration is a fundamental requirement.

      It's not fundimental in any way. HTML is a defined system (in several versions) and the fact that it is declared as HTML at the top specifically for use by programs which understand HTML is enough if the version is added to the tag. Plus, calling it an SGML application is a later rationalisation. It was inspired by SGML but it was later that efforts were made to trim off the edges to make it really SGML compatable - a goal of absolutely no importance to anyone anywhere ever. T.B.L. rarely mentions SGML and I've never seen him cite it as important beyond the idea of using tags to indicate sections of the text.

      If you don't like DOCTYPE you need to go back in time about twenty years and argue with the ISO committee.

      If the ISO committee's opinion mattered we wouldn't have to worry about testing our code on different browsers :(. HTML's practise has always been more important than its theory and will continue to do so as long as the market is dominated by a company that does not care about standards and the committees are staffed with people who have no interest in practical requirements.

      This is not to say that I didn't make a complete tool of myself with the original post, of course.

      TWW

      --
      "Encyclopedia" is to "Wikipedia" what "Library" is to "Some people at a bus stop"
    13. Re:Hmmm by Bluesman · · Score: 1

      That's not what I mean. I mean that this should be possible without the for loop.

      A parsed CSS stylesheet should form some type of tree with attributes for each tag type. It would be great to be able to change the style dynamically for the "a" tag, just as if I had edited the style sheet and reloaded it.

      It's possible to change everything else on the web page dynamically, just not that. To me, that's a glaring limitation, but it also has nothing to do with HTML.

      --
      If moderation could change anything, it would be illegal.
    14. Re:Hmmm by background+image · · Score: 1

      This is theoretically possible too, though there are problems with the spec (i.e. you access the given stylesheet rule by a numerical index) and (especially) the implementation (since it is apparently different for every browser in existence).

  15. I love it by pseudorand · · Score: 2, Insightful

    That sounds like a great idea! I loved everything he said and support it fully. Now all we need to do is formalize it by committee, get Firefox and IE to both support it, get 95% of users to upgrade to the new versions of browsers, and rewrite all of our existing HTML in this new format. Let's get going. :)

    1. Re:I love it by Anonymous Coward · · Score: 0
      + 5 I hate meetings

      Great plan, but yeah might take a while to filter down to the real world.

  16. Yeah something else to intro variations. by haplo21112 · · Score: 1

    Seriously, I'm not sure I even care about HTML 5 in anycase. Currently browser makers still do not fully and equally support what we already have what is the point of adding even more complexity by adding new stuff.

    When I can code once ((x)html/javascript-ecma if you like/CSS2) and get exactly the same result in IE 7, FF 2/3, Opera, and Safari then if might be time to talk about adding and changing things.

    --
    Power Corrupts,Absolute Power Corrupts Absolutely, leaving one person(group)in charge is absolutely corrupt.
    1. Re:Yeah something else to intro variations. by vux984 · · Score: 1

      When I can code once ((x)html/javascript-ecma if you like/CSS2) and get exactly the same result in IE 7, FF 2/3, Opera, and Safari then if might be time to talk about adding and changing things.

      That right there is the problem. The pixel perfect web that most designers want really was never part of the design. HTML was never intended to get exactly the same result in all browsers. Of course, browsers were supposed to comply to the standard too, and they all have bugs and quirks; they aren't perfect either - far from it.

      But when you start out with a complicated spec that was never supposed to be pixel perfect, and implement in 5 different ways at varying levels of quality, its no wonder the web is a mess.

      We need to introduce a completely new standard, dump the design morass that 'AJAX' is entirely, and try to do it right, instead of applying yet more bandages on top of bandages. Of course, don't hold your breath. It will happen around the same time Linux becomes ubiquitous on the desktop and we make the transition to ipv6.

    2. Re:Yeah something else to intro variations. by myz24 · · Score: 1

      You can get pretty damn close. Fully compliant, XHTML Strict + CSS can produce great results. You will need browser specific CSS files but most of the fixes are minor.

    3. Re:Yeah something else to intro variations. by AKAImBatman · · Score: 1

      The pixel perfect web that most designers want really was never part of the design. HTML was never intended to get exactly the same result in all browsers.

      The first sentence does not jive with the second sentence. You are correct in saying that HTML was never intended to be pixel perfect. You are incorrect in stating that pixel-perfect rendering was never part of the design. CSS is very much designed to provide pixel perfect rendering to nearly any markup via a method that can implement backward-compatibility with the original HTML specs. (i.e. The Default Stylesheet for HTML 4)

      While it's true that HTML has become the most popular framework we use for delivering CSS layouts, HTML 4 and 5 are light years away from the HTML 2 and 3 specs we designed for over a decade ago.
    4. Re:Yeah something else to intro variations. by alyawn · · Score: 1

      When I can code once ((x)html/javascript-ecma if you like/CSS2) and get exactly the same result in IE 7, FF 2/3, Opera, and Safari then if might be time to talk about adding and changing things.

      If IE, FF, Opera, and Safari all produced the same exact rendering result, then why would we have more than one browser? To see who can implement the new standards fastest? I'm not sure what will come in the future, but HTML as we know it will always have to be supported by browsers. Maybe all the crazy people moving to flash really know what they are doing?

      Now what?

    5. Re:Yeah something else to intro variations. by haplo21112 · · Score: 1

      My point is that you shouldn't need anything to browser specific. Thats like saying that I need to add code to a .jpeg so that Photoshop, the gimp, and MS Paint can all open it.

      --
      Power Corrupts,Absolute Power Corrupts Absolutely, leaving one person(group)in charge is absolutely corrupt.
    6. Re:Yeah something else to intro variations. by bckrispi · · Score: 1

      If IE, FF, Opera, and Safari all produced the same exact rendering result, then why would we have more than one browser?
      Here's a hint.
      --
      Xenon, where's my money? -Borno
  17. Personally, I'd rather see a meaner, harsher HTML by ByOhTek · · Score: 3, Funny

    One that eats babies for breakfast, at minimum.

    It strikes me that would be the route to go to get rid of all these crappy, poorly done pages.

    --
    Self proclaimed typo king, and inventor of the bear destroying coffee table (patent not pending).
  18. Get Rid of Internet Explorer by segedunum · · Score: 1

    That's the best solution I can come up with. The web right now is stagnating under a ton of HTML and JavaScript that has been around since the web began, with very, very little improvement apart from some patchwork Ajax stuff.

    Everybody wants to go beyond HTML and create something new and flexible that everyone can feasibly implement, like the early days of the web. Naturally, Microsoft doesn't want to go down this route with IE. Also, people will continue to use what they know will work everywhere - sort of. The legacy counts for a lot, and the Internet Explorer versus everyone else stand-off is keeping things the way they are.

    1. Re:Get Rid of Internet Explorer by $RANDOMLUSER · · Score: 1

      That's half of it. Then lets get rid of all the "programmers" who have come to rely on IE's "Yeah, it's malformed, but I know what you mean" behavior. I say if there's even ONE missing (or out of order) then don't render the page, PERIOD.

      --
      No folly is more costly than the folly of intolerant idealism. - Winston Churchill
    2. Re:Get Rid of Internet Explorer by dave420 · · Score: 1

      That's not going to happen, so it would be far more prudent to come up with a workable solution than something that can never, ever happen.

  19. Standards Can Help or Hinder Adoption by vaderhelmet · · Score: 1

    I agree with your point that what matters most to the user community is how major products implement the standards. However, I think that some major problems with the HTML standard involve ambiguities and other such inconsistencies. If there is "room for interpretation" in the standards, and/or they are complex it will have the effect of inconsistent and complex implementations in the major products.

    What needs to happen here is that HTML 5 needs to clarify and simplify the standard to remove those places where we define something in relatives instead of concretes. (This also plagues CSS... for a good example, look at table borders/padding/spacing.) I can't tell for sure since the link is down, but based on the summary I'm inferring that Crockford is interested in stregthening the standards through simplication.

  20. WYSI... by goldaryn · · Score: 4, Funny
    1. Re:WYSI... by 6Yankee · · Score: 1

      WTF indeed! That's my sig! Bastards!

  21. Hell no! by sm62704 · · Score: 4, Funny

    Kinder and gentler? Jesus, you kids today! We need an HTML that stinks like mace, has sharp barbs all over it, smokes, drinks, hires hookers, opens bottle caps with its teeth and beats the hell out of innocent policemen and then fries them with their own tasers.

    -mcgrew

    --
    mcgrew's razor: Never attribute to stupidity that which can be explained by greedy self-interest
    1. Re:Hell no! by The+One+and+Only · · Score: 1

      Innocent policemen? Is there any such thing?

      --
      In Repressive Burma, it's not just your connection that dies. slashdot.org/comments.pl?sid=314547&cid=20819199
    2. Re:Hell no! by sm62704 · · Score: 1

      Out of all the policemen in the Police State I live in (USSA), there MUST be at least ONE. Although I'm reminded of the Sherriff in Unforgiven, whan informed that he had just kicked the shit out of an innocent man, replied "innocent of WHAT?"

      --
      mcgrew's razor: Never attribute to stupidity that which can be explained by greedy self-interest
  22. Captain Hook by Anonymous Coward · · Score: 3, Funny
    HTML is like Captain Hook, He does not understand "Kinder" or "Gentler". This is blasphemy! The Internet needs monsters like this around to fight. What web developer has not shouted "My Kung-Fu is Strong!" when they finally tricked Internet Exploder into properly displaying CSS code after a few days of effort? Only to do it all over again each time Microsoft rolls out a new version of Exploder.

    What would the world be without Captain Hook!

    1. Re:Captain Hook by SQLGuru · · Score: 1

      What would the world be without Captain Hook! Captain Morgan is a much friendlier captain.

      Layne
    2. Re:Captain Hook by Jeremiah+Cornelius · · Score: 1

      Don't believe it! He'll get you blind-drunk, then screw you in the arse.

      --
      "Flyin' in just a sweet place,
      Never been known to fail..."
    3. Re:Captain Hook by Anonymous Coward · · Score: 0

      "Got a little captain in you?"

      ew.

  23. the solution already exists by caffeine_monkey · · Score: 1

    It's called Gopher.

  24. Why not just... by itsdapead · · Score: 4, Interesting

    Without breaking Slashdot tradition and reading TFA, why not:

    1. Freeze HTML at V4 and regard as a can of worms to be used for legacy purposes only;
    2. freeze XHTML as a handy kludge that is parseable by XML tools while still rendering as HTML4 (and learn to love "tag soup" as long as it parses);
    3. For new projects, dump the poorly-implemented legacy crap and use "pure" XML + a suitable stylesheet/formatting system.
    4. Develop a diverse, extensible range of DTD/Schema + stylesheet "templates" tailored for various purposes (eBooks; blogs; news; reports etc..) but ensure that new browsers can work with any valid Schema/Stylesheet.
    --
    In a survey of 100 programmers, 111111 thought that duck-typing was a good idea.
    1. Re:Why not just... by Anonymous Coward · · Score: 0

      That's what I'd really ideally like to see. Problem is IE... (7 as well as 6) -- they are not going to support this, and that is why HTML 5 continues a few quirks and goes the backward compatibility route, even though the standards don't need to be...

    2. Re:Why not just... by itsdapead · · Score: 1

      That's what I'd really ideally like to see. Problem is IE... (7 as well as 6) -- they are not going to support this

      But, on past performance, IE will then implement a broken version of HTML 5 and the problem will just get worse.

      So, instead of producing yet another standard that browser producers will screw up, produce an XML+Stylesheet rendering web app in one or more of AJAX/Java/Flash/ActiveX that runs in the browser and renders pages properly...

      --
      In a survey of 100 programmers, 111111 thought that duck-typing was a good idea.
    3. Re:Why not just... by Frank+T.+Lofaro+Jr. · · Score: 1

      And if people have scripting turned off for security, or not implemented to save space/reduce bugs, or because it is a mobile/embedded device, or it is a search engine, or it is an application that is reading data, not a human, it fails utterly.

      A bad solution.

      XHTML is the right solution. Pages should work even with scripting turned off, style sheets should be used for formatting, things need to not be implementation defined (maybe we can replace the Adobe (*) Proprietary, umm I meant Portable Document Format), browsers should put an icon on the taskbar for quality (gold star for XHTML with no bugs, lesser stars all the way to a pile of dirt/garbage can for badly malformed HTML), text/html should be the MIME type instead of that awful application/xml+xhtml nonsense and people should insist their authoring tools generate proper XHTML. Compatible with HTML browsers, XML parsers, works for humans, search engines and other applications (such as data transfer between apps, databases and web services), simple and clean. The "text" MIME type means it can be read and edited using text tools, as it should be able to be.

      (*) Adobe is a member of the BSA.

      --
      Just because it CAN be done, doesn't mean it should!
    4. Re:Why not just... by Jugalator · · Score: 1

      HTML at V4 and its mess of presentation structure should IMO not even be here in the first place in a perfect world. That's why I like HTML 5, because it makes the distinction of presentation (this is what CSS is for, and why so much of HTML 4 is now deprecated in XHTML and HTML 5) and structure even more clear. And less complex to understand.

      Is this more of a complaint about not being able to keep up with the times than one of added complexity? I can imagine that someone learning HTML 5 or XHTML and knowing nothing of HTML 4 and the mess it introduced could actually have an easier time doing so...

      --
      Beware: In C++, your friends can see your privates!
    5. Re:Why not just... by itsdapead · · Score: 1

      And if people have scripting turned off for security

      ...then they will be quite used to many current sites not working properly! I think we already established that these hypothetical people are using Internet Explorer anyway. If the server detects that the browser supports XML+Stylesheet then it sends XML+Stylesheet.

      Most modern browsers support CSS-styled XML anyway - the problem is that CSS is so tricky to use (properly), relies on lots of work arounds and can't re-order or re-nest elements very well.

      --
      In a survey of 100 programmers, 111111 thought that duck-typing was a good idea.
    6. Re:Why not just... by TheMCP · · Score: 1

      An alternative would be to freeze HTMLv4 now, throw out XHTML, go with browsers that use "pure" XML and a styling/formatting system, and define a style/format for XHTML.

      Personally, I work with a language called Water, and I could build that XML styling/formatting system in Water and let it convert those styles and formats to HTML that would render in today's browsers for me, and have instant compatibility.

      That said, there's significant investment in learning HTML and its variants in the world today, and if we go forward in a manner that enables existing HTML/XHTML programmers to transition their HTML/XHTML skills forward, then we will significantly increase adoption speed of the new standard because people will be able to start using it immediately and then learn the nuances of what else they can do with it later. That's why Water allows you to use XHTML directly in Water: valid XHTML code executes natively in Water, so if you can program in XHTML, you have an instant start with Water. However, it's easy to define (and style/format) your own "tags" in Water (they're actually object classes), so you can extend (or replace) XHTML as desired.

      Ultimately, defining a new standard like HTMLv5 is all well and good, but meaningless until the browsers all implement it... and let's face it, they don't even have completely compatible implementations of any of the old standards yet, and here we are talking about a new one. On the other hand, by using a system like Water which can take a standard format and convert it into the browser-specific nonsense, we could create cross-browser compatibility for a new standard practically as quickly as we could spec it in Water.

    7. Re:Why not just... by drew · · Score: 1

      You know what? I wouldn't even go that far.

      As far as I am concerned, for all of their horrible faults, I'll be content with HTML 4 /XHTML 1, CSS 2.1 (bonus points for CSS 3), and JavaScript 1.5, if Microsoft would ever hurry up and release a browser that supports all of them properly. Anything beyond that would be pure gravy. Honestly, I'd rather see that happen before we start a new push for HTML 5, or anything else.

      Because otherwise Microsoft will just abandon their current half assed standards implementations for new half-assed standards implementations, and then the only improvement we'll have over the current state of things, is two different incompatible standards, neither of which is actually able to be fully used. Whoopty doo...

      --
      If I don't put anything here, will anyone recognize me anymore?
  25. XAML by N8F8 · · Score: 1

    I'd rather have XAML and a good WYSIWYG editor. I so fcking sick of slinging HTML.

    --
    "God fights on the side with the best artillery." - Napoleon, Marshal of France - speaking truth to power
  26. Speed by p0 · · Score: 2, Insightful

    Don't forget, a compact markup could improve transfer rates too.

    --
    This is my sig. There are thousands more, but this one is mine.
    1. Re:Speed by sm62704 · · Score: 1

      Just because you have a box full of tools doesn't mean you have to use each and every one of them. You can use the backhoe or the garden spade, it's up to you. Use the right tool for the right job. Just because I only need a hammer today doesn't mean I should throw the screwdriver away.

      fast and slow; but it's the same article! Yes, the K5 one has comments, but I think the example gets the point across anyway.

      -mcgrew

      PS- yes, I know there's a typo in the "back" link. I'm too lazy to fix it.

      --
      mcgrew's razor: Never attribute to stupidity that which can be explained by greedy self-interest
  27. Automatic link text? by Besna · · Score: 1

    Allow a way automatically print out the href as the link text.

    1. Re:Automatic link text? by N8F8 · · Score: 1

      Uhh, what are you asking? You cant to know how to display the URL as text while printing? Just write a custom print function that loops through the links collection, store the link text in a associative array then append the link.href to the link.text. Print then repalce the text back. I'm sure there are several other obvious solutions too.

      --
      "God fights on the side with the best artillery." - Napoleon, Marshal of France - speaking truth to power
    2. Re:Automatic link text? by Besna · · Score: 1

      Oh, I mean automatically show the actually link in an anchor. So would show up as:

      http://bit.com/

      That is all.

  28. How about writing for standards-conforming browser by r_jensen11 · · Score: 1

    If people would just write for standards-conforming browsers (e.g. Opera) instead of ones who blatantly break conformity with standards (e.g. Internet Explorer, Firefox), then coding would be a hell of a lot easier to read.

  29. I must be new here by sm62704 · · Score: 1, Insightful

    I RTFA. I was not impressed.

    HTML needs fixing.

    At the risk of sounding like the geezer that I actually am, they used to say "if it ain't broke, don't fix it." HTML is simple as dirt! If you can't code HTML you need a job at the McBurger Factory.

    Since then, the web has grown from a document retrieval system into an application delivery system.

    Someone's pants are on too tight. Application delivery, my ass.

    If its value is 5, then the following HTML 5 rules apply. If it is 4 or if the attribute is missing, then the HTML 4 rules apply.

    I use 1.1. Damned kids, make the <html> tag mandatory. If there's no tag, then everything is rendered as plain text.

    There is only one scripting language allowed on a page

    Yeah, dumb it down and take away my choices. Just because I don't see any reason for more than one scripting language per page doesn't mean nobody else has a valid reason.

    No more framesets, frames, or iframes. The security properties of these were problematic. Instead we'll call them "modules". That will fix the security problems!

    The default CSS content needs to be standardized

    Yeah, good luck convincing Microsoft to follow standards. In case you haven't heard, there's this organization called the W3C that spells out CSS standards.

    The only character encoding permitted in HTML 5 is UTF-8.

    See "only one scripting language allowed".

    Browsers should not perform heroics to try to make bad content displayable.

    That has nothing to do with the server side, but the client side. You're not only going to have to convince Microsoft but everyone else making a browser. Good luck with that, kid.

    <empty>? I'm gonna have to look that one up. Sounds like a joke!

    Custom HTML tags have always been allowed in HTML. In HTML 5 they become first class.

    This has to be the absolutely most retarded slashdot article I've read all month. Now I remember why we're not supposed to RTFA!

    -mcgrew

    --
    mcgrew's razor: Never attribute to stupidity that which can be explained by greedy self-interest
    1. Re:I must be new here by Turn-X+Alphonse · · Score: 0, Offtopic

      Arrogant aren't we?

      I can't use HTML beyond linking images and text, because I really don't enjoy coding of any sort, it just doesn't work for how I process the world, I can't see all this text and picture how it works no matter how hard I try to do so, my brain just doesn't function that way.

      Does it mean I'm some stupid subhuman or does it just mean you're being the stereo typical geek who thinks he's the greatest person on Earth because he knows the latest coding language? I've read a little of your journal here at Slashdot and some of your site, and honestly I think you need to try growing up a little more and being more careful with your view of other people. Just because I can't do HTML doesn't mean I'm some unpalatable idiot.

      --
      I like muppets.
    2. Re:I must be new here by vtcodger · · Score: 1
      ***At the risk of sounding like the geezer that I actually am, they used to say "if it ain't broke, don't fix it." HTML is simple as dirt! If you can't code HTML you need a job at the McBurger Factory.***

      I'm half with you. Simple HTML is fine and works pretty well for presenting information and some simple user interface stuff. I'm perfectly willing to live with that myself. It's all I need. And I can live with (or code around) the browsers that think that three 33% images require two lines of picture boxes. After all, they didn't promise me anything other than that they would use my markup as a guide to presentation.

      The problem is that lots of folks really want or actually need an Internet Presentation Language, not a markup language -- something where they can tell the "browser" to put this here paragraph there, in a non-serif font with a fourteen point capital letter for the first (indented) paragraph. I don't have anything against that. But I won't ever do that, and neither will a lot of other folks.

      So how about we define an HTML for simpletons like myself. Call it anything you want HTML6, HTML2007, HTML-mini ... whatever. Take all the dubious "features" like SCRIPT (how can that possibly ever work 'right' or even well except in a controlled environment with a captive browser?) out. Define a language that even Microsoft can't screw up very badly. OK, then take everything else and put it into another language that includes every conceivable feature that anyone could want. Call that HTML 5.0 or HTML 7.0. Or IAPL 1.0 and spend the next decade or three trying to get it to work well? Is there some reason that won't/can't work?

      --
      You can't see ANYTHING from a car, You've got to get out of the goddamned contraption and walk...Edward Abbey
    3. Re:I must be new here by Aedrin · · Score: 1

      Someone's toes got stepped on.

    4. Re:I must be new here by jpkunst · · Score: 1

      I believe an HTML like that already exists: HTML 2.0 (1995).

      JP

    5. Re:I must be new here by sm62704 · · Score: 1

      Arrogant aren't we?

      No, HTML is dirt simple. Playing the piano is hard (I can't play a piano).

      I really don't enjoy coding of any sort

      I really don't enjoy working on my car (and I'm not realy that good at it) so I hire someone. Not a lot different than coding. No reason to feel stupid because you suck at something somebody else is good at, everybody sucks at something.

      Does it mean I'm some stupid subhuman

      Jesus, some people are offended by ANYTHING.

      Just because I can't do HTML doesn't mean I'm some unpalatable idiot.

      I don't disagree with that. I'm incredibly stupid when it comes to a lot of things. I don't mind being stupid a bit, and don't understand why anybody else should mind either.

      Oh, and don't take anything I write TOO seriously, young fellow. Unless I'm talking about how incredibly stupid I am.

      -mcgrew

      --
      mcgrew's razor: Never attribute to stupidity that which can be explained by greedy self-interest
    6. Re:I must be new here by sm62704 · · Score: 1

      The problem is that lots of folks really want or actually need an Internet Presentation Language, not a markup language

      In that case they need paper. Monitors are all different sizes and resolutions and have different color temperatures, which is why so much stuff is in Acrobat format.

      Perhaps there's someone who really needs to have a page look exectly like he wants it, but I have yet to see such an animal.

      --
      mcgrew's razor: Never attribute to stupidity that which can be explained by greedy self-interest
    7. Re:I must be new here by Iron+Condor · · Score: 0, Troll

      [...]Does it mean I'm some stupid subhuman [...].

      Yes.

      You're welcome.

      Wait - was that intended to be some kind of rhetorical question? I can't always tell on the intarwebs. Clearly HTML needs a "rhetorical"-tag...

      --
      We're all born with nothing.
      If you die in debt, you're ahead.
  30. Yes, make things easier! by tietokone-olmi · · Score: 1

    More blithering idiots is just what we need. After all, why should you study basics, then move on to intermediate topics a few years later and finally learn to do things properly from experience? Reading To the Moon in 21 hours is so much simpler!

  31. Market forces screwed up HTML by athloi · · Score: 3, Insightful

    HTML was never perfect. Then the standards people took too long to update it.

    Netscape and then Microsoft added custom HTML.

    At this point, the browser became written to execute bad code well...

    Now we've got cross-browser headaches and standards confusion.

    I say bring on HTML 5, and bring on the strict. Make it look good in both browsers. End the sheer boredom of trying to make code display well on FireFox and IE, both of which are bloated pieces of crap, when it works just fine in Opera.

    Simplify, and abstract, but don't expect HTML coders to be coders... it's a language for layout for the rest of us, and its genius has always been its simplicity and adaptability.

    1. Re:Market forces screwed up HTML by Anonymous Coward · · Score: 0

      1. HTML5 is HTML + standard handling of broken HTML. Actually, it just describes the way mozilla handles broken HTML and proposes this as a standard. (for example, what should happen if you write some text between BLAH? It should be moved before the table because this is what mozilla does, by accident)

      2. No you can't. There are pages out there that use HTML 1.0. Most p0rn sites use horribly malstructured HTML. You cannot force everybody to fix their pages. That will never happen. The only thing you can do to stop this madness, is to FREEZE this madness. Stop adding stuff. Move on the an open-flash standard for vector graphics, etc that doesn't try to be backwards compatible with HTML.

    2. Re:Market forces screwed up HTML by Foolicious · · Score: 1

      Spot on. I can't believe you're the first post (I did scan quickly) to bring up the role the browser plays. All these people and their standards don't mean a thing. It's an academic, if you will, exercise void of many of the realities of the real world. Necessary? Sure. But unless the primary means for displaying/parsing/etc actually follows the standards that they're taking so long to develop, who cares?

      --
      Please don't use "umm" or "err" or "erm".
    3. Re:Market forces screwed up HTML by AstronomicUID · · Score: 1

      Most p0rn sites use horribly malstructured HTML.

      I just got curious. May I ask what kind of perversion made you look at the source code of such pr0n sites?

      "Oh... yes baby! don't close those <TD>'s" ;)

      I was going to post the standard thing about "subscribing to your newsletter" but... I'm really intrigued.
      --
      You must write The Book, and then tear away belief. Only you can save the light of man --Gary Numan
    4. Re:Market forces screwed up HTML by TheMCP · · Score: 1

      I say bring on HTML 5, and bring on the strict. Make it look good in both browsers.
      What makes you think Microsoft is interested in supporting a strict new standard that would make IE work like every other browser? I'd bet they want IE to be marginally incompatible with standards, and permissive about what it will render.

      Developing any new standard is a big waste of time unless you can either get Microsoft to commit (in some way they can't get out of) to supporting it in IE, or you can come up with a way to make IE (as is) support it through translation or a plugin.
    5. Re:Market forces screwed up HTML by grcumb · · Score: 1

      HTML was never perfect. Then the standards people took too long to update it.

      Netscape and then Microsoft added custom HTML.

      At this point, the browser became written to execute bad code well...

      That is factually incorrect.

      The fact is, Netscape (MS wasn't really in the game at this point) decided to implement a bunch of new random taggy goodness (e.g. FRAME and BLINK), and when the W3C declined to include them in the latest standard proposal for solid technical reasons like 'frames break the browser history feature', Netscape flipped the W3C the bird and went ahead in spite of it.

      The W3C is a standards body, but it's not one that was imposed on the field. It's an industry consortium, which means that companies join it voluntarily. Netscape joined, and the moment the other kids disagreed with it, they decided to take their ball and go home. That's their prerogative, of course, but it doesn't give them - or you - the right to rewrite history.

      --
      Crumb's Corollary: Never bring a knife to a bun fight.
  32. Amazon 'Kinder' by Muad'Dave · · Score: 1


    With all the Amazon 'Kindle' hype, did anyone else read this as a 'Kin-der', Gentler HTML?

    --
    Tiller's Rule: Never use a word in written form that you've only heard and never read. You will end up looking foolish.
  33. I'm a big fan of HTML, but by Boomer_Zz · · Score: 0, Offtopic

    it started going downhill when they added POST and GET (yes, that long ago).

    "Something else" should have been done for dynamic content.

    Now we have all these huge workarounds to make a website like an application.

    1. Re:I'm a big fan of HTML, but by Anonymous Coward · · Score: 0

      it started going downhill when they added POST and GET (yes, that long ago).


      POST and GET are part of HTTP, not HTML.

    2. Re:I'm a big fan of HTML, but by Anonymous Coward · · Score: 0

      it started going downhill when they added POST and GET (yes, that long ago).

      "Everyone thinks I'm stupid, but it was all just a fuhcade."
    3. Re:I'm a big fan of HTML, but by Boomer_Zz · · Score: 1

      Of course they are, and HTML supports them. Downhill.

      This is right on topic.

    4. Re:I'm a big fan of HTML, but by Anonymous Coward · · Score: 0

      Do you have any idea what you're talking about? Seriously? Because POST and GET have zip to do with HTML and everything to do with the transport protocol. I can tell the browser to download and upload an HTML page over FTP and it will do it just fine.

      HTTP != HTML

      I suppose next you're going to tell me that PUT was a part of the HTML spec too.

  34. Ain't broken by jalefkowit · · Score: 2, Insightful

    I love how the first sentence is:

    HTML needs fixing.

    O RLY? HTML is probably the most widely deployed document format in the entire history of computing (after ASCII plaintext, which I'm not sure counts as a "format"). An unknowably huge number of documents are authored in it every day. All but a tiny fraction are successfully retrieved and rendered by millions of clients ranging from dual-core desktop PCs to mobile phones.

    It's one thing to say "HTML is ugly" (to which I'd agree) or "HTML needs extending" (I'd agree with that too) but "HTML needs fixing"? Really? Is there anybody in the planet who wants to publish something online today but can't because of problems with HTML?

    1. Re:Ain't broken by Anonymous Coward · · Score: 0

      An unknowably huge number of documents are authored in it every day. All but a tiny fraction are successfully retrieved and rendered by millions of clients ranging from dual-core desktop PCs to mobile phones.

      The vast majority of these are not actually real HTML. They're just close enough that the duct-tape-and-chewing-gum makes it to the user's face legibly. Or sometimes not. When's the last time you saw a webpage that didn't happen to render 100% correctly for your browser, because it's not real HTML? Every goddamn day, for me!

      It's one thing to say "HTML is ugly" (to which I'd agree) or "HTML needs extending" (I'd agree with that too) but "HTML needs fixing"? Really? Is there anybody in the planet who wants to publish something online today but can't because of problems with HTML?

      And that's cool, but it's also the source of the problem. Because it's so easy to publish, there's so much not-quite-HTML out there. If you want to make a new viewer for PNG images or Python source code, it's not hard. If you want to make a new browser -- or even just an HTML parser -- it'll either be useless for the vast majority of web pages, or it'll need to grow huge and complex like Gecko. Why is that acceptable?

      The web is made for transferring information. Human eyes are one destination for that data. The other is programs we write. HTML's tag soup makes it really hard for programs to parse data. I see sci-fi movies where people extract a table or list from a webpage and it's easily dumped straight into some other document, so people think that should be easy. And it could be easy, if we decided we wanted to design for both kinds of usability, and not just "ooh sweet marquee!".

      If you extended your question to "Is there anybody in the planet who wants to DO something online today but can't because of problems with HTML?", the answer is "YES!".

  35. Do not want + missing? by John+Guilt · · Score: 1

    I agree that the list reads more like an idiosyncratic gripes list than anything else; I expect more of someone more financially secure than I, and probably a better coder/architect as well. I think the differences between it and HTML4 are so great that a lot of older code will stay out there, mooting his security improvements---more honestly, I'm irritated by the disingenuousness of his 'well, HTML5 is very different from HTML4 ['so far', I'd add] and HTML very different from XHTML"---he's talking about dropping a few tags that have been all over the place for a century in web-years.

    As a JavaScript user and (more frequently than I'd wish) developer, I'd intensely miss "javascript:" URIs---I have a bunch of them on my personal toolbar, and find them very useful for simple debugging. Similarly, I'd miss "document.write()", which can be very good for debugging and which never forced anyone to use it...

    I don't like the "run all script tags when done with the <head> or <body/> tag enclosing" idea. I like finer control.

    Missing?: A decent, simple, "<include/>" mechanism. Sure, the "<module/>" tag would do this, but it does so much more and will probably be shot down...I also don't like the way "<module/>" privileges JSON.

    Mobile? The problem is mostly browser incompatability...I _wish_ I could run into trouble running normal desktop browser JS under pIE.

  36. Why do Yahoo developers think they know it all? by QuietLagoon · · Score: 3, Interesting
    The Yahoo sites are some of the most unreliable, slowest and plain old poorly designed sites of any of the major portals.

    Yet the Yahoo developers keep on trying to tell the rest of the world how to create web sites, or how HTML should look, etc.

    The Yahoo developers should first build credibility by getting their own house in order before they try to instruct others how to do their job.

    1. Re:Why do Yahoo developers think they know it all? by Quixote · · Score: 1
      1 bad day, and you're ready to write off the entire company of 15,000+ people.

      I applaud you, sir. Please stop wasting your time on this planet of sinners, and just ascend to heaven directly. You, my friend, are a flawless gem who has never made a single mistake in his life. You don't belong here amidst us mere mortals! When Jesus proclaimed "let who is without sin cast the first stone" (paraphrasing, since I wasn't there), no-one threw a pebble; because you weren't there!. Where were you??? History (and religion) would have turned out so different just with your mere presence at that historical moment....

      PS: The Yahoo problem? It was a backend issue, idiot. Nothing to do with HTML, CSS, JSON, etc.
      And whoever modded this troll "interesting" or "insightful" should just take a rusty nail and pound it into his own head.

    2. Re:Why do Yahoo developers think they know it all? by QuietLagoon · · Score: 1
      1 bad day, and you're ready to write off the entire company of 15,000+ people.

      I cited only the Yahoo cyber Monday problem. That does not mean that it was Yahoo's only problem.

      Yahoo's finance portal servers are slow, slow, slow. The redesigned message boards have got the worst user interface of any of the message board on the 'net, where else does a right-pointing arrow mean "go forward in time" or "go back in time" depending upon the placement on the page? It is so confusing that the ALT text for the arrow has to explain what it really means. That need alone should have triggered someone's light bulb that the UI design has issues.

      The My Yahoo beta is a big step backwards for the Yahoo members. It is slower, more difficult to configure and has more obnoxious ad placements. This seems to echo Yahoo new "look" as it redesigns the various pieces of the portal.

      Yahoo is on the way downward. I can only think that the Yahoo developers who write all these "do it our way" articles must be trying to make a name for themselves so they can find their next job more easily when Yahoo eventually crashes.

    3. Re:Why do Yahoo developers think they know it all? by msimm · · Score: 1

      I was kind of thinking that too. CNET on the other hand gets some props.

      --
      Quack, quack.
    4. Re:Why do Yahoo developers think they know it all? by Anonymous Coward · · Score: 0

      For what it's worth...Every Yahoo! site that uses their YUI JavaScript library tends to run incredibly slowly on every Mac I've used and have weird behavioral issues to boot. Contrast that with Google's AJAX applications which are all clearly thoroughly tested on the Mac platform and have very few issues.

      I agree with the sentiment that Yahoo! needs to show that they understand the current standards before proposing changes of their own.

    5. Re:Why do Yahoo developers think they know it all? by Raenex · · Score: 1

      I routinely browse the web with Javascript turned off and use my own fonts and colors. I give Yahoo credit for consistently supporting this mode of browsing.

    6. Re:Why do Yahoo developers think they know it all? by WebmasterNeal · · Score: 1

      What are you talking about, how about listing your personal alternatives to yahoo and why those sites are designed better. While yahoo may not be perfect, I feel that have a great team when it comes to design.

      --
      "During My Service In The United States Congress, I Took The Initiative In Creating The Internet." -Al Gore
  37. By the time 5 comes out by rjschwarz · · Score: 1

    Very, very few people will code by hand. It'll all be done by Blogger and similar stuff with templates. So making it as complicated as possible will create job security for a few and be invisible to others. Just make sure it works. Why can't someone sneak in a tag or javascript that causes IE to dump, thus generating migration away from the standard non-compliance beast?

    1. Re:By the time 5 comes out by 2short · · Score: 1

      "Why can't someone sneak in a tag or javascript that causes IE to dump..."

      Um, they can. You can write javascript that crashes IE right now.

      "thus generating migration away from the standard non-compliance beast?"

      YMMV, but somehow I think it's more likely to generate migration away from your website.

    2. Re:By the time 5 comes out by rjschwarz · · Score: 1

      If everyone who uses standards did such a thing the result might be a bit different. Putting best viewed using Netscape or whatever is a joke.

  38. Yuk! What pile of **** is this!?!? by Spy+der+Mann · · Score: 0, Flamebait

    The <empty/> tag form is allowed, but not required for <br> or <hr>


    Precisely the point of XHTML was to SEPARATE SYNTAX FROM MARKUP, so that you don't need to know in advance which tags are closed and which ones aren't.

    Someone mod the article lame, please.

    1. Re:Yuk! What pile of **** is this!?!? by alan_dershowitz · · Score: 1

      I was actually wondering the same thing. His suggestion makes the syntax of HTML more ambiguous, and correspondingly harder to parse. there are plenty of whiners about closed and empty tags in XML and html, but it was never supposed to be a human-readable format, it should be as easy to machine-parse as possible.

  39. Make it dumb. by Anonymous Coward · · Score: 0

    I'm not a programmer, and I don't have all day to debug the HTML that I write. I DO have valuable information I'd like to share with you. Keeping HTML error-tolerant and non-programmatic is a benefit to the majority of people, but not to the majority of programmers.

    Honestly, HTML is already too fiddly- many people I know who would benefit from putting up their own websites feel too intimidated to learn it. It's unavoidable, I guess, although I wish there was a better free WISIWIG editor out there than the usual choices.

    Ideally, it should be all things to all people, of course, but most things generally aren't. XHTML and similar are nightmares for the amateur, and defeat the big-tent notion of the web- a printing press crossed with an encyclopedia crossed with a zine that anyone can edit. An HTML thaThe notion of the web as an application platform is nice, but not nearly as useful or revolutionary.

  40. Unworkable by Anonymous Coward · · Score: 1, Informative

    So I went to read this "proposal", but basically stopped after the first point:

    No more doctypes.

    Everyone would love to do this. Unfortunately, not including a doctype throws current day browsers into quirks mode. That is not a workable solution. No one is going to ignore current day browsers, and current day browsers are likely to linger with a significant market share for at least a decade. This is why the WHATWG found the shortest doctype which still triggers standards mode - <!DOCTYPE HTML> (incidentally the only doctype I've ever been able to remember). All of this has been explained endlessly, so why does Crockford blithely ignore it? The people in the WHATWG and W3C know what they're doing - but they have to deal with the real web; no matter how much easier their task would be if they could ignore it like all their criticasters do.

  41. One Man's Response by _bug_ · · Score: 1

    No more doctypes.

    Doctypes are there to provide extensibility. You can develop a parser that has no understanding of what markup language you're using by as long as it can interpret the doctype it will at least understand what bits of your markup are "code" and which bits are "content". This means a parser built today would work 20 years from now assuming you don't muck things up by doing stupid things like, say, removing the doctype. Now that 20 year old parser won't work because it has no clue what "version X" is because it was built with version 1.

    tags do not specify a type or language.

    This man needs to read up on his HTML spec. The type attribute exists specifically for this purpose.

    Furthermore, limiting web pages to a single scripting language won't actually work. You'll, at the very least, have different versions of ECMAScript. What happens when an old function is discovered to be insecure and removed from a future version? What about backwards compatibility. You don't solve the problem, you're just change the look of the problem.

    Also this completely ignores things like Flash, JAVA, and whatever other, future embedded objects people put into their web pages that will also be capable of executing scripts.

    No more framesets, frames, or iframes.

    Absolutely correct. Good luck pushing the idea. The web is awash in high-profile sites making heavy (ab)use of frames.

    Modules

    I will hold off on this for now. But the short of it is it may be a bit better than frames, but you're not solving all the security issues frames present. Especially if you want things like current AJAX applications to keep working.

    The default CSS content needs to be standardized.

    Dead. Fucking. Wrong. The browser should not be driving style. Style is subjective. Everyone has their own opinion. Let everyone make their own opinion a reality rather than forcing yours on everyone else.

    Instead the current approach should remain. This is where web developers create their own baseline stylesheet that sets padding and margins and such on block elements and leading/kerning/etc on text elements. The real fix here is to add a pseudoselector to CSS that lets you address all block elements. Something like *:block { margin: 1em 0; } would be perfect. It'd cut down on the size of these "baseline" stylesheets from dozens of lines to only a few. It would also allow stylesheets to grow with HTML as new elements are introduced into the markup. Then a 10 year old stylesheet will still apply those margins to block elements even if the original author had no knowledge that we'd someday have a element.

    The only character encoding permitted in HTML 5 is UTF-8.

    Nice idea. Problematic with backwards compatibility. But if you do this CSS and any other external text files (Javascript) also has to have UTF-8 encoding. Mixing encoding types will actually break some browsers. The impact this decision would have on other technologies probably hasn't been thought through all the way.

    Browsers should not perform heroics to try to make bad content displayable

    This is less an issue with HTML and more an issue of browser implementation. Talk to Microsoft, Oracle, Firefox, Apple, etc. about this. Again, this is a backwards compatibility.

    The tag form is allowed, but not required for
    or .


    This is not entirely true. First, the empty tag form we know now is a result of the move to XHTML and the need to conform to XML specs. The XHTML 1.0 Transitional doctype allows non-closed tags like and
    , but 1.0 Strict and 1.1 do require it, making those unclosed tags invalid.

    Custom HTML tags have always been allowed in HTML.

    Dead. Fucking. Wrong.

    Because when the clever web developer uses to wrap and style data derived from a chart in his webpage he's not thinking 10 years down the road when we do get a real tag, at

  42. Own page doesn't validate by Anonymous Coward · · Score: 0
  43. HTML, AJAX & Browsers are Archaic Technology by itsybitsy · · Score: 1

    While a simple HTML version 5 might seem like a good idea, HTML and AJAX (JavaScript, etc...) are what is wrong with the Internet. Document formats do not make a programming language. They are just a continuation of mainframe (server) control over applications. Even web enabled desktop applications like Google Earth which break out of the stale browsers metaphor tie the end user with a ball and chain to the Internet as they require always on connections to work.

    How about fully downloadable and distributed application environment that enables concurrent and collaborative document and information sharing as defined by the web site AND as defined by it's users. Sure many site will want to still be basically documents but many want to break out from the ball and chains of, ick, web browsers.

    And don't think that the pathetic Java language is an answer for it isn't for many reasons that are apparent to anyone doing distributed information systems work.

    The Web Technologies deployed and in the pipe are Archaic Technologies belonging to an extinction primed era.

    What's next? Power to the user. That's what the "Personal Computer" revolution was supposed to be about. Not more power to the mainframe under central control of corporations or others. Personal Computing in an internet age means ditching the notion of servers and moving to a mesh network independent of the control imposed by servers. Sure there will be people wanting to deploy with the current control matrix that web servers give them, if that's what they want to do, but they are missing the revolution - Meshed Personal Computers - that's coming.

    Power to the People.

    For example. I'd like to visit a site like WikiPedia and download the whole darn site to my Personal Computer and keep it updated (on a schedule that is acceptable to me). That allows me to have a "disconnected internet" experience. Sure I can download it now if I'm a tech guru but it's not really designed for wide spread distributed usage from millions of independent nodes. WikiPedia is designed for control by a few so that they can line their pockets with a nice cash flow and control of ideas. (WikiPedia is notorious for deleting valid content). In any event, distributed technologies are way too democratic for the power hungry since without control you don't have power (unless you enter the world of using weapons where you have power as long as you have ammo and the will or the threat to use it).

    HTML sucks big time. All versions of it. Past. Present. Future.

    AJAX. ditto.

    Web Browsers: FireFox, Explorer, etc.... Take them out back and shoot them please. Send them to bit heaven.

  44. Agreed...HTML5 is a step backwards in many ways by WebCowboy · · Score: 3, Interesting

    Honestly are HTML authors really that damn stupid and lazy that they can't manage to write compliant XHTML 1.0? Really, people, it ISN'T THAT BAD. Yes, there is a lot of complex stuff and does namespaces and its all modular and things, but you don't need to use all of that! Putting a forward slash in an empty tag and quotes on your attributes and case sensitivity really aren't HUGE burdens on developers. Perhaps we've all gotten too used to IDEs that auto-complete and auto-adjust case and everything else that we've all turned off our brains. It doesn't help that Microsoft (and even Netscape played along in the bad old days) have encouraged the development of crock-o-crap HTML by adding their own bling to standards and resorting to loosey-goosey tag-soup parsing fro so many years.

    HTML5 seems to be doing a lot to make sure mediocre developers can stay in their comfort zone and to perpetuate many of the more serious problems we still face today. The HTML5 FAQ makes me cringe in many places!

    * "no DOCTYPE. You may include one if you wish, though this is not recommended as they are only relevant when using a validating parser which web browsers do not have." - This is the wrong recommendation and a really stupid rationale. One cannot assume that web browsers will be the only clients to read your document, nor that all clients will lack validating parsers. This saves a small bit of work for lazy HTML authors at the expense of making

    * "HTML 5 is being developed with IE compatibility in mind." - This is a backwards way to move forward with proper standards. You design applications towards standards, not standards towards applications. IE is already mostly compatible with existing standards--the solution is to make sure IE8 tows the line, not to bend over for IE developers. In the automation industry, there is a massive, complicated 8-headed beast of a standard called IEC 61158 that is a good example of what happens when applications drive standards. The IEC was somewhat stuck here however because they got into the game late, when all these battling vendor-developed systems were already established. With the Internet, though the situation is not perfect, existing standards hold a fair and increasing amount of influence. I believe the philosophies behind HTML5 don't do enough to prevent the perpetuation of tag soup and loose vendor-driven application of standards.

    * "The details are still being worked out, but the plan is to indicate the maturity level on a per-section basis." - This puzzles me: They seem to be abandoning the "modules" approach being sought by XHTML in the interests of simplicity, however it is intended that user-agent developers will be implementing the standard "on a per-section basis" as they figure everything out along the way? And they expect this process to take TWICE AS LONG as XHTML did to establish itself as a ratified standard? I sense a lack of vision here--something along the lines of "lets look at what we've got, put Bondo on the dents and holes then spray it with Tremclad to make it look pretty". Not only that, they've decided that they'll work on the right fender and the left door this year, then the rear bumper next year and so on. There's nothing wrong with incrementally ratifying standards, but how about some VISION and PLANNING? Define some modules and their scopes then set teams upon them to tackle them individually and have them ratified as they reach maturity, and do so in a logical fashion (some sort of "core", then forms, then scripting, etc)

    * "Void elements in HTML (the new name for empty elements) do not require a trailing slash...However, due to the widespread attempts to use XHTML 1.0, there are a significant number of pages using the trailing slash"--yet ANOTHER wrong recommendation and faulty reasoning. Lazy HTML authors are annoyed by the slash, but it's been part of XHTML for years so there are a lot of web documents that use it, so HTML5 parsers will have to continue to parse tag soup and do the "guess if there's a closing t

    1. Re:Agreed...HTML5 is a step backwards in many ways by moderatorrater · · Score: 0, Redundant

      On the one hand, people tout the web as a great platform for communicating ideas, from anyone to anyone. On the other hand, people keep saying that html needs to be standards compliant, the browsers need to fit the standard and that it should be exact and break catastrophically at a mistake. Sorry, but you can only have one of those things. If a page has a major breakdown because a closing tag is missing, then someone like my mother would just give up trying. Internet Explorer, for all its problems, was very good at error forgiveness, and it opened up the platform for a lot of people. If you want the internet to be an open place where anyone can put information, then it needs to be forgiving of people who aren't web developers and programmers. Otherwise, it's only a medium for programmers to communicate, and it loses a lot of its value.

    2. Re:Agreed...HTML5 is a step backwards in many ways by jilles · · Score: 1

      You're wrong. The basic problem of browser developers vs. armchair standardization experts is that unless browsers render most pages as intended, users will use something else. That is kind of a hard reality that you can't ignore if you are serving up Firefox, Safari or Opera to millions of users. If they'd get strict about the current standards, the web would break down in their browsers. One of the HTML 5 guys (Ian Hixie) at Google has analyzed millions of pages and his conclusions are: 95%+ of the web is broken in some way; mime-types are an unreliable way to detect content-type and most document DTD headers are in fact incorrect or misleading in most cases and redundant at best (because version is also specified in html tag in correct documents). Browsers have to deal with this reality. Besides, DTDs are an obsolete mechanism that has long been replaced by more powerful schema languages.

      The HTML 5 spec is being written and pushed by browser vendors. Html 5 is being supported as it is being written. It's being designed with sound engineering principles in mind: don't needlessly break existing content; provide forward and backward compatible ways to add new meaningful features (which after a decade of complete stagnation is very welcome) and precisely define semantics of the language as well as its processing and handling of incorrect html (in a way that consolidates browser behavior). This is a very pragmatic approach to improving the web and the effects are visible today in that an increasingly wider set of features works across latest versions of all major browsers. A sound principle of any kind of data processing application is to be strict about you send and very flexible about what you receive.

      Most of the proposed changes in HTML 5 are very pragmatic and easy to support by browser vendors. They drop DTD support because it has proven to be completely useless and unreliable in the current web. Namespaces require something that no browser implements in the HTML rendering pipeline (full XML support). Compound documents are possible without them. Besides, HTML has links for a reason. Why embed stuff if you can link it? Html 5 is designed such that HTML 4 users can migrate to it easily rather than having to completely start from scratch. In other words it doesn't break any of the thousands of tools and content management systems out there and instead works with them. HTML 5 is also designed to degrade gracefully in browsers that don't support it so that HTML 5 content providers don't have to worry about supporting old browsers.

      XHTML is not a successor but a competitor to HTML. It requires a completely different browser architecture to handle properly. Most browsers that currently handle XHTML at all have to fall back to slower rendering engines with features like incremental rendering not implemented. Basically serving up XHTML as application/xml mime type is a bad idea for this reason alone. HTML 5 is not about every browser vendor starting from scratch but about them adding useful features to a 10 year old architecture. To the armchair XHTML evangelists this might seem to be a non argument. But then armchair XHTML evangelists can't be bothered to write a proper XHTML browser that everybody wants to use either.

      --

      Jilles
    3. Re:Agreed...HTML5 is a step backwards in many ways by WebCowboy · · Score: 1

      On the one hand, people tout the web as a great platform for communicating ideas, from anyone to anyone. On the other hand, people keep saying that html needs to be standards compliant, the browsers need to fit the standard and that it should be exact and break catastrophically at a mistake.

      Software development made great strides when standards for C programming language became established. Java stepped that up even more. Programming languages "break catastrophically at a mistake" you know. Miss a semicolon or closing bracket and it won't compile. The WWW is not just a big distributed repository of documents anymore; we now have this "Web 2.0" with online applications being built. HTML is no longer just markup--it denotes meaningful structure that scripting and stylesheets depend upon to function properly. It isn't simply markup anymore--it is a declarative language used to specify the "V" part of an online application implemented with an MVC-architecture.

      As HTML evolved to take on the role of programming language, it ABSOLUTELY MUST be treated with the same discipline, or web applications will always suffer from poor performance and poor quality.

      Furthermore, confirming to standards does NOT impede "communicating ideas from anyone to anyone". It ENHANCES it. In modern society there are a lot of dead languages no loner spoken or written, especially small "tribal" dialects. Furthermore, as time passes the surviving languages become more standard. In English we have dictionaries that tell us how we are supposed to spell and rules about grammar, even if they aren't perfect they are a common ground. If we just let everyone decide for themselves how to spell for example we might all spell phonetically and use our own rules--instead of "laugh" we'd write "laf" or "laff" or "lahf" or "lahff" or "lauff"...get the picture? Add liberties taken with grammar and we'd devolve into tribal dialects of english so different that someone from London wouldn't even be able to read what someone from Atlanta wrote, much less get past the different accent.

      With technology it is even MORE vital to have precise standards for communication--it's bad enough to deal with "big endian vs. little endian" of different architectures. Imagine if everyone encoded character sets differently for the same language (ie. ASCII did not exist ore wasn't followed strictly)? THAT would sure break down communications! As we become more sophisticated in exchanging information the standards have to become more sophisticated and more disciplined too.

      If a page has a major breakdown because a closing tag is missing, then someone like my mother would just give up trying.

      I presume you use your mother as an example of a casual web browser user and she is not a developer of websites. In that case, what would it matter? When was the last time she examined the source HTML? Does she actually save it and correct it to view the page? NO! If a closing tag is missing it IS NOT HER PROBLEM! Web application developers have gotten lazy and spoiled and expect a VERY forgiving environment--more so tha ANY OTHER kind of developer (C, Java or even VB). If you forget a closing bracket in C or Perl there is a MAJOR BREAKDOWN--it won't even run or it'll do REALLY funky things. It's a pain in the butt but you know what? Millions of REAL programmers have learned to deal with it, and web veleopers can learn to deal with it too. If you've tasked "designers" to author web page CODE you've done the wrong thing--you get CODERS to code. Designers are good at DESIGNING and coders should do their job and give them tools to generate PROPER CODE from the DESIGN the designers made with the WYSIWYG tools.

      Internet Explorer, for all its problems, was very good at error forgiveness, and it opened up the platform for a lot of people.

      This forgiveness and looseness with standards is EXACTLY WHAT MAKES IE ENEMY NUMBER ONE! Microsoft, almost single-handedly, made the WWW into GARBAGE. IT didn't have to

    4. Re:Agreed...HTML5 is a step backwards in many ways by BlueStraggler · · Score: 1

      Honestly are HTML authors really that damn stupid and lazy that they can't manage to write compliant XHTML 1.0? Really, people, it ISN'T THAT BAD. It's far worse than you know. In my own experience as a web developer, 99% of HTML comes from the following sources:
      • artists whip up templates using design applications that compose their own HTML
      • site builders integrate the templates with web apps that compose their own HTML, and cut-and-paste HTML snippets to link into various 3rd-party web services
      • site owners insert content through CMS systems that accept a pastiche of uploads, pastes from Word, raw HTML, rich-text updates, and plain-text form data, and use these to compose their own HTML
      • web developers write applications that compose their own HTML, often using HTML generation libraries written by other developers.
      With that many sources for the HTML on a single page (many of which are outside my control), I'm blown away if the mashup that results is compliant with anything. I'm usually pretty happy if it's 98% HTML 4.01/Transitional, and raise a toast to quirks mode for the other 2%.
    5. Re:Agreed...HTML5 is a step backwards in many ways by Anonymous Coward · · Score: 0

      Some of the crap that the web application people where I work spew out, I'm content to settle for "isn't actually so convoluted as to spontaneously turn out be a digital summoning circle that will raise the outer gods from their slumber in the nether deeps to rule the cosmos".

    6. Re:Agreed...HTML5 is a step backwards in many ways by WebCowboy · · Score: 1

      You're wrong. The basic problem of browser developers vs. armchair standardization experts is that unless browsers render most pages as intended, users will use something else.

      No, the problem is that we've let browsers slide for so long that the standards are meaningless. I'm not advocating that we simply dump old standards and make everything break all at once. The old standards are still in place and can still be followed. New standards should be more aggressive in deprecating old crufty stuff--HTML5 allows for far too much old crufty stuff than it should. That is what is good about the W3C standards vs the philosophy of the HTML5 guys--you have a DTD that days exactly what format AND what version AND what compatibility level (ie. strict). If you don't include that, it is tag soup. If you do, you'd better be valid markup or it'll break. There should really be some pressure on browser makers to optimise for "strict" behaviour and consider "tag soup" to be deprecated "legacy" behavior. It is much easier to make "strict" code render consistently between browsers, and parsing code under strict conditions should also be much more efficient and faster because you don't have to deal with countless possible inconsistencies.

      The HTML 5 spec is being written and pushed by browser vendors. Html 5 is being supported as it is being written. It's being designed with sound engineering principles in mind

      That it is a product of browser vendors is probably some of the problem--they've invested in all this browser code and want a much more incremental approach. A proper standard must involve not only the develpers of user agents, but also content providers and end users. We let the user-agent developer lunatics run the asylum for too long in the early days of the WWW and we now have a very sick web, with 95% of pages having markup flaws, really bad security issues and so on.

      And as I am an engineer, I can tell you that much of what the HTML5 folks have talked about don't follow any particular engineering principle. In our products we provide means of interoperability with each new platform, however at some point we assess user's requirements and the state of technology and start clean. Even the PC platform has done a reset like that from time to time: If the HTML5 approach was applied to the PC platform we wouldn't have had ATX motherborads--we'd just add kludges to the AT standard and we'd still have ISA slots, but now with 3 or 4 rows of connector pins and extra notches and sections added on, just in case someone wanted to plug that old classic Soundblaster into their Core Duo screamin' desktop in the same slot that modern PCIE cards would use. The hardware engineers weren't that foolish; they introduced completely new, incompatible bus standards to take advantage of new technology and address new needs. In the process, they accommodated legacy hardware by including both types of slots, with the new slots having compelling new capabilities.

      Browser makers should take the same approach: From now on, new markup tags and features should be IGNORED if there isn't a proper DTD or the code doesn't validate. Tag soup, and documents with older DTDs could still be rendered just fine (even broken documents should be rendered as much as possible, however there should be a very noticeable error message when broken code is encountered). If the MSIE and Mozilla teams had started doing this way back when introducing HTML4 the web would've been a much better place. However, encouraging poor web programmers to use new bells and whistles as much as possilbe with as little hassle as possible is what gets browser market share, not responsible "engineering principles".

      Most of the proposed changes in HTML 5 are very pragmatic and easy to support by browser vendors. They drop DTD support because it has proven to be completely useless and unreliable in the current web.

      That is a problem--it is the browser makers being self serving. Much of what makes things easy for t

    7. Re:Agreed...HTML5 is a step backwards in many ways by game+kid · · Score: 1

      I'll incorporate your entire comment by reference--mainly because I absolutely agree with every single sentence, word, and letter of it, to the extent that I've become an instant fan of yours--and further add that ever since I heard of and realized what both Canvas and HTML5 were, I thought one thing in each case: STOP REINVENTING THE FUCKING WHEEL.

      We already have a canvas.

      We already have XHTML 1.0. The rules there respect XML--which is at least a partial subset of SGML--and force people to actually write something that fits into a grammar, unlike whatever the browsers allow. No need to switch to something that has no consistent foundations in (SG|X)ML. When I read the WHATTF spec (or lack thereof) I almost cried; it's like Kristi Yamaguchi found the perfect plan for landing 4 triple axels* while keeping the rest of the routine in beat with whatever music was in the BG, and then said "You know, that might've been a bad idea, let me do a forward flip slamming my head into the ice instead, those judges will love it!".

      The W3C (or what's left of it that's not churning out redundant language after redundant language) needs to grow a pair and revert to XHTML 1.0 and SVG, and HTML5, "Canvas", and WHATWG (I think I might have spelled it wrong above after a fit of trauma-inspired imaginary nausea, sorry) need to be removed from this universe (and any others) by guillotine or Cutey Honey. Hell, forget the guillotine...and the removal...

      *No, not a car analogy. It's bad enough that it's a figure-skating one.

      --
      You can hold down the "B" button for continuous firing.
  45. Not just HTML; HTTP too by GodfatherofSoul · · Score: 1

    The web has desperately needed a foundation asynchronous protocol to build on; I'm thinking of something like BXXP. Request/Response is so archaic and it's forced developers to find all sorts of hacks to get around that problem.

    --
    I swear to God...I swear to God! That is NOT how you treat your human!
  46. Kinder? Gentler? by Jeremiah+Cornelius · · Score: 3, Funny

    Get rid of all those sharp, pointy brackets around tags! Ouch!

    --
    "Flyin' in just a sweet place,
    Never been known to fail..."
    1. Re:Kinder? Gentler? by davester666 · · Score: 2, Insightful

      How does any of this matter in the least? The browser that is most widely used, namely Internet Explorer, intentionally doesn't follow the standard now because they intentionally didn't follow the standard earlier to put a competitor out of business. This is unlikely to change anytime in the foreseeable future [that IE will not be the dominant browser or that IE will follow the published HTML standard].

      Sure, more people are aware of other browsers like FireFox and OS's like Ubuntu that have it installed by default, but until it stops being an MS/IE world, all the standards documents in the world won't make a difference. Unless of course, Microsoft tries to get it's "html standard" defined as a standard. Which I'm surprised they haven't done this already.

      --
      Sleep your way to a whiter smile...date a dentist!
    2. Re:Kinder? Gentler? by F1re · · Score: 5, Funny

      No way! Those are aerodynamic and make the html travel faster through the pipes!!

      --
      ...there is no sig...
    3. Re:Kinder? Gentler? by frank_adrian314159 · · Score: 1
      Get rid of all those sharp, pointy brackets around tags!

      Definitely! Replace them with the parentheses that God intended.

      --
      That is all.
    4. Re:Kinder? Gentler? by Anonymous Coward · · Score: 0

      Through the TUBES!

    5. Re:Kinder? Gentler? by man_of_mr_e · · Score: 2, Informative

      I think you need to brush up on your web history a bit.

      The problem with IE is not that it "intentionally" doesn't follow standards, it's that it "intentionally" was left to rot for 5 years after the only other competition whithered and died.

      When IE6 was released, it had the best standards compliance, best CSS implementaiton, best HTML and XHTML implementations of any major browser. That's not to say it didn't have lots of bugs (it did) but at the time, there simply wasn't anything else even close. Then, nothing happened, and products like Mozilla and Opera really walked all over IE in terms of conformance (but they took many years to get there, years that Microsoft spent ignoring browsers).

      IE7 came a long way in a short time in improving things. It still needs lots of work to be sure, but this BS that Microsoft is "intentionally" not following web standards is just poppycock.

    6. Re:Kinder? Gentler? by davester666 · · Score: 1

      I got that viewpoint from articles like this one [the link just below]. And from what I recall of using Microsoft's earlier browser attempts.

      http://www.windowsitpro.com/Articles/ArticleID/47208/47208.html?Ad=1

      You might have to click a link to actually view the article.

      --
      Sleep your way to a whiter smile...date a dentist!
    7. Re:Kinder? Gentler? by man_of_mr_e · · Score: 1

      You're misinterpreting that article.

      First, the article is about the beta 1 release of IE7 that didn't have many of the fixes that were in Beta 2.

      Second, I assume you're referring to the "doesn't plan to fully support CSS" comment. Chris Wilson is on record that they fully intend to support CSS, there was only so much they could do in IE7, though, and concentrated on fixing the biggest problems developers were having with the CSS support that was in IE6. Despite that, they did add a number of new CSS features to IE7. This isn't "We are deliberately not supporting standards" it's "We want to fully support the standards, but we don't have the time or resources to do it in this first release".

      Also, Please spare me the "This is microsoft, they have virtually limitless resources and could have done it if it was important enough to them". The fact is, even Microsoft has to schedule its resources and has deadlines. IE as a whole is not as important to them as, say Vista or Office as a whole is. That much is true, but the IE team is very serious about standards support in my opinion. They just need time. After all, it took Mozilla about 5 years to finally release a version of Mozilla that didn't flat out suck.

      I fully expect IE8 to make significant improvements in standards conformance.

    8. Re:Kinder? Gentler? by bearinboots · · Score: 1

      The fact that IE7 still inexplicably does not support the DOM Level 2 Event Model makes it difficult to believe that there are no bad intentions on Microsoft's part.

    9. Re:Kinder? Gentler? by man_of_mr_e · · Score: 1

      "inexplicably"? Considering that Mozilla doesn't even fully support DOM Level 2 (Particularly in regards to large parts of CSS and Events), that's kind of funny.

      The fact of the matter is, writing standards compliant code is hard. So hard that even Mozilla, who claim to have nothing but standards as their goal can't even do the job. I think you're claim that this is somehow malevolent is wishful thinking on your part.

    10. Re:Kinder? Gentler? by bearinboots · · Score: 1

      How long has DOM Level 2 been out? They already have their proprietary event handling model that maps fairly well onto DOM 2 with the exception of capture support. In the years that they squandered between IE6 and IE7 they could have at least tried to create a facade that was standards-compliant. Doing nothing is a passive form of malevolence.

    11. Re:Kinder? Gentler? by NotZed · · Score: 1


      You're joking right?

      IE6 was nothing special and IE7 took forever and just fucked up the menu's.

      --
      _ // `Thinking is an exercise to which all too few brains
      \\/ are accustomed' - First Lensman
  47. Sometimes I wonder... by Anonymous Coward · · Score: 0

    if we should have stuck with image maps :P

  48. Some good ideas really by MobyDisk · · Score: 1

    The <html> tag gets an optional version attribute. If its value is 5, then the following HTML 5 rules apply. If it is 4 or if the attribute is missing, then the HTML 4 rules apply. Ex: <html version=5> Doctypes are a pain, many tools still don't deal with them, and there are too many of them. A version number is straightforward and sufficient.

    When the </head> is reached, all of the scripts that were included in the head are then executed in order. When the </body> is reached, all of the scripts that were included in the body are then executed in order. Much of the problem with HTML and script is the lack of a precise definition for how and when events and scripts are executed.

    Frames: No more framesets, frames, or iframes.
    Modules: <module> creates a sub-tree which can contain a document with a communication channel These tags are deprecated anyway right? But I think we need to just plain throw them out. A single concept should be able to replace them all.

    Custom Tags: Custom HTML tags have always been allowed in HTML... They have? What's the point? Somebody help me out here. Is something wrong with <div> and <span> for this purpose?
    1. Re:Some good ideas really by logixoul · · Score: 1
      Remember what the X in XML stands for.

      Is something wrong with <div> and <span> for this purpose? Yeah, it's inconvenient. <sidebar> looks better and is easier to write than <div class="sidebar">. But you are right, this is disallowed.
  49. XHTML 2 by booch · · Score: 2, Informative

    In some ways, his proposal sounds a bit like XHTML 2. Not so much the details, but the idea of breaking from the existing spec, and trying to simplify things. And to put it bluntly, XHMTL 2 has not exactly been taking the world by storm. It seems that nobody really likes it, so it has not gotten much support. It's unlikely that it will ever make it out of draft status.

    --
    Software sucks. Open Source sucks less.
    1. Re:XHTML 2 by nullchar · · Score: 1

      From a quick glance, XHTML 2 sounds pretty awesome, namely due to XForms and its proposed implementation of the Model-View-Controller pattern. Also, the form data can be shipped to the server in XML and validated against an XSD which could totally simplify input validation.

      The new navigation list tag <nl ...> seems pretty useful too. But the non-backwards-compatibility is probably the number one reason for holding this standard back.

      HTML 5 seems to address the richness of the GUI a bit more with the audio, video, progress, and nav tags. XHTML 2 sounds great for "enterprise" apps, but doesn't go far enough to provide the multimedia experience some users are demanding.

  50. AHAHAHA (This guy is a joke) by protomala · · Score: 1

    >The only character encoding permitted in HTML 5 is UTF-8.

    This one made me Laught Out Loud! C'mon! UTF-8 isn't even near of holding all necessary characters most languages needs! Even for a latin one like Brazilian Portuguese it have some issues, I can't even imagine Chinese :)

    I like the idea of modules being something like PHP's include on client side. But all the rest really is very poor ideas with exception of making html simpler that only seems to happen in his version attribute for html tag.
    He seems to forget that html 5 is meatn to be retro-compatible with html 4.
    If newer and better tags arise, the old ones (someone still uses blink?) will vanish with the time, thinking into changing html all of a sudden and break compatibility is just a drem, even if a good one.

    1. Re:AHAHAHA (This guy is a joke) by jabelli · · Score: 2, Insightful

      You, and the AC below, don't appear to know what UTF-8 means. UTF-8 != 255 codepoints. Please read this page and this page.

  51. Ain't plausible by pb · · Score: 1
    I love how the first sentence is:

    Windows needs fixing.
    O RLY? Windows is probably the most widely deployed operating system in the entire history of computing (after DOS, which I'm not sure counts as an "operating system"). An unknowably huge amount of content is authored on it every day. All but a tiny fraction are successfully saved and distributed to millions of clients ranging from dual-core desktop PCs to mobile phones.

    It's one thing to say "Windows is ugly" (to which I'd agree) or "Windows needs extending" (I'd agree with that too) but "Windows needs fixing"? Really? Is there anybody in the planet who wants to do something online today but can't because of problems with Windows?
    --
    pb Reply or e-mail; don't vaguely moderate.
    1. Re:Ain't plausible by Tatsh · · Score: 1
      Is there anybody in the planet who wants to do something online today but can't because of problems with Windows?

      Considering many Windows users end up with a trashed machine so often, that often kills the internet connection (by way of editing the UNPROTECTED hosts file, replacing UNPROTECTED dlls (using backdoors to avoid WFC), etc), yes. Windows sucks.

      My set up of Windows is clean as a whistle and fast as hell (XP) but that's thanks to a lot of knowledge that most users do not have.

      I use Linux (Gentoo) 90% of the time, however.

    2. Re:Ain't plausible by pb · · Score: 1

      My point was, of course, to expose the flaws in the reasoning of the original post. Yes, people have problems with Windows (and with HTML).

      Also, same here, re: the clean Windows setup and use of Gentoo. :)

      Cheers!

      --
      pb Reply or e-mail; don't vaguely moderate.
  52. security; xml by bcrowell · · Score: 2, Insightful

    I'm baffled by the concept of advocating a new version of html to get rid of security problems. Web browsers aren't going to break compatibility with old versions of html. What good does it do you if your browser supports secure html, but also supports insecure html? The vast majority of the security problems on the web are problems that are specific to IE+Win, because Windows's security model has problems, and security has never been a priority for the IE maintainers. None of that is going to change if you just invent a new version of html. Also, many of the security problems in IE+Win have historically been because of proprietary extensions that MS introduced. If MS shoots itself in the foot by not following standards, then I don't see how a new standard is going to help.

    Another problem with the proposal is that it's a dead end when it comes to new functionality like SVG and MathML. These are xml-based standards, and there is no standards-based way to implement them in html; they have to be implemented in xhtml, or else they have to be implemented in a nonstandard way. Today, if you want to write a web page with mathml in it, and you want it to degrade in a sensible way in versions of IE that don't have the relevant plugin (i.e., 85% of all browsers out there), the choices aren't pretty; basically you either have to serve up multiple versions of your page, or you have to do incredibly kludgy tricks with xslt, or you have to do incredibly complicated stuff with javascript. The fundamental problem is that html has forked into html and xhtml, IE doesn't support application/xhtml+xml and probably never will, and xhtml is the only sensible way to incorporate new technology like SVG and MathML.

    1. Re:security; xml by m50d · · Score: 1

      The correct way to do SVG/MathML/etc. is with embed or object tags, as has been possible from HTML 3. Trying to put everything inline, while at the same time insisting that more fundamental things should be separated (CSS), can only lead to pain.

      --
      I am trolling
    2. Re:security; xml by bcrowell · · Score: 1

      The correct way to do SVG/MathML/etc. is with embed or object tags, as has been possible from HTML 3.
      This may work for svg, but it won't work for mathml. If you serve it as application/xhtml+xml, then the page won't be rendered at all in a default install of IE; the user will get a dialog box offering to download the file. If you use some type other than application/xhtml+xml, then mathml won't be rendered in Firefox.

    3. Re:security; xml by m50d · · Score: 1

      Then I submit that firefox and/or mathml are broken; it should have its own mimetype, and browsers should interpret it correctly.

      --
      I am trolling
    4. Re:security; xml by bcrowell · · Score: 1

      It's IE that's broken. It doesn't support xhtml. BTW, I think I may have been wrong in my response to the gggparent post -- you can, for example, embed an external html file in an xhtml file via the tag, so it's quite possible that you could embed an external xhtml file in html. I'll have to fiddle with that and see if I can get it to work.

    5. Re:security; xml by m50d · · Score: 1

      IE's non-support of xhtml is utterly irrelevant to what we're talking about. There is no need for xhtml in this case - the svg/mathml/etc. could have been done perfectly well without it.

      --
      I am trolling
  53. Cross-browser chaos by athloi · · Score: 1

    I whined about cross-browser compatibility chaos before, but it got ignored because I both slam Firefox and fail to really praise IE. Since I've been using Opera, I'm happier, although it could still use some work. Reminds me of the Dilbert cartoon where a rat's random typing becomes browser code.

    The end result is that we waste a lot of time and generate thicker, uglier code. HTML became the standard because it was easily created, could link up with just about anything, and was a great lingua franca intermediate format. (It makes me feel weird to say this, but I think of the English language in much the same way.)

    What's intriguing about HTML 5 is that it goes back to the original model of HTML, which was what made it successful in the first place, before much meddling occurred. I also agree with the other guy who replied that some things like flash and vector graphics need their own, embeddable standards.

  54. Hell No by psykocrime · · Score: 2, Insightful

    HTML can be made into a general application delivery format without disrupting its original role as a document format.'"

    Trying to turn HTML into an application delivery format is a brain-dead idea from the get go. Here's a thought: let's use HTML as a document and hypermedia format, and turn to application specific protocols for delivering applications?

    --
    // TODO: Insert Cool Sig
  55. UTF8 by Anonymous Coward · · Score: 1, Insightful

    Make every charset of everything on the planet use UTF-32 and stop whinning. This charset issue has been there forever and sucks.
    We shall only replace UTF-32 when aliens come up with a new alphabet if we cannot make it fit. goddamnit!

    well lets be realistic. The only encodings that should be useable ANYWHERE (html, apps, etc..) should be:
    UTF-8 (note: IT IS 100% ASCII COMPATIBLE)
    UTF-16
    UTF-32

    since UTF-16/32 are just wasting space for most languages.

    1. Re:UTF8 by Tatsh · · Score: 1
      Blame Japan and Asia for not adopting UTF* so readily. Hong Kong wants Big5, China wants GB1830 or whatever, Japan wants Shift-JIS (or EUC-JP). There are not many pages in Asia that are in Unicode; in Japan it's Shift-JIS or bust. Asian countries claim that Kanji/Hanzi/Hanja are not showing up properly when written in a particular language; stroke order and other calligraphical disputes basically (historians also complain because ancient text was written differently than today sometimes). I hope Wikipedia can influence the world as a whole to use Unicode, regardless.

      For more information, see the article.

  56. HTML is DEAD by OxFF52 · · Score: 3, Insightful

    ...or at least will play a much less significant role in the future.

    As a document format, HTML is great... for example, I throw in a few tags in this forum to create bold, italics, links, etc. Throw in tables and images an you can create a very nice looking article for the web.

    However, there is a huge difference between "documents" which can be read in various different monitor/browser sizes, fonts, and languages and what a majority of paid developers do with HTML within corporations. That being creating pixel perfect applications that work in one particular browser (IE or Firefox).

    To that end, what we need isn't yet another HTML specification which will make the browsers even that much more bloated and incompatible with each other... it is an application framework for the web. In fact, this is what Adobe and Microsoft are creating with Flex/AIR and Silverlight, respectively. Ultimately, the "markup language" of the future will be dynamically created and compiled on the server and sent to the browser in a binary format which is run by a plug-in.

    Therefore, I believe HTML should evolve into what is started out as... a DOCUMENT format. It should really move towards a light-weight Open Document specification, NOT towards something that attempts to embody "Web 2.0" features which are already evolving well beyond dated HTML specifications that are nearly a decade old.

    --
    programming myself into obsolescence
    1. Re:HTML is DEAD by TheMCP · · Score: 1

      However, there is a huge difference between "documents" which can be read in various different monitor/browser sizes, fonts, and languages and what a majority of paid developers do with HTML within corporations. That being creating pixel perfect applications that work in one particular browser (IE or Firefox).
      I've been doing consulting to corporations to develop web applications since 1998, including a number of Fortune 500 corporations. Every single client I've had, except for one idiot at a university, has required that I support (at minimum) IE and the Netscape/Mozilla/Firefox line (whatever it was called at the time), and lately you can also add Safari to the list.

      To that end, what we need isn't yet another HTML specification which will make the browsers even that much more bloated and incompatible with each other... it is an application framework for the web. In fact, this is what Adobe and Microsoft are creating with Flex/AIR and Silverlight, respectively.
      They're ultimately both doomed because they're proprietary, and anybody who cares about ensuring that their work will be useable in the future and in a cross-browser cross-platform environment will reject them.

      Ultimately, the "markup language" of the future will be dynamically created and compiled on the server and sent to the browser in a binary format which is run by a plug-in.
      I think it would be foolish to assume that it necessarily happens on the server, because there are significant advantages in being able to create local applications which use the browser as a front-end.
    2. Re:HTML is DEAD by larry+bagina · · Score: 1

      Nice looking? Maybe if years of chronic masturbation have left you blind. TeX/LaTeX produce nice looking output. Browser rendering looks like ass. Not heidi klum ass, but cowboy neal ass. Safari is an exception due to Apple's improved font rendering, but it still pales in comparison to proper (TeX, pagemaker, etc) output.

      --
      Do you even lift?

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

  57. Don't bother reading this article by holophrastic · · Score: 1, Interesting

    I guess you may as well, it's not very long, but know that it's a waste of a few moments. The author seems tired of training new developers, and so wants to change HTML to achieve two primary goals:
          1 use fewer characters by eliminating robustness (one attribute instead of a whole doctype, one meta tag instead of specifying each script language)
          2 eliminate features that tend to lead to vulnerabilities

    The author forgets, doesn't know, or doesn't realize, or doesn't care that each of these things translates into real power when one uses them correctly. He also doesn't understand that if you allow for dummer developers, there will be more exploits not fewer.

    He outright eliminates document.write and frames saying that they are insecure. And he outright says that frames are to be rebuilt into modules. Sir, I'm glad that you have devised solutions to your struggles, but please do not push them onto the rest of us who enjoy certain levels of power through the use of multiple script languages and weird frame power.

    Incidentally, for your education Sir, I think you've forgotten a very import part of programming and computers in general. You can't simply say that all web pages should be in UTF-8. First, good job thinking that UTF-8 is the last ultimate character set. Second, good job completely destroying every existing page out there. Third, good job making every single english-only page twice the size it needs to be. You've eliminated optimization completely. I'd have rather gone the other way and allowed the developer to define a character set -- I don't know, maybe through the doctype that you've blown away.

    Meanwhile, you haven't added the one thing that I've been wanting ever since IE kind of lost it -- embedded fonts. A quick and easy way to eliminate 95% of graphics used to present navigation text and teeny tiny little wingding icons.

    I've got no problem making things easy by granting additional power, or abstracting power to developers. But to eliminate complexity with the goal of eliminating features is just, well, it smacks of someone who's never managed to find a use for that power.

    Having built HTA applications that flex three script languages, javascript domains, and at least a dozen iframes on each "page", I can say for certain that your changes (i.e. restrictions) would have rendered my applications impossible to build.

    All of that said, I can't argue with making custom tags and attributes first class, except to say that it would be nice if FireFox supported custom (read expando) attributes in the first place, and that custom tags and custom attributes would be a much greater source of vulnerabilities due to parsing errors than incomplete attributes ever were.

    1. Re:Don't bother reading this article by gaspar+ilom · · Score: 1

      Third, good job making every single english-only page twice the size it needs to be.

      ...with UTF-16, yes.

      UTF-8 uses a variable number of bytes to represent characters beyond the ASCII plane. Within the ASCII plane, it uses one byte per character.

      If anything, certain non-English text would see a "doubling in size" -- but only when UTF-8 is substituted for character encodings tailored to foreign languages w/ small alphabets. (alphabets that do not overlap w/ ASCII and whose characters can be encoded in 7 or 8 bits -- but then, you wouldn't be able to encode standard HTML markup tags) (eg: certain Russian/Cyrillic encodings?)

      However, w/ the use of compression, it will all be a wash.

    2. Re:Don't bother reading this article by holophrastic · · Score: 1

      hmmm, good point, and my mistake. Although, I'm not a fan of the "compression" solution. In my world of web development, that kind of equates to the whole external javascript file, cached, versus in-line javascript function. The cached file involves opening a file -- even in memory -- and often checking the freshness of that cache. True that's faster than downloading it again, but it's rarely faster than streaming a few more bytes mid file stream at full download speed.

      I'm just not a proponent of compression to solve problems. I'm a big proponent of compression to make things even better. But it is a big processor hog, and it's just being undone on the way out. At least when compression is used for storage, it actually has a long-term benefit; and when it's used to force micro transmissions into single packets, that's also a real benefit. But for a web page, whether it's 40K of html code, or 20K of html code, or 80K of html code, it's all the same -- even before the compression, at any reasonable bandwidth.

  58. What, but that's what W3 is already doing!? by Jugalator · · Score: 1

    The problems with HTML will not be solved by making it bigger and more complicated. I think instead we should generalize what it does well, while excising features that are problematic. Ehh, I think I'll stop reading already there.

    W3C has already deprecated quite a bit of the mess from HTML 4 that mixed up the presentation with the structure, and HTML 5 aims to make that distinction more clear than ever, and make more sense with more "natural" tags for the page structure. I don't see HTML being very complex now at all, with so much of the presentation having been moved to CSS.

    What most editors still generate and lots you see on the web is actually deprecated stuff. Things like FONT tags and color attributes for whatever.

    A page that don't use scripts or such things like deprecated page design methodologies look very clean to me already, and a HTML 5 page will thanks to the more natural tags introduced for structure will probably be even more human readable and understandable.
    --
    Beware: In C++, your friends can see your privates!
  59. Umm, JSON inventor? by Trailer+Trash · · Score: 2, Interesting

    That's a little presumptuous, to put it mildly. I've been using JavaScript Object Notation to store data for JavaScript programs for quite a few years now, and I just heard of this guy today. What am I missing? The inventor of JavaScript Object Notation is the guy who created the JavaScript syntax.

    1. Re:Umm, JSON inventor? by drew · · Score: 1

      He was (probably) the first person to document it and give it a name. In that sense, I suppose he "invented" JSON the same way that Jesse James Garrent (whom I had never heard of before or since he published that article) "invented" AJAX.

      He was probably also the first person to publicly release a library that would "serialize" an already existing JavaScript object into a JSON string, and he maintains JSON.org, which is usually the first place that I go to look for a JSON Serializer/Deserializer for a new language (although I'll admit that I've often been less than impressed by the quality of the implementations that I've found there.)

      --
      If I don't put anything here, will anyone recognize me anymore?
  60. Jquery by Tony · · Score: 1

    Sounds like you want Jquery. I've only been using it for a few weeks (I've been working on the Drigg javascript), but it's pretty damned cool.

    For instance, to remove a particular class from all <p> elements:

    $('p .someclass').removeClass('someclass');

    To send each element through a javascript function:

    $('.someotherclass').each( functionName );

    You use CSS-like selectors to target actions.

    If you add a class to an element, the browser correctly[1] displays the element with the new class applied. Remove a class, and the style associated with that class is removed from the element. It all behaves exactly as you asked. It's easy. It's intuitive, especially for folks familiar with both the DOM and CSS.

    I have no association with Jquery. I just started using their library a couple of weeks ago. I've just been very impressed with their library, so thought I'd spread the Gospel to one who seeks.

    [1] Except for IE 6, at least. There's a huge-ass bug in IE 6 multiple-class handling, such that multiple-class CSS selectors ('.class1.class2') don't work. Check out this writeup for more information.

    --
    Microsoft is to software what Budweiser is to beer.
  61. The real problem with HTML by Z00L00K · · Score: 1
    Is not HTML in itself but that too few softwares around actually are able to produce well-formed HTML. It's not easy to get it right but there is help available in the form of the HTML validator.

    Another catch is that the evolving of HTML into XHTML may be with good intentions but the end result is that it's no longer an easy world to work in. That means that HTML still should evolve in it's own right. However there are a few features that I really would like to see in future HTML versions:

    • Consistent tag handling where all tags shall have start and stop tagging as XHTML has. It will make things more consistent.
    • HTML may keep it's case insensitive tags - that's no big issue.
    • Look into a few new input tag types, the ones that exists aren't bad but sometimes there would be benefit from a <select> tag that also allows the user to manually input a value, which is impossible today unless you insert a special component to handle that feature.
    • A certification test program for web browsers wouldn't really hurt. There is the Acid2 test and a few others, but a more comprehensive test wouldn't hurt.
    Aside from the fact that HTML may need a few new features it's actually relatively good, healthy and kicking.

    Another web feature that needs an overhaul is the scripting. JavaScript is in some ways good, but it's also very bad since it isn't type-safe. It is however a lot better than VBscript which is something that we got for our sins and binds the functionality to the Microsoft world only. So what we have are two solutions; One half-baked, namely JavaScript and one completely sticky and messy, VBScript.

    So much for rants and flames...

    --
    If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
  62. OK, that didn't go right. by Besna · · Score: 1

    All I'm asking is that an anchor display the href to the user without having to type it in.

  63. No it's not time by Anonymous Coward · · Score: 0

    The only way to make a language simpler is to remove flexibility. HTML can be a bear to manipulate and get what you want out of it, and it requires a little knowledge, but if you remove that flexibility by making it simpler, you also remove the ability to make it do what you want.

    No one ever said HTML was for everyone or supposed to be easy to do correctly. If you don't want to learn HTML, use a WYSIWYG editor, don't dumb down the spec...

    -AC

  64. This is what OpenLaszlo is for by TheCouchPotatoFamine · · Score: 1

    really, if you want to make a good XML based application language that's easier to Do Stuff In , i don't see why you'd beat the tired old html horse. move on.

    --
    CS majors know the time/space tradeoff, but they never get taught the 3rd, crucial, tradeoff of the set: comprehension!
  65. What ever they choose by pembo13 · · Score: 1

    Please send the IE devs a picture book with the full specs in very clear English.

    --
    "Thanks for all the money you paid to us. We've used it to buy off ISO among other things" -Microsoft
  66. remedial simplicity for dummies by epine · · Score: 1
    After reading the article, I'm surprised to read someone expressing highest respect for Mr Crockford, because my take from what I read was that he was just some fringe guy.

    He introduces the idea of relaxing br and hr to accept the ambiguous empty form (which doesn't distinguish an empty tag from an unclosed tag error). Then he wraps up his discussion with the statement:

    These changes significantly improve the reliability, security, and performance of HTML applications. I can see the merit of reducing the punctuation mark clutter on a couple of extremely common and "well known" (in the IANA sense) empty tags. But this constitutes an exception that introduces a new ambiguity to document parsing for the sake of removing a single punctuation mark whose insertion either by humans or in the application context is purely automatic. Where precisely is the simplicity in that trade-off?

    I would not be opposed to introducing the concept of relaxed validation in which well-known empty tags are presumed to be self-closing. Any instance of a presumed self-closing tag used as an end-tag would fail relaxed validation (make up your mind, and stick to it). Relaxed validation could be allowed on the basis that translation to strong validation is purely mechanical.

    My opinion is that anyone who makes the bare statement X simplifies Y is up to no good. The properly motivated form is: X simplifies Y for the sake of A at the expense of B. But then simplicity doesn't seem simple any more, and that defeats the purpose of vending the snake oil in the first place, to position oneself as the bearer of light and goodness, whose stock price is very high lately.

    After writing this sans RSI entities, I discovered that ecode appears to function as a kind of nowiki with autoquote plus font change:

    <e c o d e>&amp;</e c o d e> renders &amp;
    Slash doesn't even provide a hyperlink to a description of the allowed HTML. Shamed by Wikipedia. How low can you go?
  67. And JSON was a really stupid idea by Animats · · Score: 2, Insightful

    "JSON" refers to strings of JavaScript source, which are essentially S-expressions, used for marshalling data for transmission. It's promoted as an alternative to XML, because parsing XML in Javascript requires shipping an XML parser in Javascript along with the web page.

    The trouble with this idea is that Javascript has the wrong primitives for this operation. In LISP, there's the "reader", which turns a character string into an S-expression, and "eval", which executes an S-expression. JavaScript combines those two functions into "eval", which takes in a string and runs it as a program. Uh oh. Big security hole there.

    So the JSON crowd has to provide "firewalls", written in Javascript, which look at the string to be executed before running it. Some of these "firewalls" almost work. Some don't. Ones that work more reliably are complicated, like XML parsers. So, overall, JSON didn't turn out to be a win over XML.

    If JavaScript had a built-in "reader" like LISP, a parser that just produced a linked structure as output but didn't do anything more, the JSON idea would work better.

  68. Or just start over by maz2331 · · Score: 2, Insightful

    Maybe the whole thing needs to be rethought from the ground up. What do we use web browsers for nowadays anyhow? I see the following...

    1. Displaying mixed text/image documents. HTML sucks for laying these out.
    2. Filling in forms and database interaction.
    3. "Online" applications.

    It seems to me that using a "markup" language doesn't meet any of these goals well. The onscreen (and printable) views would be much better in something similar to Postsrcipt, forms would be better as something akin to an MS Access, and online apps require a way to either remotely display the app on the client and interact, or download an applet of some sort that synchronizes with the server.

    I'd say creating a standardized VM that displays Postscript and uses a Java or .NET-type language (maybe even compiled to bytecode) is a better way to go. The key is to integrate this together at all levels, not the current patchwork of embedded client-side or server-side scripts. Make the development process simulate the same steps one goes through to create a native application instead.

    Right now, when making a web app, I have to create PHP scripts that generate SQL queries, crunch the data, and then output HTML and possibly client-side Javascript. What a pain in the ass - there's at least 3 languages involved and really the whole thing is a mother to debug.

    1. Re:Or just start over by TheMCP · · Score: 1

      Right now, when making a web app, I have to create PHP scripts that generate SQL queries, crunch the data, and then output HTML and possibly client-side Javascript. What a pain in the ass - there's at least 3 languages involved and really the whole thing is a mother to debug.
      This is another problem we've dealt with in Water. It provides an XML compatible syntax (ConciseXML, but Water can also be expressed as pure XML) that lets you unify XHTML with the functionality of CSS, plus your program logic and data storage (in various storage formats including using a relational database), all with nice MVC pattern.

      Please pardon my plugging this language, but it bothers me that people are talking about 20 year standards processes to re-invent the wheel so I'd like to point out that this particular wheel exists.
    2. Re:Or just start over by Jesus_666 · · Score: 1

      Right now, when making a web app, I have to create PHP scripts that generate SQL queries, crunch the data, and then output HTML and possibly client-side Javascript. What a pain in the ass - there's at least 3 languages involved and really the whole thing is a mother to debug.
      As opposed to your proposal, wherein you's use PostScript, Java and SQL? HTML, PHP and CSS each serve different functions and you're not going to get rid of one of them without sacrificing presentation, dynamic content or database storage.

      Also, do you seriously propose replacing PHP with Java? I mean, Java has a nice class library, but compared to PHP it's absurdly cumbersome. Python, okay. Ruby, okay. But I very much doubt that developing web apps in Java is going to get much easier and I'm absolutely positive that 99% of all casual web developers don't want to have to deal with the massive pain of setting up an application server and deploying JSP in it?

      Yeah, an all-Java (or Dotnet) web would be cleaner, but you'd also get rid of a whole lot of hobbyists who just want to write a website, not link together two XML files, an XSLT transform and a subclass of XMLMarkupGeneratorBean just to get "Hello World" on the screen.
      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    3. Re:Or just start over by DragonWriter · · Score: 1

      Right now, when making a web app, I have to create PHP scripts that generate SQL queries, crunch the data, and then output HTML and possibly client-side Javascript.


      You aren't forced to use PHP or SQL in a web app, those are choices. They may have compelling reasons behind them in any particular web app, but certainly the fact that something is going to be a web app doesn't, in and of itself, mean it requires either (you could use Erlang with the Erlang Yaws webserver and Mnesia database, instead of PHP+Web server+SQL db, for instance, and reduce the number of different technologies and languages.) HTML is only forced in that a distributed application that doesn't use HTML (or maybe XML+CSS) over HTTP isn't, pretty much by definition, a "web" app, though there are certainly tons of other choices for a distributed application. Same thing with client-side JavaScript, essentially.

      I'd say creating a standardized VM that displays Postscript and uses a Java or .NET-type language


      Both the CLR and the JVM exist already, so its not a matter of creating a VM. Getting people to use them, and to choose one, are the issues.

      Building a Postscript interpreter for either shouldn't be a particular problem (ISTR seeing them for Java). Of course, there are existing other distributed application frameworks that include layout, db interaction, etc., all under one hood without using HTML+JavaScript on the client end (REBOL is built for this as a primary use, and there are distribution frameworks for lots of languages that also have layout engines available.) Even with them, many people still prefer to use SQL-based RDBMSs for backend storage, though native storage is sometimes used.

  69. Web developers? by mmcuh · · Score: 1

    adding that the simplification of HTML he is proposing would reduce the cost of training of web developers Are web developers trained?
  70. doctypes, frames, and learning html by gru3hunt3r · · Score: 2, Interesting

    There seem to be some common misconceptions in the posts here (yeah i know it's slashdot)

    DOCTYPES:
    Doctypes aren't implemented correctly on probably 98% of the documents on the web because none of noob web designers fucking understand them - so anything 20 years from now won't be able to trust them, we might as well eliminate them and replace them a simple version #.

    UTF8: YES YES YES!!! OMFG .. THANK YOU!!! If I see one more bloody document in the DOCTYPE telling me it's an ISO8859 and then having the MS-Word back/forward tickets embedded in the middle then I might pull out a gun and start shooting people. I'm not a violent person.

    LEGACY SUPPORT + FRAMES/IFRAMES:
    I agree browsers aren't going to drop fields like iFrames, etc. BUT as an administrator I could turn it off for my clueless users who might be mislead, hurrah! I have no problem if they can't access their mutual funds/bank account from company computers. I might turn it off for my parents so they don't get h4xx0r3d, eventually norton and mcafee can warn people who are visiting sites using pre version 5 that it is "less safe" .. those marketing depts. love to fear monger.

    LEGACY SUPPORT = "Not more secure"
    Not true -- first off HTML 5 only can be an option if users need to access a subset of intranet sites. I think marketing HTML 5 as "simple, more secure" might get CIO types to mandate more use of it in their organizations.
    Furthermore older browsers could (when possible) use a translation engine to convert HTML 4 to HTML 5 .. a two pass filter (similar to the quirks mode employed today in most browsers).
    Keeping the ecma-script + dom engine further from the "quirky" content makes a ton of sense to me. Anybody who doesn't believe that separating phases adds security need only look at apps like Qmail, etc.

    RE: HTML IS NOT BROKEN
    HTML 1.0, 2.0 were easy to learn - and THEY are the reason HTML is successful. Anybody could pick up a book and in a few hours be building HTML pages.
    HTML 4.0 / XHTML was clearly defined by a committee of people who don't actually work in the "real" world try to support users.
    The more complicated you make it, the less people can/will use it. I realize slashdot does not necessarily cater to that audience, but most people think they are dumb and don't like learning/a challenge -- and I personally hate troubleshooting their X-HTML documents.

    NEED PROOF HTML IS BROKEN = LEARN WIKI:
    The reason we see so many systems switching to WIKI content management versus HTML is because of all the issues and learning curve associated with HTML, and how easy it is to break HTML.
    In fact the majority of the new original **content** being added to the web these days is probably in WIKI simply because HTML is broken.
    You have to admit that nobody would have invented WIKI if we were still using HTML v1 or v2.

  71. HTML5 is bloated and flawed by Dracos · · Score: 1

    Just the fact that HTML5 makes XML compliance optional is enough to keep me away from it. Never mind the bloated tag set and the inconsistent return of presentational tags.

    I hope the author speaks of HTML in a generic sense. HTML4 has long since been deprecated, but is still in use because some developers can't be bothered to upgrade their skills, or they don't really have any skill at all because they're incapable of writing markup by hand (I call them Dreamweaver monkeys). XHTML is the now, and XHTML2 should be the future.

    Most web developers are self taught... if they have any formal training, it's on tools^H^H^H^H^Hcrutches such as Dreamweaver or graphics software (Photoshop, Fireworks, or god forbid, Flash). It depends on the developer's level of interest in their skills as to how capable they are. There's no training available for the less concrete, but more important topics such as usability, accessibility, or semantics.

    1. Re:HTML5 is bloated and flawed by background+image · · Score: 1

      HTML4 has long since been deprecated...

      I'm with you on the HTML 5 skepticism, but this is not true.

      HTML 4.01 and XHTML 1.0 are parallel, current standards--the two specs were originally released just over a month apart. But given that IE does not support application/xhtml+xml, there are almost no real-world advantages to using XHTML 1.0 instead HTML 4.01.

  72. He's not even following his own syntax rules by dtobias · · Score: 1

    The guy doesn't even follow his own rules in his examples; he says which characters are allowed to be in parameter value strings that are not quoted, and the slash (/) isn't one of them; yet, in his example code, he includes some unquoted strings that include slashes. Thus, he seems to be proposing a new version of the same ill-defined tag soup that is already in wide use.

    --
    --Dan
    Web Tips
  73. The problem with frames by Spy+der+Mann · · Score: 1

    is that, most of the time, they're an awful workaround for an awful defficiency: Lack of Client side includes.

    Part of my proposal is having a friggin' INCLUDE tag which would save tons of problems and bandwidth.

    <include href="heregoesthemenu.html" />

    For simplicity, the include tag cannot include unbalanced html, but it will generate a DOM subtree.

    There ya go. Ta-da!

  74. We Need a Posix for HTML to end fragmentation by HighOrbit · · Score: 1
    You are largely on target with your comments, but a new HTML standard won't fix it because everybody will still be free to do their own thing. Somebody needs to crack the whip and that somebody has to be the W3C.

    The Open Group and Posix/Single Unix Specification could be an inspiration on how to approach this (although OpenGroup didn't implement properly with Unix either).

    The W3C should do the following:
    1. Trademark "Web Browser", "HTML-5", "CSS-3", and get Sun to donate the "JavaScript" trademark
    2. Provide a free-gratis MIT, BSD, or public domain licensed reference implementation of html/css rendering and javascript engines
    3. Provide a free-gratis browser test suite focusing on standards and consistancy of rendering. Any proprietary extensions automatically will be cause for failure
    4. Browsers that pass the test suite can be licensed to be labled a "Web Browser" and "HTML5/CSS3/Javascript Ready"
    5. Launch public campaign of scorn and shame to get non-complient "unlicensed" browsers shunned.
    Properly implemented and administered, that would end fragmentation. Focus should be on consistancy of rendering, not golly-gee-whiz features. What is actually in the standard is less important than that everybody renders it the same.
  75. Suggestions inconsistent by caudley · · Score: 1

    His first suggestion is eliminate doctype in favor of an element attribute. His second suggestion is eliminating the element language attribute in favor of a meta element. It seems to me this is moving in two different directions. If your goal is to simplify things, be consistent!

    1. Re:Suggestions inconsistent by kuleiana · · Score: 1

      I agree - it should just be an attribute of the HTML tag, then, like <html version=5 language=php />

      --
      Thinkingman.com New Media
  76. Why should it even end in ML? by hcmtnbiker · · Score: 1

    It also paves the way for replacing JavaScript with a secure programming language. No security would be obtained if an insecure language can be mixed with a secure language...

    No more document.write. No more in-page event handlers. No more javascript: urls. First off, why don't you have the browser sandbox things if it wants to? Creating a new language doesn't seems like a good approach to me. Second, no more in-page event handlers? Seriously, they're the quickest and easiest way to handle some things, why would you get rid of them?(Let the browser sandbox if you want, you can always modify your js settings if you want to as well)

    The only character encoding permitted in HTML 5 is UTF-8. Yet again, i see no reason as to why to not let the browser do what it wants and keep UTF-8 as default, and the others deprecated.


    That's just my opinion, of course I'm also a fan of an interpreted binary file for web pages. I also think that most of the security should be done at a browser level, sand boxing the developer isn't the way to go for security. All in all i really don't see too much interesting in his proposition, modules are maybe the only thing of value in his proposal, but that kind of behavior can already be emulated by javascript with DIV blocks or parent/child windows.
    --
    If i had one dollar for every brain you dont have, i would have $1.
  77. Re:Hmmm = JQuery by Anonymous Coward · · Score: 0

    Try this instead of getElementsBySelector(): http://jquery.com/.
    [code] var element = $('#some_id .some_class').get() [/code] would do the trick.
    Not to mention the other really usefully things that you can do other than ".get()"

  78. Me! by TheMCP · · Score: 1

    Is there anybody in the planet who wants to publish something online today but can't because of problems with HTML?
    All the time. It has limited layout behavior and CSS etc only partly remedy it.
  79. Re:Personally, I'd rather see a meaner, harsher HT by retupmoca · · Score: 1

    One that eats babies for breakfast, at minimum.

    It strikes me that would be the route to go to get rid of all these crappy, poorly done pages.


    Babies are responsible for all those pages?!? *stares at baby* I'm watching you...
  80. Re:Personally, I'd rather see a meaner, harsher HT by Anonymous Coward · · Score: 0

    "Get in my belly"!

  81. Re:Who cares? by Liquidrage · · Score: 1

    What mods modded this a troll? Surely not mods that have any experience building public facing websites.

    For years I've seen WC3 this WC3 that. And what does it do? Except create "standards" that are ignored or partially implemented by the browsers. And the browsers are what matters. WC3 might as well not exist. They keep moving forward, and the people that matter are not listening.

  82. XSL:FO by DragonWriter · · Score: 1

    Is XSL:FO suitable for describing on-screen layout?


    Yes.

    I certainly wouldn't want web pages to end up being like PDFs, with a page-based layout.


    Well, neither would I, but then again, people that want total control in the hands of a graphic designer usually seem to want something like that. OTOH, XSL:FO was designed to handle use cases where you have multiple pages (as would be the case for paged media, either print or slideshow) or where a document is laid out on a single page whose size is known only to the renderer (as would be typical in a web browser). Quoting from part of the XSL 1.1 spec discussing pages in FOs:

    When pages are used with a User Agent such as a Web browser, it is common that the each document has only one page. The viewport used to view the page determines the size of the page. When pages are placed on non-interactive media, such as sheets of paper, pages correspond to one or more of the surfaces of the paper. The size of the paper determines the size of the page.


    Its just that its apparently a lot more work to implement than CSS, and so its mostly only been implemented in print (or at least print-like, e.g., PDF generation) applications, rather than browsers, where (the complaints registered here, aside), CSS does well-enough for most uses. Early on, there were some proof-of-concept limited-functionality XSL:FO browsers, but FO support hasn't (yet, at least) made it into mainstream browsers, and AFAICT those early efforts were all abandoned.

  83. Re:Not Impressed ... graphic designers by pbhj · · Score: 1

    >>> "something that is actually useful to graphic designers."

    Don't worry, drop-shadows and rounded corners are coming in CSS3.

    You can already have lots of shades of grey with text that's minimally contrasting and too small to read alongside completely unrelated images of flowers or girls smiling or something. :0p>

  84. html/xml syntax. by Anonymous Coward · · Score: 0

    tags can:
    have begin and end tag.
      stuff
    be a single self-ended tag.
     
    but, what I would like is a auto ending tags,
    that are auto-ended with the same tag at the same level, or ended with an eneded parent tag.

    •     item 1
          item 1
          item 1


    yes, I realize that some tags in html1 were auto-ended, but It would be nice to have a legal way to do that in xml.

  85. Good point by Anonymous Coward · · Score: 0

    the simplification of HTML he is proposing would reduce the cost of training of web developers

    How much, exactly, does it cost to train a chimpanzee these days? Must be approaching what it costs to train a QA tester.

  86. New Coke new and improved NOT. by Anonymous Coward · · Score: 0

    The problem with all these "lets improve on HTML" concepts is that they dont improve much on anything. They take whats already widely adopted and works well, and make things more convaluted.

    Its loosely analagous to people constantly thinking they must create a new Coca Cola to replace the original because the original just isnt good enough. Or how about Fords constant belief they had to improve on the Mustang until they realized they fucked it up so bad they needed to return to the original.

    Programmers and analysts constantly thinking they must improve on something until they fuck it up so bad its not worth the pain and effort to use anymore.

  87. CSS and new specs not so good by Anonymous Coward · · Score: 0

    CSS is powerful, but its a lot easier and faster doing a layout etc from one html page in the old tables and tag days. I know this sounds crazy but its true. The whole seperating display code from logic is good, but CSS and html both define display. And the constant flipping back and forth between external CSS and html, testing display gets annoying. It reminds me of the difference between creating fancy layouts for invoices or labels for print jobs on UNIX using PCL code never able to see the display as its created versus say formatting the fancy label layout in a nice GUI application.

    We are being forced to use display code as defined by command line type of people. Stick with the logical language, stop messing with trying to change the way we define "display" with display code like html.

  88. Zen garden lol by Anonymous Coward · · Score: 0

    Oh boy Zen Garden.

    Lets see 1999, apply background images to tables.

    2007 wow look at fancy css layouts: Apply blocky fancy background images to divs.

    Whoope doo.

  89. HTML is *NOT* a layout language by knorthern+knight · · Score: 1

    SGML (the ancestor of HTML) is a *MARKUP LANGUAGE* (the "ML" in "SGML"). HTML is an acronym for Hyper Text Markup Language. It was originally written for text terminals of different widths. The original HTML pages never assumed that everybody had an identical screen. Early HTML only tried to control *GROUPING* of text (breaks, lists, etc). It assumed that *YOUR* browser would wrap the text to fit *YOUR* screen. It was *NOT* intended for "This page is best viewed with IE 3.1415926 on an 800x600 display with at least 32 colour display".

    Then along came the "layout" freaks. This one is dedicated to all those "modern electronic media" who can't seem to throw off the shackles of Gutenburg. You know who you are...
    Attention all
    anal-retentive
    control-freak,
    layout editor
    refugees from
    19th century
    newspapers. The
    web is *NOT*,
    repeat, *NOT* a
    newspaper. A
    PC monitor is
    wider than it's
    tall. Standard
    newspaper-type
    column format
    totally sucks
    when viewed on
    PC monitors.


    I use 1920X1280
    display and get
    1/6th of screen
    for left panel,
    1/6th for the
    actual printed
    column, 1/6th
    for the right
    panel. *THE
    ENTIRE RIGHT
    HALF OF THE
    SCREEN IS 100%
    BLANK*.

    And of course
    I then have to
    scroll, scroll,
    scroll to read
    an item that
    should easily
    fit onto one
    screen.

    --

    I'm not repeating myself
    I'm an X window user; I'm an ex-Windows user
  90. Encoding by Squeeself · · Score: 1

    While some of this guy's recommendations I can agree with, other comments he says makes me wonder if he knows anything about what he's talking about, even with his credentials. For instance, I've been working day-in and day-out over the last several months with character set encodings for HTML, et al., and his comments about only using UTF-8 is...well, naive. Sure, I adore UTF-8, but it is definitely NOT the be-all, end-all of encodings, and it is not very hard to deal with them. And then he says all the problems can be solved with gzip...RIIIIIGHT. (It's not JUST about content-length.) Encoding in HTML is just fine the way it is now. (Although, defaulting to UTF-8 rather than Latin-1 would be nice, but that's an HTTP standard, not HTML.) That's not the only recommendation he makes that's got problems. Frankly, I like where WhatWG's recommendations for HTML 5 are going. THOSE recommendations are made by a group of people who have been working on REAL problems. That's not to say that some of these suggestions aren't worth considering for HTML 5, and many are definitely needed, but...they are by no means all of the same calibur. Especially not the encoding one :P

  91. Typical crack smokin' by clayne · · Score: 0

    HTML can be made into a general application delivery format without disrupting its original role as a document format.

    Fuck no.

  92. Great Presentation! by kuleiana · · Score: 1

    We need more, simplified thinking like this. The feature and tag bloat that is HTML now needs to be slimmed down, and bad. It seems a lof people who read the (yes, short, thank god) proposal neglected to read the part about custom tags and attributes: this is how we solve the problem of semantics. We can use microformats with real, custom tags. Regarding security, the iFrame/Frameset model can be maintained for backwards compatibility when serving version=4 documents, and the "module" tag (needs a better name IMHO) can use the message queue methodology he proposes. Most of the structural complexity can now simply be expressed with simple heirarchy. The only major change I'd add to his proposed spec is removal of all the crazy bloat-tags made redundant by CSS (HTML 5 proposes only removing about 8 tags!)

    --
    Thinkingman.com New Media
  93. Accidentally left out by kuleiana · · Score: 1

    Accidentally left out:encodings should probably be limited to UTF-8. No matter what people say, having to deal with a bazillion different encodings over the last twenty years has made me itch to throw the rest out the freakin' window. I don't want to have to guess every five seconds which encoding we're using now as opposed to then - did the user's agent really just try to paste in BIG-5 encoding into our Latin1 charset? Was the UTF-8 incorrectly served as a MacRoman document? Etc etc etc...

    --
    Thinkingman.com New Media