Slashdot Mirror


Only 4.13% of the Web Is Standards-Compliant

Death Metal writes "Browser maker Opera has published the early results of an ongoing study that aims to provide insight into the structure of Internet content. To conduct this research project, Opera created the Metadata Analysis and Mining Application (MAMA), a tool that crawls the web and indexes the markup and scripting data from approximately 3.5 million pages."

28 of 406 comments (clear)

  1. Well, that depends.... by AltGrendel · · Score: 5, Funny

    ...on which standard the designer chose.

    --
    The simple truth is that interstellar distances will not fit into the human imagination

    - Douglas Adams

    1. Re:Well, that depends.... by morgan_greywolf · · Score: 5, Funny

      'Looks good in Internet Explorer and doesn't seem to crash Firefox or Opera' is not a standard.

    2. Re:Well, that depends.... by g0dsp33d · · Score: 5, Funny

      But if we completely reverse the standards we should be at 95.87% compliance!

      --
      lol: You see no door there!
    3. Re:Well, that depends.... by remmelt · · Score: 4, Funny

      It sure makes your Slashdot comment non-standard!

    4. Re:Well, that depends.... by elrous0 · · Score: 4, Insightful

      There are only two standards that I care about: "How does my page look and work in Internet Explorer?" and "How does my page look/work in Firefox?" Beyond that, I couldn't really give a shit less if the W3C does or doesn't like it. My clients aren't paying me to spend extra time designing perfectly W3C-complaint sites, they are paying me to design a site that reaches real-world customers in as efficient a manner as possible.

      --
      SJW: Someone who has run out of real oppression, and has to fake it.
    5. Re:Well, that depends.... by gnick · · Score: 4, Insightful

      'Looks good in Internet Explorer and doesn't seem to crash Firefox or Opera' may not be a standard, but it satisfies the bulk of most web-sites' customers. I'm a FF user and include myself in that group. I realize that sites are tuned for IE because it's the leader and accept that my browser choice and add-ons sometimes make things look a little funny - As long as they work I don't care. I would guess that most visitors feel more or less the same (slashdot standards nazis excepted).

      Besides, if most of a web site's traffic is coming from a browser that doesn't support any standard but their own anyway, what motivation do they have to conform?

      --
      He's getting rather old, but he's a good mouse.
    6. Re:Well, that depends.... by jellomizer · · Score: 4, Insightful

      Internet Explorer is really the big trouble maker here. Any Professional knows that their site needs to render flawlessly in IE first, Good enough in Firefox, and perhaps workable on others. Following the "standards" bairly leads to this operation as IE so poorly handles the standards that you really need to break them. I am still trying to find the HTML tag that gives IE users an electric shock.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    7. Re:Well, that depends.... by Bogtha · · Score: 4, Insightful

      'Looks good in Internet Explorer and doesn't seem to crash Firefox or Opera' may not be a standard, but it satisfies the bulk of most web-sites' customers. I'm a FF user and include myself in that group.

      The problem with that attitude is that not so long ago, Firefox wouldn't be in the list, and for many developers (including some I worked with this week) Opera is still not on that list. It's like Internet Explorer only websites, except only slightly laxer. So you use Firefox. Lucky you! How about all the people who use something less popular, e.g. Konqueror? How about all the people who must use something that will never be popular, such as people with disabilities? Shall we just say "tough, get off the web"?

      As long as they work I don't care.

      "Working" is not a property of a website. "Working" is a property of a combination of a website and a browser. You can't say that a website "works", only that it works in particular browsers.

      --
      Bogtha Bogtha Bogtha
    8. Re:Well, that depends.... by Bogtha · · Score: 4, Funny

      I am still trying to find the HTML tag that gives IE users an electric shock.

      Don't be silly, everybody knows you use CSS for that. (Cruelly Sadistic Styleshocks).

      --
      Bogtha Bogtha Bogtha
    9. Re:Well, that depends.... by Lachlan+Hunt · · Score: 5, Informative

      Does using "blink" make my code non-standard?

      Yes, because blink is not defined as conforming in any standard. However, it is possible to make a page containing blink (or any other element or attribute you like) pass validation by providing a custom DTD or an internal subset.

      But note that the claim that "4.13% of the Web Is Standards-compliant" isn't quite accurate. The study only used the W3C markup validator, which is only able to detect a subset of the machine checkable conformance criteria. It's trivial to create a non-standards compliant page that passes validation.

      --
      By reading this signature, you hereby agree with the content of the above comment.
    10. Re:Well, that depends.... by bunratty · · Score: 4, Insightful

      If you haven't validated an HTML page, you can fairly safely assume it's not valid HTML. Just like if you type in a program and never run it through a compiler, it probably has a syntax error in it somewhere. It's the exception that a non-trivial program compiles on the first try. Likewise, if you don't validate your HTML, it likely contains syntax errors that cause it not to validate. You should cross your fingers that all browsers, past, current, and future, deal with the syntax error in the way that's favorable to you.

      --
      What a fool believes, he sees, no wise man has the power to reason away.
    11. Re:Well, that depends.... by Jellybob · · Score: 4, Insightful

      The point is that if the site is built to standards, you don't have to spend a lot of money making that small number of people happy. Their browser is probably built to render sites as the standards specify, and so it'll probably work anyway.

      I build web applications at work, and only have to make it work in Firefox, but because I'm using standards, and think about what I'm doing, I can be fairly confident that it's going to work in most other things as well. I have users happily using my apps in some barely known browsers, without problems.

  2. More like by ODiV · · Score: 5, Funny

    OMG 4.13% of the Web is Standards-compliant!?

  3. Re:How compliant? by DrSkwid · · Score: 4, Informative

    It is very simple http://validator.w3.org/

    --
    There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
  4. W3C by eldavojohn · · Score: 4, Informative

    W3C's validation tools

    Normally I'd go on my own rant but I'm feeling lazy today and recently I read a good article at A List Apart that sums it up. As for the W3C, I like this list they compile:

    W3C's Pros & Cons

    Pros:

    • Global
    • Academic and scientific body
    • Multiple interests represented, but mostly from paid member companies
    • Attempting to be more open via certain teams such as the HTML5 and CSS Working Groups
    • Attempting to appeal more to work-a-day world via redesigns, blogs, and more human-friendly language throughout the site

    Cons:

    • Creates "open standards" by ideal, not necessarily fact
    • Incredibly slow moving in a highly evolutionary environment
    • Poor economic model that relies on membership monies
    • Discourages independents and open process
    • Passive: only creates specs and recommends, does not do real outreach
    • "Ivory tower" perception

    You should read that article, it's pretty spot on for this subject.

    --
    My work here is dung.
    1. Re:W3C by Bogtha · · Score: 5, Insightful
      • Incredibly slow moving in a highly evolutionary environment

      That's hilarious. We still can't use CSS tables or generated content on the web - features that were published by the W3C in the CSS 2 specification over a decade ago because Internet Explorer doesn't support them yet. We need to use JavaScript frameworks or otherwise normalise event handling because Internet Explorer doesn't support DOM 2 Events - a specification published by the W3C eight years ago (event Internet Explorer 8 won't support this). And SVG anyone? XHTML? MathML?

      Get back to me when browsers make it out of the 90s before telling me the W3C is "incredibly slow moving".

      --
      Bogtha Bogtha Bogtha
  5. Only 4.13% of the Web Is Standards-compliant ... by cosmocain · · Score: 4, Insightful

    ...the rest just renders perfectly in IE.

    (i would prefer if there wasn't any truth in it.)

  6. Surprised? by secondhand_Buddah · · Score: 4, Insightful

    Why is this a surprise? We are limited by non-standards compliant browsers.
    Unfathomable amounts of development time has been wasted over the years trying to set sites running and usable in multiple browsers.
    To complicate the issue, over the last few years there has been an explosion in the number of browsers on the market. It is really no fun navigating this modern tower of Babel.
    If I had one wish that would be granted, it would be that all browsers would be compliant to a standard. Literally millions of man years in development time could have been saved if this issue was somehow nipped in the bud earlier on.

    --
    Participatory Governance : The only feasible option for a real democracy, where everyone really does have a say.
  7. Re:How compliant? by morgan_greywolf · · Score: 5, Insightful

    Isn't that a bit like saying, "my C code fails to compile whenever I pass it the flag for strict ANSI checking, but other than that my code is ANSI C compliant"?

  8. Re:Some standards are just too strict... by sakdoctor · · Score: 4, Insightful

    Well not in the least bit idiotic actually.
    It's up to me as a user to choose where a url opens, especially since we are all using the tabbed paradigm now.

  9. Re:How compliant? by Bogtha · · Score: 4, Informative

    only recently added websites or also websites and old pages that exist longer than the standard they validated against exists ?

    MAMA didn't validate against a single document type. They validated against the document type that each individual document claimed to be. So all the ancient HTML 2.0 pages out there will correctly be identified as valid in they are, in fact, valid HTML 2.0.

    --
    Bogtha Bogtha Bogtha
  10. Re:Sad. Even sadder is the yet-another-feature cre by coopaq · · Score: 4, Interesting

    ./ is mostly text, but how did you post this comment? Any Page refreshes?

    Actually it uses some pretty sweet AJAX calls.

    Progress usually comes from ignoring standards.

  11. so what does this tell us about the standard? by thermian · · Score: 4, Insightful

    Does it mean that 94% of websites did not find the standard useful?

    Or perhaps that the standard is poorly presented, causing fewer people to be aware of it?

    My personal leaning is that the standards body lost control of their 'standards' a long time ago, but they haven't realised yet. The only real thing most web devs care about is 'does my site/application run as required in the browsers I need it to?' If the answer is 'yes, if you don't follow the standard', then the standard is ignored.

    --
    A learning experience is one of those things that say, 'You know that thing you just did? Don't do that.' - D. Adams
  12. Re:Some standards are just too strict... by tepples · · Score: 4, Informative

    It's up to me as a user to choose where a url opens, especially since we are all using the tabbed paradigm now.

    User agents currently do not allow the user to submit a form into a new window or tab. This is the nearly nine-year-old bug 17754 on bugzilla.mozilla.org with 99 votes.

  13. 4.13% compliance doesn't really surprise me. by NoNeeeed · · Score: 5, Insightful

    You only need to make one mistake in your markup to be non-compliant. I would be interested to see what the degree of failure is for the other 95.87% of sites. My website, Wii Fit Forum currently fails on six counts, all just simple errors in the code which I plan to fix. But currently, the site displays just fine, so I have more important things to worry about. I think this is the same for many publishers.

    Unfortunately for the novice, the ignorant, the lazy or the just plain error-prone (the last two are me), the W3C and the browser industry do not make it that easy to be compliant.

    HTML standards are the current prime example of the old joke "the great thing about standards is that there are so many of them". The W3C really needs to stop pissing around with all this semantic web crap, and concentrate on making what is already there work better.

    We need a single standard which embodies all the best elements of the existing ones in a coherent form, and then the browers manufacturers need to get their arses in gear and implement it properly. The novice developer is currently confronted with a mish-mash of alternative doc-types, each of which has different pros and cons, and which may or may not work properly depending on your browser. It needs to be done soon, not over a ten year timescale.

    When you can stop worrying about whether your site will work in various browsers, then people will spend more time on compliance. Until then, people will worry about the important things, such as their readers being able to see their site properly.

    I know I should treat standards with more importance, but while the current mess persists it is hard to care.

  14. Re:strict vs transitional DTDs by Bogtha · · Score: 4, Informative

    Yes. HTML 4.01 and XHTML 1.0 each have two DTDs: a "transitional" DTD that allows presentational elements and a "strict" one that disallows them.

    No, that's something different. There aren't degrees of strictness when it comes to validity. If a document claims to be a Strict document, and makes a single mistake, then it is invalid. If a document claims to be a Transitional document, and makes a single mistake, then it is invalid. In both cases, it's an absolute rule with no laxity.

    --
    Bogtha Bogtha Bogtha
  15. Re:Some standards are just too strict... by l0ungeb0y · · Score: 4, Interesting

    XHTML-STRICT is not for everyone, it's intended for those (like me) who are more development oriented and wish to completely separate structure from presentation. A "target" attribute is clearly a presentation attribute since it defines how the linked reference is presented to the user and as the parent noted, it should be up to the user to make that choice.

    When wanting to control presentation in XHTML STRICT, you should use DOM or CSS, that way, they structure (XHTML) is removed from the presentation (JS/CSS). I typically link all scripts and stylesheets. That way the XHTML is made portable in terms of data with the JS/CSS being limited to only effecting a web client. In the OPs case, a simple ID attribute for that particular anchor would work just fine, you could bind an event listener for a click event to that element and then execute your javascript popup code when that event is triggered, canceling the event so that the browser does execute the link on it's own. That way, your default browser clients could execute the JS instructions, while a 3rd party app (an AIR desktop or mobile device) could put their own custom behavior in if desired.

    While that sort of practice may seem extreme to a designer, as a developer I can swear to it's scalability and transportability for supporting 3rd party access such as when developing a web UI that needs to support many types of clients via one codebase.

    If none of those features make sense nor strike you as worthwhile, I suggest you stick to XHTML TRANSITIONAL, which is probably better suited to your needs.

  16. Re:Sad. Even sadder is the yet-another-feature cre by SanityInAnarchy · · Score: 4, Insightful

    I'm really not sure what your comment about AJAX calls has to do with "ignoring standards" -- especially given that:

      - XMLHttpRequest is a standard
      - It was always possible with a hidden iframe anyway, which is also a standard

    --
    Don't thank God, thank a doctor!