nav

navigasi navigasi; navigasi navigasi; tab (tablet; tab

Gaya tab nav nav Bootstrap sintaks

Fungsi: Halaman tab

Gaya tab nav nav Bootstrap contoh

<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
    <title>Bootstrap 实例 - 标签页与胶囊式标签页</title>
	<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">
	<script src="https://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script>
	<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>

<div class="container">
  <h2>标签页</h2>
  <p>.nav-tabs 类用于创建导航标签:</p>
  <ul class="nav nav-tabs" role="tablist">
    <li class="active"><a href="#">首页</a></li>
    <li><a href="#">HTML</a></li>
    <li><a href="#">CSS</a></li>
    <li><a href="#">关于</a></li>
  </ul>
</div>

</body>
</html>
Jalankan Instance »

Klik butang "Run Instance" untuk melihat contoh dalam talian