当前位置: 移动技术网 > IT编程>开发语言>JavaScript > Bootstarp基本模版学习教程

Bootstarp基本模版学习教程

2019年03月28日  | 移动技术网IT编程  | 我要评论
今天开始学习bootstrap发现官方的文档其实写的真的太棒啦,非常的清晰易懂。 <!doctype html> <html lang="zh

今天开始学习bootstrap发现官方的文档其实写的真的太棒啦,非常的清晰易懂。

<!doctype html>
<html lang="zh-cn">
<head>
  <meta charset="utf-8">
  <meta http-equiv="x-ua-compatible" content="ie=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <!-- 上述3个meta标签*必须*放在最前面,任何其他内容都*必须*跟随其后! -->
  <title>bootstrap 101 template</title>

  <!-- bootstrap -->
  <link href="css/bootstrap.min.css" rel="stylesheet">

  <!-- html5 shim and respond.js for ie8 support of html5 elements and media queries -->
  <!-- warning: respond.js doesn't work if you view the page via file:// -->
  <!--[if lt ie 9]>
  <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
  <![endif]-->
</head>
<body>
<h1>你好,世界!</h1>

<!-- jquery (necessary for bootstrap's javascript plugins) -->
<script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
<!-- include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持移动技术网。

如您对本文有疑问或者有任何想说的,请点击进行留言回复,万千网友为您解惑!

相关文章:

验证码:
移动技术网