制作网页必备的meta总结(持续扩充中)

在编辑网站的时候,在head标签中,一定要有一些标签的,例如关键字搜索啊等,接下来就在这里总结一下,以备后查。

<meta http-equiv="keywords" content="关键字1,关键字2,...">


<meta http-equiv="description" content="网页描述">


<meta name="renderer" content="webkit|ie-comp|ie-stand">

<meta name="renderer" content="webkit">

<meta name="renderer" content="ie-comp">

<meta name="renderer" content="ie-stand">


<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" >

<meta http-equiv="Window-target" content="_top">

<meta http-equiv="Refresh" content="2;URL=http://">


<meta http-equiv="pragram" content="no-cache">

<meta http-equiv="cache-control" content="no-cache, must-revalidate">

<meta http-equiv="expires" content="0">


<meta name="format-detection" content="telphone=no, email=no"/>


<meta name="apple-mobile-web-app-status-bar-style" content="black"/>


<meta http-equiv="Cache-Control" content="no-siteapp" />

<meta http-equiv="cache-control" content="no-cache" />


<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, minimal-ui" />


<meta content="yes" name="apple-mobile-web-app-capable" />


<meta content="black" name="apple-mobile-web-app-status-bar-style" />

meta标签详解

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容