分享web开发知识

注册/登录|最近发布|今日推荐

主页 IT知识网页技术软件开发前端开发代码编程运营维护技术分享教程案例
当前位置:首页 > 运营维护

html header 区的可选内容:

发布时间:2023-09-06 01:54责任编辑:沈小雨关键词:暂无标签

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;

html header 区的可选内容:

原文地址:https://www.cnblogs.com/yous/p/9047982.html

知识推荐

我的编程学习网——分享web前端后端开发技术知识。 垃圾信息处理邮箱 tousu563@163.com 网站地图
icp备案号 闽ICP备2023006418号-8 不良信息举报平台 互联网安全管理备案 Copyright 2023 www.wodecom.cn All Rights Reserved