O'Reilly logo

Bootstrap for ASP.NET MVC by Pieter van der Westhuizen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Tabs

Tabs provide an option to split your content into separate pages. This is an ideal component when you have a particularly large form, which you want to split up into a logical grouping. For example, when you're editing a customer's record, you might want to split their contact details from their address details, as illustrated in the following screenshot:

Tabs

Bootstrap tabs are divided into two parts. You first need to specify the tab names and the ID of the corresponding <div> element to show when the user clicks on the tab. This is done by creating a standard unordered list <ul> element with the tab names as child list items <li>. The <ul> element's ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required