再看Developing With Web Standards

Developing With Web Standards

中文版:

http://www.456bereastreet.com/lab/developing_with_web_standards/zh/

1.blockquote 中不可直接跟inline元素,而必须p等块元素

2.asp serve 正确的MIME类型

显示更多

3.服务器端也要serve 编码声明

显示更多

4.According to TheCounter.com, 6% of web users have no JavaScript. W3Schools.com reports 8%.

5.semantic URL

BTW:解释了为什么要用 scope,这样替换 colspan,空 td可以省略

跨行和跨列

在以前用表格布局的年代,rowspan属性和colspan属性常被用来让单元格跨几列或跨几行,来布局那些经过整齐切割的图像。这两个属性现在还在用, 因为并没有CSS来控制单元格的跨行和跨列。仔细想想,其实是很有道理的:跨行和跨列示表格结构(structure)的一部分,而不是其表现(presentation)。

列和列组:

HTML提供了

标签来为相关的表格列分组。这样就可以(在一些浏览器中)使用CSS来单独的为列样式化。列组也可以使用scope属性来标明其表头信息。

[Edit on 2005-12-2 19:04:44 By guoshuang]
[Edit on 2005-12-2 22:05:35 By guoshuang]
[Edit on 2005-12-5 15:39:56 By guoshuang]

Leave a Reply

相关日志: