你的位置:首页 > 软件开发 > 网页设计 > 关于头文件的一些常用meta

关于头文件的一些常用meta

发布时间:2016-08-08 16:00:08
一、常见的<meta>(摘自百度)1.设置编码信息<meta http-equiv="Content-Type" Content="text/html; Charset=utf-8" />设置语言&l ...

一、常见的<meta>(摘自百度

1.

设置编码信息<meta http-equiv="Content-Type" Content="text/html; Charset=utf-8" />

设置语言<meta http-equiv="Content-Language" Content="zh-CN" /> 

设置重定向 <meta http-equiv="Refresh" Content="15; Url=http://www.baidu.com" /> 

设置缓存时间 <meta http-equiv="Expires" Content="Web, 26 Jun 2015 18:21:57 GMT" /> 

不使用缓存 <meta http-equiv="Pragma" Content="No-cach" /> 

设置关键字 <meta name="Keywords" Content="key1,key2,..." /> 

设置描述信息 <meta name="Description" Content="description abc" />

设置对搜索引擎抓取 <meta name="Robots" Content="All|None|Index|Noindex|Follow|Nofollow" /> 

设置可视区域 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" /> 

2.浏览器使用:  

<!-- 国产浏览器内核选择 --> <meta name="renderer" content="webkit|ie-comp|ie-stand">

 <!-- 使用最新版的ie浏览器,或者chrome--> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/> 

 

海外公司注册、海外银行开户、跨境平台代入驻、VAT、EPR等知识和在线办理:https://www.xlkjsw.com

原标题:关于头文件的一些常用meta

关键词:key1,key2,...

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

可能感兴趣文章

我的浏览记录