bootstrap如何解决浏览器兼容性问题


当前第2页 返回上一页

模板代码如下:

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

<!DOCTYPE html>

<html>

  

<head>

 <!-- 编码格式 -->

 <meta charset="UTF-8">

 <title></title>

 <!-- 作者 -->

 <meta name="author" content="author">

 <!-- 网页描述 -->

 <meta name="description" content="hello">

 <!-- 关键字使用","分隔 -->

 <meta name="keywords" content="a,b,c">

 <!-- 禁止浏览器从本地机的缓存中调阅页面内容 -->

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

 <!-- 用来防止别人在框架里调用你的页面 -->

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

 <!-- content的参数有all,none,index,noindex,follow,nofollow,默认是all -->

 <meta name="robots" content="none">

 <!-- 收藏图标 -->

 <link rel="Shortcut Icon" href="favicon.ico" rel="external nofollow" >

 <!-- 网页不会被缓存 -->

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

 <!-- 解决部分兼容性问题,如果安装了GCF,则使用GCF来渲染页面,如果未安装GCF,则使用最高版本的IE内核进行渲染。 -->

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

 <!-- 页面按原比例显示 -->

 <meta name="viewport" content="width=device-width, initial-scale=1">

 <link rel="stylesheet" href="plugin/bootstrap-3.3.0/css/bootstrap.min.css" rel="external nofollow" >

 <!--[if lt IE 9]>

  <script src="https://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>

  <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.js"></script>

 <![endif]-->

</head>

  

<body>

  

 <script src="plugin/jquery/jquery-1.11.2.min.js"></script>

</body>

  

</html>

以上就是bootstrap如何解决浏览器兼容性问题的详细内容,更多文章请关注木庄网络博客

返回前面的内容

相关阅读 >>

bootstrap 如何设置移动端元素隐藏

bootstrap的缓存怎么处理

bootstrap学习之表单格式与字体图标

bootstrap插件是什么

bootstrap组件有哪些

bootstrap用来做什么

通过手机浏览器打开app或者跳转到下载页面的实现

详解bootstrap中的标签、徽章、巨幕和页头

bootstrap.css样式表是什么

bootstrap模态框怎么关闭事件

更多相关阅读请进入《bootstrap》频道 >>




打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...