1.让一些搜索引擎可以搜索到你的网页:
<meta name="keywords" content="搜索的关键字">
<meta name="description" content="网站描述文字">
2.让一个页面过一段时间自动挑战到另一个页面
<meta http-equiv="refresh" content="5"> 这个表示页面每5秒刷新一次
<meta http-equiv="refresh" content="2; url='/'"> 这个表示当前页面2秒后跳转到首页
<meta http-equiv="refresh" content="0; url='http://www.baidu.com/'"> 页面直接跳转到百度网
3.标注作者
<meta name="author" content="晨曦">
4.控制页面缓冲,如不需要页面缓冲的代码这样写
<meta http-equiv="cache-control" content="no-cache">
5.移动设备中禁止用户放大缩小功能的使用
<meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=0;" >
★★<a>标签中的窗口选择
★★
target=_blank 在新窗口中打开链接
target=_parent 在父窗口中打开链接
target=_self 在当前窗口打开链接
target=_top 在当前窗口打开链接并替换当前的整个窗体