摘要:
HTML 5结构元素 这真是大快人心。目前,我们定义结构只能通过一个“万能”的div, 试图通过设置它的特性id的值如header, footer, sidebar等来分别表达头部,底部或者侧栏等。有了它们,代码编写者不再需要为id的命名费尽心思,对于手机、阅读器等设备更有语义的好处。HTML 5增加了新的结构元素来表达这些最常用的结构: ◆section: 这可以表达书本的一部分或一章,或者一章内的一节 ◆header: 页面主体上的头部。并非head元素 ◆footer: 页面的底部(页脚),可以是一封邮件签名的所在 ◆nav: 到其他页面的链接集合 ◆article: 诸如blog, 杂 阅读全文
posted @ 2012-01-06 09:43
fxair
阅读(253)
评论(0)
推荐(0)
摘要:
Whether you want Flash for a uniform desktop experience but need to support the iPad? No problem. Standards junkie and only want HTML5? That’s cool too. We’ve gathered a list of the top free and pre... 阅读全文
posted @ 2012-01-06 09:14
fxair
阅读(325)
评论(0)
推荐(0)
浙公网安备 33010602011771号