您的位置:首页 > Web前端 > BootStrap

Bootstrap_基本HTML模板

2015-12-01 10:18 585 查看
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bootstrap的HTML标准模板</title>
<!-- Bootstrap -->
<link rel="stylesheet"  href="../dist/css/bootstrap.min.css">
</head>
<body>
<!--CODE-->

<!--JS-->
<!-- 如果要使用Bootstrap的js插件,必须先调入jQuery -->
<script type="text/javascript" src="../dist/jquery-2.1.4.min.js"></script>
<!-- 包括所有bootstrap的js插件或者可以根据需要使用的js插件调用 -->
<script type="text/javascript" src="../dist/js/bootstrap.min.js"></script>
</body>
</html>


<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!--用bootstrap必须加下面的话-->
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- 上述3个meta标签**必须**放在最前面,任何其他内容都*必须*跟随其后! -->
<title>My BootStrapTest</title>
<!--引用bootstrap样式-->
<link href="css/bootstrap.min.css" rel="stylesheet" />
<!--bootstrap重置样式库-->
<link href="css/normalize.css" rel="stylesheet" />
<!--引用jsmin-->
<script src="js/jquery-1.11.3.min.js"></script>
<!--引用bootstrapjs-->
<script src="js/bootstrap.min.js"></script>
</head>
<body>

</body>
</html>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: