HTML头部标记

来源:互联网 发布:qq空间mac客户端 编辑:程序博客网 时间:2024/05/04 13:15
-标题标记<Title>
-基底网址标记<Base>
-元信息标记<Meta>
 -定义编辑工具
 <Meta Name="Generator" Content="Notepad">  <!--Generator:编辑器-->
 -设定关键字
 <Meta Name="Keywords" Content="keyword1,keyword2...">
 -设定描述
 <Meta Name="Description" Content="">
 -设定作者
 <Meta Name="Author" Content="">
 -设定字符集
 <Meta HTTP-EQUIV="Content-Type" Content="Text/Html;CharSet=GB2312">
 -设定自动刷新
 <Meta HTTP-EQUIV="Refresh" Content=""> <!--Content属性的值为数字,单位为秒-->
 -设定自动跳转
 <Meta HTTP-EQUIV="Refresh" Content="5;URL=http://cozyhouse.cn">
 -设定转场效果
 <!--进入页面-->
 <Meta HTTP-EQUIV="Page-Enter" Content="RevealTrans(Duration=3,Transition=21)">
 <!--Duration设置时间;Transiton设置过渡效果-->
 <!--退出页面-->
 <Meta HTTP-EQUIV="Page-Exit" Content="RevealTrans(Duration=5,Transition=8)">
-禁用页面缓存
<Meta HTTP-EQUIV="Cache-Control" Content="No-Cache">
-设定有效期限
<Meta HTTP-EQUIV="Expires" Content="SAT,11 DEC 2004 11:25:59 GMT">
-设定建立日期
<Meta Name="BUILD" Content="2004.05.22">
-说明网页版权
<Meta Name="CopyRight" Content="Cozyhouse.cn">
-记载联系人的邮箱
<Meta Name="Reply-To" Content="zerg933@hotmail.com">
-限制搜索方式
<Meta Name="Robots" Content="All">
<!--All:搜索引擎能够搜索当前网页所有信息以及页面包含的链接指向的网页的所有信息-->
<!--Index:只能搜索当前网页所有信息-->
<!--NoFollow:不能搜索当前网页内链接所指向的网页的信息-->
<!--NoIndex:不能搜索当前网页-->
<!--None:不能搜索当前网页和当前网页包含的链接所指向的网页-->