Lim Chee Aun

Web standards breakage

Hear, hear. Code for standards, don't code for browsers. Site developers, web authors, repeat that mantra every day please?

http://meyerweb.com/eric/thoughts/2004/12/01/unbreaking-the-web/#comment-2404

Indeed.

I read Tristan Nitot's article and Eric Meyer's comments. It's a good read, focusing on issues of web standards support and web breakage. I never actually thought about web standards breaking old web pages. I adopt web standards because it's the right thing to do. Some web designers don't because Internet Explorer, the dominant web browser, doesn't support much of it. The majority prefers Internet Explorer because it renders most web pages better, thanks to its wonderful error handling. Some novices even thought that Internet Explorer is the Internet itself!

All I can say is that all these are wrong. Web standards make our work easier because it forms a central reference for all web designers and developers. We don't have to create different versions of the web page for each browser. In my opinion, error handling in browsers is useless because it won't help any web designers to learn from their mistakes. If Internet Explorer can introduce all those proprietary CSS filters, behaviours, conditional comments, et cetera, why not complete support for CSS 2.1, PNG alpha-transparency and correct XHTML media types? If the Mozilla developers can do it, why not the IE development team?

Supporting web standards wouldn't break the web. It will improve the web. When more people learn about web standards, more web sites will get better in terms of visual design, content management, usability, accessibility, and forward compatibility. Instead, not supporting web standards would break the web. Proprietary codes, horrible tag soup, deprecated tags, and browser-specific hacks would mess up the web and leave it stagnant. Ironically, it even breaks Internet Explorer!

So, the truth is out there. It's either Microsoft adopts web standards into Internet Explorer, or we adopt other standards-compliant browsers right away. For me, I've already made my choice and chosen the latter.