对Web标准的9大误解

转载 2006年06月26日 10:22:00
Misunderstanding #1: "We Need Separate Print Pages"
This is old news, but why do I consider it noteworthy? Because it's the #1 application where media-dependent CSS, on top of media-independent HTML, ought to come into play... and yet, and I'm guessing, only 5% of all pages make use of it. You'd think after years of evangelizing done by web developers, the likes of CNN or Wired would have gotten the point.

Misunderstanding #2: "We Need an Alternative Mobile Web on Top of the Existing Desktop Web"
WML, the WAP's Wireless Markup Language, is dead today for a good reason: there was no need for this species in the course of web evolution. Even before WML was invented, plain vanilla HTML was created to be media-independent. Not by accident, but by design, because platform-dependence was one of the main problems Tim Berners-Lee tried to solve when inventing the World Wide Web and HTML.

Misunderstanding #3: "Accessibility Means to Always Use Alt Text"
The meaning of alt text is to serve as replacement (hence, "alternative") when the image the HTML intends to serve cannot be seen. There's a variety of reasons for that to happen; the user is blind, the medium doesn't support images, the user disabled images on purpose so she can browse on low-bandwidth, or the Googlebot comes around to visit.

Misunderstanding #4: "Sites Always Become More Accessible With CSS"
The biggest advantage of CSS is simply that it helps developers create websites much faster by separating layout and content. As far as that's possible, and it's certainly not possible 100% – which brings us to our next point.

Misunderstanding #5: "With CSS We're Completely Separating Content and Layout"
CSS doesn't completely separate content from its layout – only a template system can do that. CSS has its place on top of the template system, and greatly simplifies the HTML (if you think there's div soup today, you've got to see true 1996 table soup... it's worse.)

Misunderstanding #6: "With CSS, You Can Do the Design Later"
The real problem I'm seeing here, however, is that some people – heck, I was often one of them – tend to forget to add a fine-tuned design at all, happily using valid HTML + CSS as excuse for not having a page layout (relying on user stylesheets alone is not an option). Have you ever come across one of those black-on-white sites of nothingness, where the only graphical element is a "valid HTML" badge?

Misunderstanding #7: "The Web's Becoming More and More Accessible Every Day"
I think the biggest factor making accessible web sites a reality today is that most people simply don't do HTML anymore – they use ready-made blog templates. And several blog templates deliver good, strict (X)HTML.However, there's another movement throwing needles at the high-flying balloon of accessibility, and partly, usability; it's The Return of JavaScript (Episode III: A New AJAX).

Misunderstanding #8: "The Semantic Web is Just Around the Corner"
Today, the W3C is putting much of its efforts behind the Semantic Web (also described by Tim Berners-Lee in the second part of his book Weaving the Web). But Cory Doctorow put it so well back in 2001: people lie, and people are lazy. And I got a feeling even the W3C misunderstands why some of their web standards took off (they are relatively simple to apply, and certain complexities can be ignored without dangers), and I also got a feeling lower-case semantic web AIs, e.g. Google's Q&A feature, will be quicker to show results.

Misunderstanding #9: "CSS Hacks Are Always Superior"
Those hacks are fun, sure, but are they superior to HTML table layout hacks? Well, a little, but CSS hacks are still just that: hacks. Workarounds that will cause troubles with every new browser. Workarounds the new developer won't get when you're away, unless she's a CSS expert. So instead of thinking that CSS hacks are a great way of developing websites, it's better to use them sparingly and accept them as what they are: an often necessary evil.

相关文章推荐

精通CSS[高级Web标准解决方案][9/11]

  • 2008年08月28日 17:15
  • 4.29MB
  • 下载

ITIL的十大误解

  • 2014年09月05日 23:38
  • 4KB
  • 下载

【产品经理】产品经理认识十大误解

产品经理需要创造产品。上帝也是个产品经理,他创造了人这个产品。做一个成功的产品非常难,除了有资源、时机等问题以外,更大因素在产品经理自己。好的产品经理能协调资源,能把握时机。但产品经理自己也经常犯错误...

设计模式10大误解

  • 2007年12月14日 18:47
  • 314KB
  • 下载

设计模式10大误解.pdf

  • 2007年12月31日 22:18
  • 304KB
  • 下载

数据分析常见的两大误解

简单地聘用数据分析负责人和购买顶级的数据分析工具,并不代表你的公司已经拥有数据分析的能力。因此,首先理解数据分析的基本知识,是非常重要的。   误解1:数据分析不是技术也不是报告     ...

白光LED的七大误解

  • 2013年11月08日 16:21
  • 129KB
  • 下载

设计模式10大误解

  • 2007年08月12日 22:06
  • 225KB
  • 下载

网络安全中的机器学习5大误解,我知道三个

比方说,在处理客户端文件的时候,绝大多数文件都是安全的,只有少部分是恶意的。 后者是会变异的,但是你设计的模型可以自己学会应对。...
  • Anprou
  • Anprou
  • 2016年12月01日 16:06
  • 1161

企业对CRM管理系统的三大误解

这真是一个有趣的事情。一些企业明知道他们的同行和竞争者可能失败却仍然要跟风;尽管有那么多客户没有实现预想的结果,但专家们仍然继续吹捧CRM管理系统的好处。为什么会这样呢? 答案其实很简单。那就是这些...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:对Web标准的9大误解
举报原因:
原因补充:

(最多只允许输入30个字)