内容类型
HTML4
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
HTML5
<meta charset="utf-8">
兼容模式
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
网页字符集
<meta http-equiv="charset" content="iso-8859-1" />
有效期
<meta http-equiv="expires" content="31 Dec 2008" />
重定向
<meta http-equiv="refresh" content="5;url=http://www.baidu.com" />
添加页面描述
<meta name="description" content="" />
关键词
<meta name="keywords" content="" />
创作者
<meta name="author" content="" />
校订
<meta name="revised" content="" />
搜索引擎索引方式
<meta name="robots" Content=All|None|Index|Noindex|Follow|Nofollow>
Webapp
页面适应移动设备
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
浏览器主题颜色
<meta name="theme-color" content="#de698c">
Safari私有meta标签,它表示:允许全屏模式浏览
<meta content="yes" name="apple-mobile-web-app-capable"/>
Safari私有标签,它指定Safari顶端状态条的样式,隐藏状态栏
<meta content="black" name="apple-mobile-web-app-status-bar-style" />
告诉设备忽略将页面中的数字识别为电话号码
<meta content="telephone=no" name="format-detection"/>
Android用于禁用iOS对页面中电话号码的自动识别
<meta content="email=no" name="format-detection"/>
离线应用的另一个技巧
<meta name="apple-mobile-web-app-capable" content="yes" />
Safari浏览器应用推荐
<meta name="apple-itunes-app" content="app-id=432274380"/>