Skip to main content

Standards compliance, huh?

I decided to run quick CSS and HTML/XHTML markup validation tests on major sites using the tools on the W3C website (here: markup and CSS). Here’s what I found:

site markup errors CSS errors
Google 62; 9 warnings 1
Slashdot 145 none
Wordpress.com none 52
Technorati 13; 6 warnings 19
Yahoo! 48; 44 warnings none
NYTimes.com 318; 69 warnings 52
Microsoft 176; 36 warnings 33
Lifehacker 314; 70 warnings 2

Despite such errors, since browsers will almost always load pages the way they were intended to, it makes sense to reduce code, especially when your site receives millions of hits. Google’s homepage, for instance, doesn’t even have a DOCTYPE declaration. But as web designers and students of the trade who are persistently insisted across textbooks, websites and workplaces to follow standards, where does that leave us?

Comments

  1. If you've got all the time in the world, or a big budget and big staff, or a pre-existing site you just hacked together that just so happens to work in most browsers, standards compliance means little as long as its accessible (mostly for the impared, visually or physically).

    However, for someone like me, standards are vital: when I'm designing a site from scratch, I need to get the best result with as little effort as possible. Standards let me do this, since they significantly cut down on the number of bugs that crop up.

    Of course, unlike the new york times and all them's folk, I don't have to support IE6, Netscape Navigator 5.0.x, etc, just the current generation of browsers with pretty good support.

    ReplyDelete
  2. It's only when I got to understand web standards did I realize web pages are indeed documents, with given structures aimed at storing and presenting data while making it accessible. Web standards make a lot of sense, but as you point out, the big organizations seem to muscle through everything!

    ReplyDelete

Post a Comment

Popular posts from this blog

How to get rid of the Blogger navbar

There's hardly a Blogger user to be found who hasn't been irked by the navbar. True, it’s not entirely useless – it lets you quickly log on to Blogger and provides a quick customization link. But by just being there the navbar brings a generic look to your blog, which is enough to make readers not take it seriously. On top of that, the navbar allows any Blogger user to flag your blog! (Which, assuming you’re one of the good guys, puts you at the mercy of the goodwill of your diverse readership.)Therefore it’s imperative that you hide your Blogger navbar, or at least know how to. In case you’re wondering, the Blogger Terms of Service doesn’t say anything about the navbar, so you’re good to go.Hiding the Blogger navbar1. Sign in to your Blogger account. This will take you to your Dashboard. Click on the Layout link of your blog.2. Click on the Edit HTML link on the Layout page. Don’t worry, you don’t have to know anything about HTML! I’ll take care of the code.Scroll down the Ed…

Miscellaneous security software (part 1)

This is part 9 in my Optimizing Broadband|Windows|Firefox series and part 1 of my reviews of miscellaneous security software. Covers anti-spyware, anti-adware, registry cleaners, junk file cleaners, and install monitors.The following aren't really reviews, but should provide you with everything you need to know.

Anti-spyware and anti-adware reviews
Most antivirus applications today come with built-in anti-spywares, so unless you're suspicious something is wrong with your PC you don't need to worry. However, it would be a good idea to install a third-party anti-spyware and anti-adware once in a while to make sure everything's under control. The chief anti-spyware and anti-adware brands are Windows Defender (from Microsoft), Ad-Aware 2007 Free (Lavasoft), AVG Anti-Spyware Free Edition (Grisoft) and Spybot S&D (Safer Networking). Note that I haven't mentioned any paid software, such as the popular Spy Sweeper (Webroot Software). It hardly makes any sense to spend m…

Adding a line break in Excel

I keep forgetting this! To add a line break/create a new line in an Excel cell, press Alt+Enter. Problem solved!