低版本 ie 浏览器里使用 html5 新标签

六月 22nd, 2010 hew Posted in html5 No Comments »

1 、处理的问题是ie6,7无法识别新标签的问题

使用js解决,引入与下js,就可以识别了。

<!--[if lte IE 8]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
< ![endif]-->

Tags: ,


解决html5验证的No Character Encoding警告

六月 22nd, 2010 hew Posted in html5 No Comments »

html5的meta标签的新特性是只需要使用“<meta charset=”utf-8″>”就够了。
但是这样会验证时会有
“No Character encoding declared at document level”

“No Character Encoding Found! Falling back to UTF-8″
的警告。

Tags: ,


HTML5 资料汇集

五月 2nd, 2010 hew Posted in html5 No Comments »

虽然 HTML 5 仍遥遥无期,然而最近有关 HTML 5 的文章和资料却越来越多起来,这个 World Wide Web 核心语言的第5个版本包含了太多的期待。这是 cameronmoll.com 搜集的12个非常有用的 HTML5 资源,这些资料的目的并不是简单地介绍 HTML5,因为它还未完成,而是提供一些为 HTML5 做准备的思路。

Tags:


Page 2 of 212