WeCodeAcademy

Bootstrap Tabs and Pills

Examplehtml
Open in editor »

Tabs use data-bs-toggle="tab" and data-bs-target to show the matching pane. Change nav-tabs to nav-pills for pill-shaped tabs.

Quick check

Which attribute points a tab button at its content pane?

Finish the quick check (and any code exercise) to complete this lesson, or mark it done yourself.

Tip: use the left and right arrow keys to move between lessons.