|
Post by account_disabled on Jan 28, 2024 19:54:28 GMT 10
情况下使用)尽管可以注意到许多智能手机支持 HTML 和 XHTML。此外移动设备与桌面配置文件的使用范围非常相似。如果支持完整的规格这就对移动配置文件的需求产生了疑问。此外Facebook 的 iPhone 友好网站是唯一一个完全不提供任何 Doctype 的网站! 代码验证 由于语义 Web 以及我们行业维护标准的需要该测试遵循 Jeffrey Zeldman 的早期研究其中对大量网站进行了简单的“通过或失败”测试来验证。虽然 Zeldman 的研究重点是 Alexa 前 100 名但这篇文章当然使用了一组不同的数。 据。虽然标准并不是设计的全部和最终目的但包含此测试是为了提供有关语义符合性阶段的额外比较。 截屏 图 31:网站验证的分布(对于 CSS专有属性被忽略) 截屏 图 32:首页经过所选 DTD 验证的前 100 个网站的百分比 截屏 图 33:MySpace 网站并不罕见因为它的源代 购买电话号码列表 码没有经过验证。 由于此检查点仅关注适合移动设备的网站的首页因此结果并不完整。相反它们确实很好地表明了对移动体验的关注。不幸的是结果似乎与 Zeldman 的研究相关因为绝大多数人都未能达到他们选择遵守的 DTD 标准。这似乎强化了这样一个事。 实:对于这些设计师来说设计比优化或质量更重要。 代码分隔 进行的下一个测试与之前进行的一些测试有很大的联系。结构、样式和行为的分离已被证明有利于减少文件大小(由于避免重复编码和缓存优势)。因此不仅要看看网站是否确实分离了它们的样式或行为而且还要看看它们是否在移动设计中利用 CSS3 或 jQuery 在网站布局中提供更动态的行为这似乎是正确的。 截屏 图 34:使用嵌入式内联样式而非外部文件的网站百分比 截屏 图 35:在设计中使用外部 CSS2.1 或 CSS3 的网站百分比 截屏 图 36:在设计中使用外部 Java。
|
|