蒋金阳 发表于 2009-5-11 02:03:53

举例熟悉网页的头部信息表示涵义

&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;<br />&quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;&lt;!--文档类型--&gt;<br />&lt;html&gt;<br />&lt;head&gt;<br />&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=gb2312&quot;&gt;&lt;!--设置网页的文件编码--&gt;<br />&lt;meta http-equiv=&quot;expires&quot; content=&quot;2007/10/18 18:00:00&quot;&gt;&lt;!--脱机浏览的过期时间--&gt;<br />&lt;meta http-equiv=&quot;pragma&quot; content=&quot;no-cache&quot;&gt;&lt;!--禁止网页从缓存中读取--&gt;<br />&lt;meta http-equiv=&quot;Refresh&quot; content=&quot;5;http://www.webjx.com&quot;&gt;&lt;!--网页重新定向--&gt;<br />&lt;meta http-equiv=&quot;set-cookie&quot; content=&quot;2007/10/18 18:00:00&quot;&gt;&lt;!--设置网页的cookie过期时间--&gt;<br />&lt;meta http-equiv=&quot;Window-target&quot; content=&quot;_top&quot;&gt;&lt;!--设置网页中链接的目标窗口--&gt;<br />&lt;meta http-equiv=&quot;Page-Enter&quot; content=&quot;revealTrans(duration=1000000,transition=50000000)&quot;&gt;&lt;!--设置网页的打开效果--&gt;<br />&lt;meta http-equiv=&quot;Page-Exit&quot; content=&quot;revealTrans(duration=1000000,transition=50000000)&quot;&gt;&lt;!--设置网页的关闭效果--&gt;<br />&lt;meta name=&quot;keywords&quot; content=&quot;overmind,zerg,protoss&quot;&gt;&lt;!--设置网页的关键字,搜索的时候优先!!!重要!!! 该数据被搜索引擎编入索引--&gt;<br />&lt;meta name=&quot;description&quot; content=&quot;哈哈哈哈哈&quot;&gt;&lt;!--插入描述 搜索时被搜索引擎编入索引--&gt;<br />&lt;title&gt;标题一定不要少啊!对SEO很有用的!&lt;/title&gt;<br />&lt;/head&gt;<br />&lt;body&gt;<br />aaa<br />&lt;/body&gt;<br />&lt;/html&gt;<br /><br /><br /><blockquote class="blockquote">From: http://www.chenyu.me/read.php?tid=4513&page=1&toread=1Powered by PHPWind.com</blockquote>
页: [1]
查看完整版本: 举例熟悉网页的头部信息表示涵义