<!DOCTYPE html>
<html>
<head>
<title>Bootstrap 实例 - 标签页(Tab)插件</title>
<link href="http://libs.baidu.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
<script src="http://libs.baidu.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
</head>
<body>
<ul id="myTab" class="nav nav-tabs">
<li class="active col-md-4"><a href="#dingcan" data-toggle="tab">订餐</a></li>
<li class="col-md-4"><a href="#yonghu" data-toggle="tab">用户中心</a></li>
<li class="col-md-4"><a href="#dingdan" data-toggle="tab">订单中心</a></li>
</ul>
<div id="myTabContent" class="tab-content">
<div class="tab-pane fade in active" id="dingcan">
<p>订餐</p>
</div>
<div class="tab-pane fade" id="yonghu">
<p>用户中心</p>
</div>
<div class="tab-pane fade" id="dingdan">
<p>订单中心</p>
</div>
</div>
</body>
</html>