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

四大域对象和9大隐式对象

1.四大作用域: 一.ServletContext(ServletContext类) ①在jsp中为 application ②生命周期: 1.开始:web应用启动时创建整个web中的Serv...
  • chanjkf
  • chanjkf
  • 2016年11月23日 16:44
  • 298

JavaScript:世界上最被误解的语言

JavaScript:世界上最被误解的编程语言
  • Bumphy
  • Bumphy
  • 2017年06月17日 22:24
  • 258

被误解的MVC和被神化的MVVM

被误解的 MVC   MVC 的历史   MVC,全称是 Model View Controller,是模型 (model)-视图 (view)-控制器 (controller) 的缩写。它表示...
  • ceshi986745
  • ceshi986745
  • 2016年07月01日 12:38
  • 3849

Web Service相关规范

Web Service概述Web Service是一个平台独立的、低耦合的、自包含的、基于可编程的Web应用程序,可使用开放的XML(标准通用标记语言下的一个子集)标准来描述、发布、发现、协调和配置这...
  • accountwcx
  • accountwcx
  • 2015年08月04日 17:17
  • 3605

JSP整理总结--9大内置对象、4个作用域

九大内置对象 无需在jsp中声明即可使用的9个对象 * out(JspWriter):等同与response.getWriter(),用来向客户端发送文本数据; * config(ServletCon...
  • u012068523
  • u012068523
  • 2015年07月07日 20:46
  • 1035

9大内置对象、4大作用域、session的生命周期

jsp的九大内置对象?对应servlet中的java对象? ------------------------------------------------------------ request...
  • CSDNgaoqingrui
  • CSDNgaoqingrui
  • 2015年09月16日 15:42
  • 233

被人误解的设计思路2

前几天写了一稿,当然当中有部分是网上摘录的。有朋友提到了马桶的设计,我觉得有必要学习一下,于是也在网上查了一些资料,摘录给各位。 关于马桶,我们其实有时候真的深受其害。我其实用的时候,真的也会遇...
  • lili893628843
  • lili893628843
  • 2016年09月12日 14:23
  • 205

WEB、WEB标准、W3C的理解

Web,web标准,w3c的简单认识与理解
  • summer_zmc
  • summer_zmc
  • 2016年12月20日 22:28
  • 525

Gartner:关于SDN的七类常见误解

编者按:SDN给大家的感觉就像duang的一下就火起来了,完全是特技的魔法,但很多人都对SDN抱有各种各样的误解,本文将带你初步了解这些误解。      在过去几年当中,SDN理念已经在主流业界获得...
  • SDNLAB
  • SDNLAB
  • 2015年04月02日 13:57
  • 648

基于Web标准的网页设计与制作知识整理

web网页设计与制作
  • u010705932
  • u010705932
  • 2016年08月31日 11:34
  • 867
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:对Web标准的9大误解
举报原因:
原因补充:

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