2009年11月5 日5评论

Bing和XHTML

http://markbeljaars.com/wp-content/plugins/sociofluid/images/digg_48.png http://markbeljaars.com/wp-content/plugins/sociofluid/images/reddit_48.png http://markbeljaars.com/wp-content/plugins/sociofluid/images/stumbleupon_48.png http://markbeljaars.com/wp-content/plugins/sociofluid/images/delicious_48.png http://markbeljaars.com/wp-content/plugins/sociofluid/images/furl_48.png http://markbeljaars.com/wp-content/plugins/sociofluid/images/technorati_48.png http://markbeljaars.com/wp-content/plugins/sociofluid/images/facebook_48.png http://markbeljaars.com/wp-content/plugins/sociofluid/images/yahoobuzz_48.png http://markbeljaars.com/wp-content/plugins/sociofluid/images/mixx_48.png http://markbeljaars.com/wp-content/plugins/sociofluid/images/twitter_48.png

据官方。 微软喜欢符合XHTML的网页! 那么形成的文件,可以始终显示,搜索,索引,排序等。 微软甚至受理的执行IE8符合XHTML的想法。 我想这站的原因,兵也将倾向于形成良好的网页。 如果冰变成流行,它可用于操纵创造良好的XHTML网页开发的催化剂。

因此,我一个美妙的冒险从我sites.The成品无差错页删除所有的XHTML错误和警告,可以发现在http://beginnerchess.org如果有人有兴趣。

有趣的是,我发现了三个问题,会影响很多人使用Wirdoress 2.8及以上。

  1. 谷歌AdSense代码片段实际上打破WordPress的。 WordPress的转换结束的CDATA支架>(>)。 要修复,删除CDATA节和替换注释标记。 例如:

    google_script

  2. 此外,在WordPress 2.8的搜索工具是没有很好地形成。 如果你能困扰中,修改wp-includes/general-templates.php和删除任何参考作用=“搜索”。
  3. 最后,确保你的主题,围绕<ul>和</ UL>标签调用dynamic_sidebar(通常的sidebar.php或functions.php的文件中发现)。

另外请注意,嵌入式Flash文件的XHTML complient。 已经有尝试使用符合标签显示Flash,但我发现他们不可靠的。 坚持现在不符合标准的代码。

为了测试你的网页,访问http://validator.w3.org/

标签: 合规,

SpinChimp Leaderboard 728x90