You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Note the <code>.nav-tabs</code> class requires the <code>.nav</code> base class.</p>
8
8
<divclass="bs-example">
9
-
<ulclass="nav nav-tabs">
9
+
<ulclass="nav nav-tabs"role="tablist">
10
10
<liclass="active"><ahref="#">Home</a></li>
11
11
<li><ahref="#">Profile</a></li>
12
12
<li><ahref="#">Messages</a></li>
13
13
</ul>
14
14
</div>
15
15
{% highlight html %}
16
-
<ulclass="nav nav-tabs">
16
+
<ulclass="nav nav-tabs"role="tablist">
17
17
<liclass="active"><ahref="#">Home</a></li>
18
18
<li><ahref="#">Profile</a></li>
19
19
<li><ahref="#">Messages</a></li>
@@ -62,7 +62,7 @@ <h4>Safari and responsive justified navs</h4>
62
62
<p>As of v7.0.1, Safari exhibits a bug in which resizing your browser horizontally causes rendering errors in the justified nav that are cleared upon refreshing. This bug is also shown in the <ahref="../examples/justified-nav/">justified nav example</a>.</p>
<p>You can activate a tab or pill navigation without writing any JavaScript by simply specifying <code>data-toggle="tab"</code> or <code>data-toggle="pill"</code> on an element. Adding the <code>nav</code> and <code>nav-tabs</code> classes to the tab <code>ul</code> will apply the Bootstrap <ahref="../components/#nav-tabs">tab styling</a>, while adding the <code>nav</code> and <code>nav-pills</code> classes will apply <ahref="../components/#nav-pills">pill styling</a>.</p>
Activates a tab element and content container. Tab should have either a <code>data-target</code> or an <code>href</code> targeting a container node in the DOM.
0 commit comments