<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>评论：用doctype激活浏览器模式</title>
	<atom:link href="http://dancewithnet.com/2009/06/14/activating-browser-modes-with-doctype/feed/" rel="self" type="application/rss+xml" />
	<link>http://dancewithnet.com/2009/06/14/activating-browser-modes-with-doctype/</link>
	<description>WEB Design{HTML:CSS:Javascript:DOM:AJAX:PHP:Usability}/Viewpoint/Photo/Food/Mood</description>
	<lastBuildDate>Sat, 13 Mar 2010 07:52:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>来自：用doctype激活浏览器模式 &#171; theU0net.Blog</title>
		<link>http://dancewithnet.com/2009/06/14/activating-browser-modes-with-doctype/comment-page-1/#comment-227911</link>
		<dc:creator>用doctype激活浏览器模式 &#171; theU0net.Blog</dc:creator>
		<pubDate>Wed, 03 Mar 2010 16:16:23 +0000</pubDate>
		<guid isPermaLink="false">http://dancewithnet.com/?p=1457#comment-227911</guid>
		<description>[...] 对application/xhtml+xml的简单指南是绝不使用doctype。该方式下的网页不是“严格一致”的XHMTL1.0，但这并不重要。（请看后面的附录） [...]</description>
		<content:encoded><![CDATA[<p>[...] 对application/xhtml+xml的简单指南是绝不使用doctype。该方式下的网页不是“严格一致”的XHMTL1.0，但这并不重要。（请看后面的附录） [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：Isunlife's Blog &#187; 选择什么样的Doctype？</title>
		<link>http://dancewithnet.com/2009/06/14/activating-browser-modes-with-doctype/comment-page-1/#comment-227887</link>
		<dc:creator>Isunlife's Blog &#187; 选择什么样的Doctype？</dc:creator>
		<pubDate>Wed, 03 Mar 2010 12:23:27 +0000</pubDate>
		<guid isPermaLink="false">http://dancewithnet.com/?p=1457#comment-227887</guid>
		<description>[...] 在做一个口碑专题html的时候，问同事拿了一个模板，一下是模板源码： &lt;!doctype&#160;html&gt; &lt;html&gt; &lt;head&gt; &lt;meta&#160;http-equiv=&quot;Content-Type&quot;&#160;content=&quot;text/html;&#160;charset=gbk&quot;&#160;/&gt; &lt;title&gt;专题名字-口碑网&lt;/title&gt; &lt;meta&#160;name=&quot;Keywords&quot;&#160;content=&quot;需要填写关健字...&quot;&#160;/&gt; &lt;meta&#160;name=&quot;Description&quot;&#160;content=&quot;需要填写描述，110个字符之内...&quot;&#160;/&gt; &lt;meta&#160;http-equiv=&quot;X-UA-Compatible&quot;&#160;content=&quot;ie=Edge&quot;&#160;/&gt; &lt;link&#160;rel=&quot;stylesheet&quot;&#160;type=&quot;text/css&quot;&#160;href=&quot;http://k.kbcdn.com/global/base/base_4_2_20.css&quot;&#160;/&gt; &lt;style&gt; /*这里直接写样式*/ &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;div&#160;class=&quot;yui-d0f&quot;&gt; &lt;script&#160;src=&quot;http://www.koubei.com/CMS/headers/wrap/js_header.jsp?withCss=1&amp;type=mini&quot;&#160;type=&quot;text/javascript&quot;&#160;charset=&quot;gbk&quot;&gt;&lt;/script&gt; &lt;/div&gt; &lt;!--content--&gt; &lt;div&#160;class=&quot;yui-d0f&quot;&gt; &lt;div&#160;class=&quot;yui-d2f&quot;&gt; &lt;/div&gt; &lt;/div&gt; &lt;!--content&#160;end--&gt; &lt;div&#160;class=&quot;yui-d2f&quot;&gt;&lt;script&#160;type=&quot;text/javascript&quot;&#160;src=&quot;http://www.koubei.com/CMS/headers/new/js_footer.jsp&quot;&#160;charset=&quot;gbk&quot;&gt;&lt;/script&gt;&lt;/div&gt; &lt;!--script&#160;src=&quot;http://k.kbcdn.com/global/utilities/utilities_1_4_8.js&quot;&gt;&lt;/script--&gt; &lt;/body&gt; &lt;/html&gt; 其中第一行是这么写的：然后依次看了下口碑，淘宝，阿里，支付宝，阿里软件，阿里妈妈，百度，新浪，搜狐，Google，Yahoo等其中口碑，淘宝，支付宝，阿里，百度，Google的list页面，均使用新浪，搜狐，阿里妈妈，阿里软件，Yahoo等没有使用，淘宝和支付宝均在今年改版为似乎一时成了最流行的写法，简单，而且兼容性也不错。便更深入的了解了下doctype1.什么是DOCTYPEDOCTYPE是document type(文档类型)的简写，要建立符合标准的网页，DOCTYPE声明是必不可少的关键组成部分；在页面中，用来指定页面所使用的XHTML（或者HTML）的版本。要想制作符合标准的页面，一个必不可少的关键组成部分就是DOCTYPE声明。只有确定了一个正确的DOCTYPE，XHTML里的标识和CSS才能正常生效。参考文章：1.三七的用doctype激活浏览器模式 原文Activating Browser Modes with Doctype2.新首页开发PPT详解 —— HTML规范3.html5 doctype与图片多余空白4.Doctype和渲染模式对照表 [...]</description>
		<content:encoded><![CDATA[<p>[...] 在做一个口碑专题html的时候，问同事拿了一个模板，一下是模板源码： &lt;!doctype&nbsp;html&gt; &lt;html&gt; &lt;head&gt; &lt;meta&nbsp;http-equiv=&quot;Content-Type&quot;&nbsp;content=&quot;text/html;&nbsp;charset=gbk&quot;&nbsp;/&gt; &lt;title&gt;专题名字-口碑网&lt;/title&gt; &lt;meta&nbsp;name=&quot;Keywords&quot;&nbsp;content=&quot;需要填写关健字&#8230;&quot;&nbsp;/&gt; &lt;meta&nbsp;name=&quot;Description&quot;&nbsp;content=&quot;需要填写描述，110个字符之内&#8230;&quot;&nbsp;/&gt; &lt;meta&nbsp;http-equiv=&quot;X-UA-Compatible&quot;&nbsp;content=&quot;ie=Edge&quot;&nbsp;/&gt; &lt;link&nbsp;rel=&quot;stylesheet&quot;&nbsp;type=&quot;text/css&quot;&nbsp;href=&quot;http://k.kbcdn.com/global/base/base_4_2_20.css&quot;&nbsp;/&gt; &lt;style&gt; /*这里直接写样式*/ &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;div&nbsp;class=&quot;yui-d0f&quot;&gt; &lt;script&nbsp;src=&quot;http://www.koubei.com/CMS/headers/wrap/js_header.jsp?withCss=1&amp;type=mini&quot;&nbsp;type=&quot;text/javascript&quot;&nbsp;charset=&quot;gbk&quot;&gt;&lt;/script&gt; &lt;/div&gt; &lt;!&#8211;content&#8211;&gt; &lt;div&nbsp;class=&quot;yui-d0f&quot;&gt; &lt;div&nbsp;class=&quot;yui-d2f&quot;&gt; &lt;/div&gt; &lt;/div&gt; &lt;!&#8211;content&nbsp;end&#8211;&gt; &lt;div&nbsp;class=&quot;yui-d2f&quot;&gt;&lt;script&nbsp;type=&quot;text/javascript&quot;&nbsp;src=&quot;http://www.koubei.com/CMS/headers/new/js_footer.jsp&quot;&nbsp;charset=&quot;gbk&quot;&gt;&lt;/script&gt;&lt;/div&gt; &lt;!&#8211;script&nbsp;src=&quot;http://k.kbcdn.com/global/utilities/utilities_1_4_8.js&quot;&gt;&lt;/script&#8211;&gt; &lt;/body&gt; &lt;/html&gt; 其中第一行是这么写的：然后依次看了下口碑，淘宝，阿里，支付宝，阿里软件，阿里妈妈，百度，新浪，搜狐，Google，Yahoo等其中口碑，淘宝，支付宝，阿里，百度，Google的list页面，均使用新浪，搜狐，阿里妈妈，阿里软件，Yahoo等没有使用，淘宝和支付宝均在今年改版为似乎一时成了最流行的写法，简单，而且兼容性也不错。便更深入的了解了下doctype1.什么是DOCTYPEDOCTYPE是document type(文档类型)的简写，要建立符合标准的网页，DOCTYPE声明是必不可少的关键组成部分；在页面中，用来指定页面所使用的XHTML（或者HTML）的版本。要想制作符合标准的页面，一个必不可少的关键组成部分就是DOCTYPE声明。只有确定了一个正确的DOCTYPE，XHTML里的标识和CSS才能正常生效。参考文章：1.三七的用doctype激活浏览器模式 原文Activating Browser Modes with Doctype2.新首页开发PPT详解 —— HTML规范3.html5 doctype与图片多余空白4.Doctype和渲染模式对照表 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：肉山 &#187; Blog Archive &#187; Doctype之说</title>
		<link>http://dancewithnet.com/2009/06/14/activating-browser-modes-with-doctype/comment-page-1/#comment-224316</link>
		<dc:creator>肉山 &#187; Blog Archive &#187; Doctype之说</dc:creator>
		<pubDate>Tue, 05 Jan 2010 01:17:24 +0000</pubDate>
		<guid isPermaLink="false">http://dancewithnet.com/?p=1457#comment-224316</guid>
		<description>[...] P.S.附上doctype激活浏览器渲染模式的详细学习资料：http://dancewithnet.com/2009/06/14/activating-browser-modes-with-doctype/ [...]</description>
		<content:encoded><![CDATA[<p>[...] P.S.附上doctype激活浏览器渲染模式的详细学习资料：http://dancewithnet.com/2009/06/14/activating-browser-modes-with-doctype/ [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：zhouqi</title>
		<link>http://dancewithnet.com/2009/06/14/activating-browser-modes-with-doctype/comment-page-1/#comment-223668</link>
		<dc:creator>zhouqi</dc:creator>
		<pubDate>Wed, 23 Dec 2009 14:04:24 +0000</pubDate>
		<guid isPermaLink="false">http://dancewithnet.com/?p=1457#comment-223668</guid>
		<description>&lt;blockquote&gt;不幸的是，没有 X-UA-Compatible的HTTP头或meta标签，即使使用了合适的doctype，IE8让用户无意间使页面从IE8的标准模式降到IE7模式，这是一种仿真的IE7标准模式。&lt;/blockquote&gt;

&lt;code&gt;&lt;/code&gt;
为什么我测试的时候（用的条件注释），IE8显示的IE8，而不是IE7？

另外问个不怎么相关的问题，IEtab到底用了谁的内核？我系统IE是8，但是有时候表现出来什么情况都有，比如这次测试用IEtab就是显示IE7，反而跟文中说的一样，很不解～

早看到这一系列doctype的文章就好了...</description>
		<content:encoded><![CDATA[<blockquote><p>不幸的是，没有 X-UA-Compatible的HTTP头或meta标签，即使使用了合适的doctype，IE8让用户无意间使页面从IE8的标准模式降到IE7模式，这是一种仿真的IE7标准模式。</p></blockquote>
<p><code></code><br />
为什么我测试的时候（用的条件注释），IE8显示的IE8，而不是IE7？</p>
<p>另外问个不怎么相关的问题，IEtab到底用了谁的内核？我系统IE是8，但是有时候表现出来什么情况都有，比如这次测试用IEtab就是显示IE7，反而跟文中说的一样，很不解～</p>
<p>早看到这一系列doctype的文章就好了&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：对DOCTYPE的一点认识 - ILoveJS</title>
		<link>http://dancewithnet.com/2009/06/14/activating-browser-modes-with-doctype/comment-page-1/#comment-223246</link>
		<dc:creator>对DOCTYPE的一点认识 - ILoveJS</dc:creator>
		<pubDate>Thu, 17 Dec 2009 16:50:30 +0000</pubDate>
		<guid isPermaLink="false">http://dancewithnet.com/?p=1457#comment-223246</guid>
		<description>[...] 推荐阅读：《用doctype激活浏览器模式》，《HTML和XHTML的不同》，《XHTML1.1标签列表、属性和嵌套规则》，《HTML文档中小meta的大作用》。 [...]</description>
		<content:encoded><![CDATA[<p>[...] 推荐阅读：《用doctype激活浏览器模式》，《HTML和XHTML的不同》，《XHTML1.1标签列表、属性和嵌套规则》，《HTML文档中小meta的大作用》。 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：Doctype之谜 &#124; IdeaoR--理想者</title>
		<link>http://dancewithnet.com/2009/06/14/activating-browser-modes-with-doctype/comment-page-1/#comment-218802</link>
		<dc:creator>Doctype之谜 &#124; IdeaoR--理想者</dc:creator>
		<pubDate>Sat, 31 Oct 2009 04:02:46 +0000</pubDate>
		<guid isPermaLink="false">http://dancewithnet.com/?p=1457#comment-218802</guid>
		<description>[...] [5] 用doctype激活浏览器模式 [...]</description>
		<content:encoded><![CDATA[<p>[...] [5] 用doctype激活浏览器模式 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：华晨</title>
		<link>http://dancewithnet.com/2009/06/14/activating-browser-modes-with-doctype/comment-page-1/#comment-216870</link>
		<dc:creator>华晨</dc:creator>
		<pubDate>Fri, 25 Sep 2009 14:05:11 +0000</pubDate>
		<guid isPermaLink="false">http://dancewithnet.com/?p=1457#comment-216870</guid>
		<description>很多时候加了这个css样式就能统一了</description>
		<content:encoded><![CDATA[<p>很多时候加了这个css样式就能统一了</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：tree</title>
		<link>http://dancewithnet.com/2009/06/14/activating-browser-modes-with-doctype/comment-page-1/#comment-216327</link>
		<dc:creator>tree</dc:creator>
		<pubDate>Fri, 18 Sep 2009 07:01:16 +0000</pubDate>
		<guid isPermaLink="false">http://dancewithnet.com/?p=1457#comment-216327</guid>
		<description>够了！！！  我不得不收藏你的网站了！！！   抓狂</description>
		<content:encoded><![CDATA[<p>够了！！！  我不得不收藏你的网站了！！！   抓狂</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：天堂左我往右</title>
		<link>http://dancewithnet.com/2009/06/14/activating-browser-modes-with-doctype/comment-page-1/#comment-215142</link>
		<dc:creator>天堂左我往右</dc:creator>
		<pubDate>Tue, 08 Sep 2009 09:17:32 +0000</pubDate>
		<guid isPermaLink="false">http://dancewithnet.com/?p=1457#comment-215142</guid>
		<description>好大的文章...晕中...</description>
		<content:encoded><![CDATA[<p>好大的文章&#8230;晕中&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：枫芸志 &#187; clientHeight、offsetHeight、scrollHeight对比测试分析</title>
		<link>http://dancewithnet.com/2009/06/14/activating-browser-modes-with-doctype/comment-page-1/#comment-212915</link>
		<dc:creator>枫芸志 &#187; clientHeight、offsetHeight、scrollHeight对比测试分析</dc:creator>
		<pubDate>Sat, 29 Aug 2009 13:34:58 +0000</pubDate>
		<guid isPermaLink="false">http://dancewithnet.com/?p=1457#comment-212915</guid>
		<description>[...] 要保证浏览器兼容，建议是采用XHTML 1.1，这样便可以使用document.body.clientHeight或document.body.offsetHeight获得页面的实际高度，使用document.documentElement.clientHeight获得内容可视区域的高度。因为HTML 5标准并没有被所有主流浏览器全部支持，所以暂不推荐使用，当然这将是未来的发展趋势。最后，关于doctype的知识建议学习下《用doctype激活浏览器模式》。 [...]</description>
		<content:encoded><![CDATA[<p>[...] 要保证浏览器兼容，建议是采用XHTML 1.1，这样便可以使用document.body.clientHeight或document.body.offsetHeight获得页面的实际高度，使用document.documentElement.clientHeight获得内容可视区域的高度。因为HTML 5标准并没有被所有主流浏览器全部支持，所以暂不推荐使用，当然这将是未来的发展趋势。最后，关于doctype的知识建议学习下《用doctype激活浏览器模式》。 [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
