前言
大家都知道在移动前端开发中添加一些webkit专属的HTML5头部标签,帮助浏览器更好解析html代码,更好地将移动web前端页面表现出来。本文整理一些HTML5头部<meta>标签常用的信息。有错误的,敬请留言指正,或可以留言补充,欢迎留言交流!
XML/HTML Code复制内容到剪贴板
-
- <meta charset="utf-8" />
-
-
- <meta name="keywords" content="" />
-
-
- <meta name="description" content="" />
-
-
- <meta name="author" content="" />
-
-
- <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no" />
-
-
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
-
-
- <meta name="renderer" content="webkit" />
-
-
- <meta http-equiv="Cache-Control" content="no-siteapp" />
-
-
- <meta name="screen-orientation" content="portrait" />
-
-
- <meta name="x5-orientation" content="portrait" />
-
-
- <meta name="full-scerrn" content="yes" />
-
-
- <meta name="x5-fullscreen" content="ture" />
-
-
- <meta name="x5-page-mode" content="app" />
-
-
- <meta name="browsermode" content="application">
-
-
- <meta name="msapplication-tap-highlight" content="no" />
-
-
- <meta name="format-detection" name="email=no" />
-
-
-
-
- <meta name="apple-mobile-web-app-title" content="标题" />
-
-
- <meta name="apple-mobile-web-app-capable" content="yes" />
-
-
- <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent/black/default" />
-
-
-
- <meta name="format-detection" content="telephone=no" />
-
-
- <meta name="apple-itunes-app" content="app-id=myappstoreID,affiliate-data=myaffiliatedata,app-argument=myurl" />
总结