中文版:
http://www.456bereastreet.com/lab/developing_with_web_standards/zh/
1.blockquote 中不可直接跟inline元素,而必须p等块元素
2.asp serve 正确的MIME类型
<%
If InStr(Request.ServerVariables("HTTP_ACCEPT"), "application/xhtml+xml") > 0
Or InStr(Request.ServerVariables(“HTTP_USER_AGENT”), “W3C_Validator”) > 0 Then
Response.ContentType = “application/xhtml+xml”
Response.Write(“” & VBCrLf);
Else
Response.ContentType = “text/html”
End If
Response.Charset = “iso-8859-1″
%>
3.服务器端也要serve 编码声明
header("Content-Type: application/xhtml+xml; charset=utf-8");
?>
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提供了