码迷,mamicode.com
首页 > Web开发 > 详细

html标签中head中两个标签的作用

时间:2016-08-02 11:38:36      阅读:129      评论:0      收藏:0      [点我收藏+]

标签:

 

  <meta name="render" content="webkit">     //浏览器使用急速模式打开

<meta http-equiv="X-UA-Compatible" content="IE=edge">  //IE浏览器使用最新的模式渲染,避免使用兼容模式

如果网页只适合在电脑上浏览,则可以在meta中加入<metaname=“applicable-device”content=“pc”>;

<metaname=“applicable-device”content=“mobile”>;

如果网页采用了响应式设计,则可以在meta中加入<metaname=“applicable-device”content=“pc,mobile”>。




html标签中head中两个标签的作用

标签:

原文地址:http://www.cnblogs.com/lywh/p/5728443.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!