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."

71 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 theaveng · · Score: 2, Funny

      Does using make my code non-standard?

      --
      FOX NEWS.com should be BANNED from television and internet. Have the Congress take it over and give us Truespeak.
    3. 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!
    4. Re:Well, that depends.... by remmelt · · Score: 4, Funny

      It sure makes your Slashdot comment non-standard!

    5. Re:Well, that depends.... by andy19 · · Score: 3, Funny

      I disagree- I'd say that's a pretty standard Slashdot comment.

    6. 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.
    7. 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.
    8. 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.
    9. Re:Well, that depends.... by Bill,+Shooter+of+Bul · · Score: 2, Insightful

      Yes it is. It is the standard that everyone shoots for. The defacto standard if you will. It is not a rigorously defined standard published by an internationally recognized standards body. I'm afraid there is not a single standard definition of the word standard in the English language.

      Isn't English fun, my compeer?

      --
      Well.. maybe. Or Maybe not. But Definitely not sort of.
    10. 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
    11. 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
    12. 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.
    13. Re:Well, that depends.... by andy19 · · Score: 3, Funny

      Oh, well in that case, not at all.
      Both blink and marquee are two very useful tags that should be used on every website.

    14. 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.
    15. Re:Well, that depends.... by morgan_greywolf · · Score: 2, Funny

      Unfortunately, the CSS attribute that gives IE users an electric shock is one of those that IE doesn't support.

    16. Re:Well, that depends.... by gnick · · Score: 3, Insightful

      How about all the people who use something less popular, e.g. Konqueror?

      Web pages will be tailored to suit the bulk of their traffic. Konqueror will learn to display them properly, regardless of adhesion to standards, or fall by the way-side as users get frustrated. It's not fair, it's not right, and it's not changing. Sorry.

      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"?

      Some pages are practical to conform to people with disabilities. Some aren't. When practical, web-admins should make their pages accessible to the handicapped. Adhering to standards may make it easier to tailor specialized browsers for use, but the fact remains that pages will be written to display properly in the most popular browsers and people that write "unpopular" browsers need to conform to that.

      I'll tell you what, why don't you volunteer to re-write all of the flash-games on the web so that blind people can play them? When you're done, I'll assign you some music sites that you can re-code for the deaf.

      Should we say "Tough, get off the web"? No. We should say "Sorry, but because of your disability there are a lot of things in this world that you'll never be able to enjoy. We'll try to help you enjoy the rest." Sorry if that sounds heartless, but I'm a realist.

      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.

      I should have said "as long as they work for me" as in "as long as when I visit them using my browser with my configuration settings under my OS using my I/O devices they behave well enough that I can use them". I thought that I had successfully implied that. Sorry.

      --
      He's getting rather old, but he's a good mouse.
    17. Re:Well, that depends.... by interploy · · Score: 2

      Really though, if over 95% of the web isn't "standard" then maybe they need to rethink what is and isn't standards-compliant.

      I haven't read TFA, but I assume they're only going by what the W3C standards are, and anything outside of those parameters gets knocked. But really, there isn't a single browser that's 100% standards compliant, so it'd be a better judge to see how many sites work across all the major browsers instead of how many sites' code matches a standard not even the browsers fully support.

    18. 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.

    19. Re:Well, that depends.... by billcopc · · Score: 2, Informative

      Standards do help, but the problem is the leading browser doesn't follow the standards too well.

      My primary browser is Firefox, so I do 90% of the development in there. The last 10% is spent adjusting little bits and bobs for IE6/7. It doesn't matter that my pages validate, and that I'm pretty damned good at making my spaghetti code spew proper XHTML - IE is still a retard.

      Where I work, we guarantee only one browser: IE6. Anything else costs extra, because of the testing involved. If someone wants us to guarantee their site will run perfectly in Opera or any other browser, they have to cover our time spent testing and massaging the markup. Sometimes that can amount to another 2-3 days of billable time on a big site/app.

      I don't use Konqueror at all for web browsing. Frankly I wish it would just embed the Gecko engine and be done with it.

      --
      -Billco, Fnarg.com
    20. Re:Well, that depends.... by sanosuke001 · · Score: 2, Interesting

      Actually, I wish browsers would fail miserably when they find a non-compliant error instead of working around it like with HTML.

      In a program using [insert favorite (real)language here], when you have a syntax error it dies a horrible death. In testing, that's fine. You can fix it. Fixing things keeps them tidy and requires it to fit certain rules.

      If your compiler saw ints=5; instead of int s = 5; and decided that ints should be a string, would you be happy? Then, when you wanted to do s = s + 6; and got 6 (because s hasn't been declared and your compiler decided that was ok, too) would you be happy? Would that suck to try and debug?

      That's HTML.

      --
      -SaNo
    21. Re:Well, that depends.... by morgan_greywolf · · Score: 2, Insightful

      Well, I'm not person who called you a jackass, obviously, but I would say that your argument is not well thought-out. First you, said it's "not fair, not right and not changing" or something like that. That's completely factually incorrect. IE 8 has "compatibility mode" (aka "render this page like IE 6") turned off by default. IE 8 is much closer to standards-compliant than any Microsoft browser that came before it.

      What does this mean? It means that Microsoft is taking action to change the current situation. That means that it is changing -- for the better.

      Secondly, I believe the person named 'AmberBlackCat' was obviously offended by your insensitivity to the plight of people with disabilities. And so was I. I think you wrong folks with disabilities with your attitudes towards their plight. Wouldn't you want people to be more sensitive to you if you suddenly became disabled? Because it could happen -- one day you walk out on the street and get hit by a driver who wasn't paying attention, for instance.

      Note that for certain U.S.-based Web sites, at least, it might even be illegal for say, an e-commerce site to fail to make reasonable accommodations for the blind under the Americans with Disabilities Act. Other countries have similar laws on the books. (IANAL and this is not legal advice, blah, blah)

    22. Re:Well, that depends.... by BenoitRen · · Score: 2, Insightful

      Okay, tell me where the document is that defines and explains how IE renders things. What is that? It doesn't exist?!

      You're coding on borrowed time. It's far easier to tweak a standards compliant site that will reliably work in non-IE browsers to work in IE than fumble around with code, hoping that it will display in IE and other web browsers.

      Developing to standards ensures that your website will look how you want it to in browsers to come. Browsers you can't test. You have far less chance of this being the case if your code doesn't conform to a well-defined standard.

      For the record, I actually practice what I preach, and it works well!

  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
    2. Re:W3C by Bogtha · · Score: 3, Insightful

      IE was the first browser to implement CSS 2 as specced by the W3C, who then, faced with a working implementation from a large company, decided to make major changes to the spec.

      This is quite simply delusional. Here is the first released specification for CSS 2. Go and read the tables section. Go and read the generated content section. Go and find out when Internet Explorer had a working implementation of these features. Then go and inform Microsoft, because they, along with the rest of the world, seem to be under the impression that these are new features in the Internet Explorer 8 betas.

      In actual fact, there have been changes made to CSS 2 that make Internet Explorer more compatible. For instance, display: inline-block was originally an Internet Explorer proprietary feature that was added to CSS 2.1.

      --
      Bogtha Bogtha Bogtha
  5. I wonder if by Jane_Dozey · · Score: 2, Interesting

    I wonder if they're throwing away every page that doesn't fully comply or if they're actually including the pages that almost comply but have a typo or missing doctype or missing closing tag. I'm guessing the former by the numbers which seems a little unfair to me.

    --
    Silly rabbit
  6. 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.)

  7. 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.
  8. 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"?

  9. 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.

  10. Re:How compliant? by DZign · · Score: 2, Interesting

    Also depends on how old the websites they searched are..
    only recently added websites or also websites and old pages that exist longer than the standard they validated against exists ?

  11. Re:Some standards are just too strict... by mikael_j · · Score: 3, Informative

    For example, xhtml-strict does not include support for "target" attributes in links. What kind of idiotic decision was that?

    A very good decision, there are two main uses for the "target" attribute:

    • Frame-based sites - Old-school, annoying way of designing sites that I and many others feel should not be used for new sites.
    • To automatically open links in a new window - Annoying behaviour by web developers who think no one could possible want to, god forbid, leave their site in favor of another site.

    /Mikael

    --
    Greylisting is to SMTP as NAT is to IPv4
  12. Sad. Even sadder is the yet-another-feature creep. by bboxman · · Score: 3, Insightful

    This is sad. The situation is even worse in some non-English web domains.

    Why can't the web stick to something simple? 95% of the sites I use, would be fine with just plain simple HTML 2.0. Instead, we've got javascript, CSS, XHTML, and other buzzwords. Which in the end, take control of how a web page looks from the user's hand.

    I like to read text, on a monitor, green on black (or white on black). I would like to format a web page the way I want to see it.

    The vast majority of the web is simple formatted text. There is no reason for this to constantly evolve onwards and onwards.

  13. Re:Some standards are just too strict... by hansamurai · · Score: 2, Interesting

    The lack of a target attribute really bothered me when I first ran into it. Their argument was something like how websites shouldn't be controlling the browser, as in creating tabs/windows, etc. Of course you can hack it in with Javascript which is something I refused to do, what's the point of striving to be standards compliant when you break it a minute later with Javascript? Anyways, I thought about it and kind of agreed with the notion, so now I just externally link a lot less.

  14. Re:It is not funny. by Shados · · Score: 2, Interesting

    Even if your app is 100% standard compliant, it may not be cross browser. Not even if you pull IE out of the equation. Not even if you ONLY TARGET FIREFOX (there are differences between FF2 and FF3. FF2 doesn't even fully implement CSS 2 itself...)

    So by now, devs have reverted to another philosophy: make websites that are crossbrowser, and -mostly- standard compliants.

    If you look at some of the most heavily cross browser web sites out there, especially the ones that are extremely backward compatible (down to Netscape 4), they are in HTML 4 quirk mode, and not standard at all. But they work better than most.

    The standard also doesn't dictate defaults, which is quite the big hole. Being standard compliant doesn't help too much. Add that the standard evolves extremely slowly, and if you want to get the job done, you need to bypass it.

    Thats why the W3C stuff is a standard proposition. No one "has" to adopt it. There are good standards out there, but as a general rule, anything coming out of the W3C is a joke of a swiss cheeze. Looked at the XQuery specs lately? My significant other works on a project to implement a full XQuery engine. A -lot- is left to interpretation, is loosely defined, etc. Same with XHTML and CSS. Even fully implemented, its vague, poorly designed (hellllooo.... versioning anyone? API 101?), and all around pathetic.

    The faster we get rid of it, the better. Either by a proprietary spec (Flash may not be open source, but at least it freagin work, mostly cross platform if you don't care to use the latest version at all time...better than XHTML/CSS anyway...), either by a new standard body that doesn't suck at -everything- they do. XQuery, XHTML, CSS, SOAP, XSD, XML... can they do ANYTHING right?

  15. and that's not a problem by circletimessquare · · Score: 3, Insightful

    1. the web is still evolving, the standards keep changing. no pressing need to lock things in
    2. it is superior design to have a browser that gracefully degrades rather than being and brittle and refusing to render everytime someone forgets to close a <p> element. not simply because of nonstandard pages, but for a whole host of other reasons, including handling partial transmissions
    3. the strength of the web is open participation, low barrier to entry. hobbyists should publish, and this is a good sign. hobbyists should not expected to be anal retentive standards zealots

    complete standards compliance should always be low on the web because this is a sign of a HEALTHY internet, because it means nonprofessionals are contributing content. this is always a good thing, this what made the internet a powerful nw form of media in the first place. if ever there were some sort of gatekeeper organization or rigorous technical specification that enforced standards compliance, you would raise the barrier to entry onto the web by regular joes. you would reduce the variety of the web, make it more monoclonal, and hurt a vibrant ocmmunity

    low standards compliance is not only a complete nonissue and not a problem, its a good sign. the lower standards compliance is, the better for us all

    --
    intellectual property law is philosophically incoherent. it is your moral duty to ignore it or sabotage it
  16. 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
  17. Re:How compliant? by Bogtha · · Score: 2, Informative

    Depends on how strict they're being.

    There aren't degrees of validity. A document is either valid or it isn't. You can't be "more strict" when validating something, if a tool offers you an option like that, then it is doing something other than validating, it's probably linting as well. There's at least one widely-used "validator" that doesn't actually validate at all.

    For example, I never close paragraph and line break tags, but otherwise my html is compliant.

    Yes you do. If you didn't close them, your pages wouldn't work in any browser. What you mean is that you don't explicitly close your paragraph and line break elements. And you don't have to. The closing tags for <p> elements are optional and the <br> element type is empty. Those are not errors.

    --
    Bogtha Bogtha Bogtha
  18. 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.

  19. 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
  20. Slashdot by FlyingBishop · · Score: 2, Interesting

    http://validator.w3.org/check?uri=http%3A%2F%2Ftech.slashdot.org%2Farticle.pl%3Fsid%3D08%2F10%2F16%2F1325215&charset=(detect+automatically)&doctype=Inline&group=0

    If Slashdot shows up with 28 errors, would you really expect anything at all out of the non-technical media?

  21. 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.

  22. 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.

    1. Re:4.13% compliance doesn't really surprise me. by NoNeeeed · · Score: 3, Insightful

      As I said, I will, but it is low down my priority list because there are other things that will actually make a difference to my site's users that I need to do first. HTML standards compliance is, for most people, irrelevant. It's like using perfect grammar, it's a good thing to have, but failing doesn't make you unintelligible. Only when your grammar is really bad, or your standards compliance is utterly terrible, do you become unintelligible (to man and browser), at which point it becomes a problem.

  23. What good are "standards" by PortHaven · · Score: 3, Insightful

    When they don't work with the tools (various browsers).

    Better to build a website that works, than one that meets standards but display poorly in the browsers of your users.

    Ask yourself this simple question. If it does not look good in the browser, is your client going to accept "Well it's coded to standards!". Heck no...

  24. 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
  25. 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.

  26. Re:Sad. Even sadder is the yet-another-feature cre by I.M.O.G. · · Score: 3, Interesting

    The best thing for you to do is to provide your own CSS file and tell firefox to use it rather than anything provided by the website you are visiting.

    This will style all sites similarly, and will work great for sites that atleast have well-structured HTML. Sites that at least have properly structured HTML are much more common than sites which are standards compliant.

  27. Re:Some standards are just too strict... by SanityInAnarchy · · Score: 2, Informative

    Not really a lot of point to it, though -- savvy users will simply middle-click on the link if they want it in a new tab/window. If they don't, that generally implies they want it right where it is, and your attempt to open a new tab/window is going to be annoying.

    But hey, at least using a target for that is better than linking to a javascript: URL. A lot of sites are even worse -- they add an onClick event, and they set the link href to #, or to javascript:void(), meaning that middle-clicking on it inevitably does something unexpected.

    My preferred method (if I ever need to force a new window) is to use a plain old link, and progressively enhance it with Javascript to open a new window. That way, if people middle-click, it does exactly what they want.

    --
    Don't thank God, thank a doctor!
  28. Re:It is not funny. by Firehed · · Score: 2, Interesting

    You can make a site that works fine in every browser that's XHTML 1.0 Strict. Chances are that you'll have to use some non-standard (and probably invalid) CSS in a conditional stylesheet, but that a) doesn't count in terms of X/HTML validation and b) is only linked from the inside of a comment read only by IE, so even if CSS validity was part of being valid X/HTML it wouldn't be checked by the validator.

    Granted, you may need to add in some extraneous tags in order to implement the proper CSS hacks, but that makes them extraneous not invalid. But that's just as true for implementing rounded corners, which is in CSS3 (and accessible in Safari and Firefox by using the -webkit-border-radius and -moz-border-radius properties respectively) but is an unnecessarily large pain in the ass to implement on any element that isn't of a fixed width and height.

    You're absolutely correct that IE6 is a huge PITA to code for (as is IE7, but less so), but if you start with valid code that displays identically in Opera/Webkit/Gecko engines, you usually end up with something that doesn't take _too_ much hacking unless you have a really weird layout. My biggest problems, aside from those random 3px gaps that seem to occur mostly with floated elements, is font color inheritance on links and the various pseudo-classes, :hover in particular.

    For plenty of the projects I've been working on recently, I can safely ignore IE6 entirely (making a conditional stylesheet wouldn't be TOO hard, but I can't be bothered right now) and IE7 doesn't usually have too many issues. It's certainly a nice change. Combined with fully cross-browser JS libraries like jQuery, my life as a web developer is a whole hell of a lot easier than it once was.

    --
    How are sites slashdotted when nobody reads TFAs?
  29. Re:Sad. Even sadder is the yet-another-feature cre by Firehed · · Score: 2, Interesting

    So override with a stylesheet that looks roughly like:
    * {
    color: #0F0 !important;
    background-color: #000 !important;
    }
    div {
    display: block !important;
    float: none !important;
    }

    and you'll be all set. The rest of us tend to like looking at something that doesn't resemble a terminal window all day long. There's a reason that browsers provide the ability to override stylesheets and disable javascript. CSS, JS, and all of that other stuff don't take the presentation layer away from you (in fact, they make it a hundred times easier to override rather than the inline styles of old), they just provide defaults.

    --
    How are sites slashdotted when nobody reads TFAs?
  30. Re:It is not funny. by SanityInAnarchy · · Score: 3, Insightful

    Serious issue?

    Well, yes. Unless you think the Internet isn't important, or that it wouldn't make a difference if the web was controlled by a single person. I think that certainly puts it above "what costume will I wear" kind of serious.

    And your sig betrays you -- you seem to take yourself just as seriously as the rest of us take things that actually matter.

    I mean, when I go to the bank to cash a check, I don't worry they won't give me money unless I can prove I'm using Firefox at home.

    Well, when you go to cash a check, you shouldn't really have to prove anything, other than that you can sign for it.

    But I've seen banks that only work on IE. I haven't seen banks that only work on Firefox.

    --
    Don't thank God, thank a doctor!
  31. Re:Some standards are just too strict... by Bogtha · · Score: 2, Insightful

    When a link is possibly important to a user but would in fact break the flow of their current activity, a link should be set to open in a new window - preferably one which does not go full screen to hide the window they are really using.

    If you use the target attribute, you have no control over the size of the window and it is very likely that it will obscure the current window. You need JavaScript to get the effect you desire, and if you are using JavaScript, why bother with a new window when you can dynamically display the content in the context of the current page?

    --
    Bogtha Bogtha Bogtha
  32. How to do your bit for standards compliance by Ed+Avis · · Score: 2, Interesting

    Nowadays making sure your site is valid HTML is easy. Just install the excellent HTML validator plugin for Firefox. It gives you a tick or cross icon on each page; double-click the cross to view the page source with a list of errors. It does the validation locally on your machine, not sending the content off to some server, so it's fast.

    If you're writing dynamically generated pages it is a great way to find bugs in your code, and it's unobtrusive enough to leave it turned on all the time.

    --
    -- Ed Avis ed@membled.com
    1. Re:How to do your bit for standards compliance by Cope57 · · Score: 2, Informative

      There is also a Web Developer plug-in available at the FireFox Add-ons site.

      --
      http://www.accountkiller.com/removal-requested
  33. Re:Oh great by Yvan256 · · Score: 2, Funny

    Have you tried getting some soup lately? That's even worst.

  34. 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!
  35. Re:Sad. Even sadder is the yet-another-feature cre by DorkRawk · · Score: 2, Insightful

    Why can't the web stick to something simple? 95% of the sites I use, would be fine with just plain simple HTML 2.0. Instead, we've got javascript, CSS, XHTML, and other buzzwords. Which in the end, take control of how a web page looks from the user's hand.

    I like to read text, on a monitor, green on black (or white on black). I would like to format a web page the way I want to see it.

    The vast majority of the web (that this user likes to view) is simple formatted text. There is no reason for this to constantly evolve onwards and onwards.

    Face it, you are the minority. Hell, most people here on Slashdot are the minority. First off, CSS, XHTML, and Javascript aren't buzzwords. They are technologies (AJAX is a buzzword... but it's still pretty cool). If a web page doesn't control how it looks who is? The user? Listen closely... MOST PEOPLE LIKE THINGS THAT LOOK NICE AND DO COOL THINGS. THE NUMBER OF PEOPLE WHO WANT TO READ MONO-COLOR TEXT FOR ALL INFORMATION OUT THERE IS VERY MINIMAL. If you don't need any of it, browse without stylesheets, images, and javascript turned on.

    The Amish get by just fine without electricity and things like that, but they don't try to fool themselves into thinking that nobody should have it, just because they don't want it.

  36. Re:Some standards are just too strict... by icebrain · · Score: 2, Insightful

    The trick is making it work for the average or new person, while not screwing it up for the experienced. For this example, if you want the link to open in a new window with a normal click, make sure that middle-clicking on the link doesn't break it.

    --
    The meek may inherit the earth, but the strong shall take the stars.
  37. Don't BLINK or you'll miss it. by Smivs · · Score: 2, Interesting

    BLINK will validate. To my eternal shame I've used it on my Home site's humour page and it passes w3c validation (just checked it to make sure). P.S. please don't slashdot me!

  38. Opera's article by Anonymous Coward · · Score: 2, Informative

    Here's Opera's article, with actual numbers:
    http://dev.opera.com/articles/view/mama-markup-validation-report/

  39. Re:How compliant? by Jim+Hall · · Score: 2, Insightful

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

    Actually, not quite that simple. My top-level page currently gives 66 validation errors. Guess how many are from content I've had to include from a third party, where I have no control over their standards compliance? 66 of them - 65 are from WebRing, 1 is from a news feed.

    For those of you who are bad at math, that's all of the errors on that page. Note that all my other pages validate just fine, since I don't include third-party content there.

    Being part of the WebRing is still important for my site, so I have to live with the 65 errors. Not much I can do about it, so I wrote some code into the PHP to not display the WebRing content if I pass it a flag/option, and I use that flag when I validate since I know I'll get errors otherwise.

    If there's a better way, let me know.

  40. Standards by BhaKi · · Score: 2, Insightful

    The very purpose of standards is to make "Working" a property of a website. It is a shame that the world let M$ kill standards.

    --
    The largest prime factor of my UID is 263267.
  41. Re:Try this. by pizzach · · Score: 2, Insightful

    It looks like the page is more about upgrading browsers rather than changing browsers (at least for now). The message is more akin to the gas attendant saying "Fix your muffle because it's a nuisance to other people on the road," and not "Get a new car!" The original poster said nothing about changing browsers either.

    --
    Once you start despising the jerks, you become one.
  42. Re:It is not funny. by Shados · · Score: 2, Interesting

    However, the working subset that you can use is much larger, and the browser-specific hacks are almost nonexistent.

    Only because we're brainwashed in seeing the web as incredibly limited. The "standard" allows for a lot of things that even FF2 doesn't support (only FF3). Display:inline-block anyone? Oh, there are ways around it, either through hacks, or through workarounds... but when I was is a (&@&)(&#)(#@ block that is...I don't know...inline... it would make sense if I could use inline-block. But nope, not if I want to support FF2. Sure the subset you can use without IE is much larger, but you still need to test cross-browser, heavily, no matter what, which was my point. That your page validates is almost irrelevent.

    Erm, it's not the standard that moves slowly. It's adoption

    The standard moves slowly as hell. The W3C is a huge entity made of various special interest groups. That cannot go fast no matter what, AND its disconnected from reality (thus slowing down adoption). Even an -open source browser with Google as a sugar daddy pumping MILLIONS into it takes half a decade to get anywhere-. Same with everything the W3C piss out. It takes years to resolve real problems, because they're too busy with edge cases (XML namespaces mess!) to pump out specs that are useful.

    During that time something like Silverlight gets implemented by Miguel's team in a fraction of the time, and thats a freagin Microsoft product thats supposed to be crappily documented. If you ask the people who designed the specs, they'll tell you it was MADE to be easy to implement (thus its limitations, such as absolute positioning against the closest relative parent, or lack of vertical control aside with the table-* category of displays), but if you ask anyone who actually implements it, they have a different story.

    Ivory Tower, meet real world.

    Consider, again, how much better life is when you take IE out of the equation.

    Ironically, the only reason the standard picked up in the first place was that IE had the best support for it for the longest time :) A lot of the stuff in the specs made it in IE first, too, albeit differently (opacity, ajax, etc)

    Erm, XHTML 1.0? And 1.1?

    You sound like you know what you're talking about, and then you forget about the fscking doctype.

    The part in parenthesis was only about CSS. The part before applied to both XHTML and CSS. CSS versioning is so bad, that when its features get implemented (like by IE8), the community cries foul and say that in -THIS- case, IE8 should break the standard because its stupid. XHTML versionning -is- stupid too though. Its possible to get an XHTML 1.1 page that fully validates, yet its not even XHTML 1.1 (which is very different from 1.0)

    For what it's worth, I don't use XQuery. I let jQuery worry about the browser quirks involved -- and I write my queries as CSS selectors, anyway, rarely XQuery-like.

    XQuery has NOTHING to do with browsers. Its an XML API like DOM and XSLT :) Think SQL for XML. The specs are awful, and because of that, even though its much smaller to implement than XHTML/CSS, no one actually has a full implementation. Everyone is guessing. You'll see implementations on the market that claim being full, but if you talk with their developer, yes, its a perfect implementation of what was clear, with perfect guesses on the rest. I don't have a clue why you're comparing XQuery with JQuery though.

    Finally, its easy to make a site thats standard compliant if the person making the design is the same as the person coding it. Then you can stick to the subset of what XHTML/CSS is good for. The CSS Zen Garden is an example of that. They start from the structure, and then do the best layout they can from that. If they start from a photoshop made by a designer, then try to apply it, its going to be another story.

    There's a reason there's now a group for HTML 5.0... because even the experts thought the W3C's current specs are disconnected from reality.

  43. Re:The real world goes beyond IE and Firefox by elrous0 · · Score: 2, Insightful

    If it looks and works the same in both IE and Firefox, the odds are pretty high it's going to work just fine in Opera and Safari too. If that weren't the case, trying to use Opera or Safari (with so many designers designing for and testing on IE only) would be a huge hassle.

    --
    SJW: Someone who has run out of real oppression, and has to fake it.
  44. Comment removed by account_deleted · · Score: 2, Insightful

    Comment removed based on user account deletion

  45. Re:Sad. Even sadder is the yet-another-feature cre by coopaq · · Score: 3, Informative

    XMLHttpRequest is now a standard since everyone decided to "ignore standards" and use it anyway.

    http://en.wikipedia.org/wiki/XMLHttpRequest

    "The World Wide Web Consortium published a Working Draft specification for the XMLHttpRequest object's API on 15 April 2008."