Menus

In HTML,a menu is often defined in an unordered list <ul>(and styled afterwards),like this:

Inline List

In HTML,a menu is often defined in an unordered list <ul>(and styled afterwards),like this:

Tabs With Dropdown Menu

The following example adds a dropdown menu to"Menu 1":

Pills

Pills are created with <ul class="nav nav-pills">. Also mark the current page with <li class="active">:

Vertical Pills

Pills can also be displayed vertically. Just add the .nav-stackedclass:

Pills With Dropdown Menu

The following example adds a dropdown menu to"Menu 1":

Centered Tabs and Pills

To center/justify the tabs and pills,use the .nav-justifiedclass.

Toggleable / Dynamic Tabs

To make the tabs toggleable,add the data-toggle="tab"attribute to each link. Then add a .tab-paneclass with a unique ID for every tab and wrap them inside a <div>element with class .tab-content. If you want the tabs to fade in and out when clicking on them,add the .fadeclass to .tab-pane:

HOME

Some content.

Default Tab

Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, irure terry richardson ex sd. Alip placeat salvia cillum iphone. Seitan alip s cardigan american apparel, butcher voluptate nisi .

Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee sd. Exercitation+1 labore velit,blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. photo booth letterpress,commodo enim craft beer mlkshk alip jean shorts ullamco ad vinyl cillum PBR.

Homo nostrud organic,assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr,vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit,sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown,tumblr butcher vero sint sapiente accusamus tattooed echo park.

Nesciunt tofu stumptown aliqua,retro synth master cleanse. Mustache cliche tempor,williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi,irure terry richardson ex sd. Alip placeat salvia cillum iphone. Seitan alip s cardigan american apparel,butcher voluptate nisi .

Custom Tab

Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, irure terry richardson ex sd. Alip placeat salvia cillum iphone. Seitan alip s cardigan american apparel, butcher voluptate nisi .

Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee sd. Exercitation+1 labore velit,blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. photo booth letterpress,commodo enim craft beer mlkshk alip jean shorts ullamco ad vinyl cillum PBR.

Homo nostrud organic,assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr,vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit,sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown,tumblr butcher vero sint sapiente accusamus tattooed echo park.

Nesciunt tofu stumptown aliqua,retro synth master cleanse. Mustache cliche tempor,williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi,irure terry richardson ex sd. Alip placeat salvia cillum iphone. Seitan alip s cardigan american apparel,butcher voluptate nisi .

Vertical Tab Left

Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, irure terry richardson ex sd. Alip placeat salvia cillum iphone. Seitan alip s cardigan american apparel, butcher voluptate nisi .

Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee sd. Exercitation+1 labore velit,blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. photo booth letterpress,commodo enim craft beer mlkshk alip jean shorts ullamco ad vinyl cillum PBR.

Homo nostrud organic,assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr,vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit,sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown,tumblr butcher vero sint sapiente accusamus tattooed echo park.

Nesciunt tofu stumptown aliqua,retro synth master cleanse. Mustache cliche tempor,williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi,irure terry richardson ex sd. Alip placeat salvia cillum iphone. Seitan alip s cardigan american apparel,butcher voluptate nisi .

Vertical Tab Right

Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, irure terry richardson ex sd. Alip placeat salvia cillum iphone. Seitan alip s cardigan american apparel, butcher voluptate nisi .

Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee sd. Exercitation+1 labore velit,blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. photo booth letterpress,commodo enim craft beer mlkshk alip jean shorts ullamco ad vinyl cillum PBR.

Homo nostrud organic,assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr,vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit,sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown,tumblr butcher vero sint sapiente accusamus tattooed echo park.

Nesciunt tofu stumptown aliqua,retro synth master cleanse. Mustache cliche tempor,williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi,irure terry richardson ex sd. Alip placeat salvia cillum iphone. Seitan alip s cardigan american apparel,butcher voluptate nisi .