html header 区的可选内容:

html header 区的可选内容:
1. 公司版权注释
<!-- The site is designed by Maiziedu 09/2018-->
2.网站作者信息
<meta name="author" content="master@madd.com"></meta>
3.网站介绍
<meta name="description" content=""></meta>
4.设置网页的到期时间,一旦网页过期,必须到服务器上重新调阅
<meta http-equiv="expires" content="Wed,26 Feb 2018 08:21:45 GMT "></meta>
5.禁止浏览器从本地缓存中调用页面内容
<meta http-equiv="Pragma" content="no-cache"></meta>
6.用于防治别人从你的框架中调你的页面
<meta http-equiv="Window-target" content="_top"></meta>
7.自动跳转
<meta http-equiv="Refresh" content="5;url=http://www.baidu.com"></meta> //5是指时间停留5s
8.网页搜索机器人向导,用来告诉机器人那些页面需要检索,那些页面不需要检索
<meta name="robots" content="none"></meta>
content 的参数有:all ,none, index, noindex, follow ,nofollow,默认all;

posted @ 2018-05-16 20:30  珺瑶  阅读(90)  评论(0编辑  收藏  举报