Bootstrap起步

Bootstrap实质上是一个css库,更多的是一个css框架

Bootstrap学习特点:单词记忆!

1.Twitter Bootstrap概述                    

  官网:http://getbootstrap.com

  中文网:http://www.bootcss.com

  具体内容可分为以下五部分:

  (1)起步

  (2)全局CSS样式

  (3)组件

  (4)JS插件

  (5)定制

 

2.Bootstrap第一部分:起步

  下载

  基本模板

<html lang="zh-cn">

<html lang="en-us">

HTML标签的lang属性(language)指定当前页面所使用的自然语言,如zh、zh-cn、zh-tw、zh-hk、en、en-uk、ja、de、fr....

作用1:指定当前页面的基础语言,为浏览器的翻译做准备

作用2:为盲人的屏幕阅读器指明基础发音

<meta http-equiv="X-UA-Compatible" content="IE=6">

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

Cross-UserAgent-Compatible,跨(IE)浏览器兼容性

IE 6: 非常多的专有对象

IE 7: 6/7

IE 8 :  6/7/8

IE 9 :  6/7/8/9

IE 10 : 6/7/8/9/10

IE 11 : 6/7/8/9/10/11

   edge:使用可用的最新版本的IE内核

注意:若想要导入j则必须先导入jquery!!!

<!DOCTYPE html>
< lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Bootstrap模板</title>
  <link rel="stylesheet" href="css/bootstrap.min.css">
  <link rel="stylesheet" href="css/bootstrap-theme.min.css">
</head>
<>
<h1>Hello World!!!</h1>
<script type="text/javascript" src="jquery-1.11.3.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
</body>
</html>

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值