-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbsTabsE6.html
34 lines (29 loc) · 1.07 KB
/
bsTabsE6.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!--
from BOOTSTRAP 3 Tabs: Exercise 6 ( https://www.w3schools.com/bootstrap/exercise_bs3.asp?filename=exercise_bs3_tabs6 )
question:
Add the required attribute to make the tabs toggleable.
<ul class="nav nav-tabs">
<li><a _________________ href="#home">Home</a></li>
<li><a _________________ href="#menu1">Menu 1</a></li>
<li><a _________________ href="#menu2">Menu 2</a></li>
</ul>
//-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
<body>
<!-- BEGIN: answer -->
<ul class="nav nav-tabs">
<li><a data-toggle="tab" href="#home">Home</a></li>
<li><a data-toggle="tab" href="#menu1">Menu 1</a></li>
<li><a data-toggle="tab" href="#menu2">Menu 2</a></li>
</ul>
<!-- END: answer -->
</body>
</html>