1

一个简短的问题:使用严格的 HTML4.01 而不是 HTML5 来开发一个考虑到最大移动设备合规性的网站是否更合适?

在 W3C 的移动验证器中测试我的网站时,它声称我缺少各种 HTML4 标记,例如 meta-equiv 内容类型,并且实际上声称我应该使用我个人避免使用的 XHTML。

谢谢。

4

1 回答 1

2

It depends on what you mean by "mobile". Things have moved a lot in the last 5 years.

http://html5boilerplate.com/mobile is a most excellent resource – you perhaps don't want to just drop it in as is, though that works, but it has a lot of information in there that is hard to find in other places.

If you are designing for Android and iOS, then HTML5 is by far the right decision. If you are designing for dumb phones, then things are a little different.

于 2012-08-27T09:54:05.427 回答