p> Tokyo Tokyo is the capital of Japan.. Create buttons to open specific tab content. All elements with class="tabcontent" are hidden by default (with CSS & JS). When the user clicks on a button - it will open the tab content that "matches" this button. JS Tab (). Tabs are used to separate content into different panes where each pane is viewable one at a time. For a tutorial about Tabs, read our Bootstrap Tabs/Pills Tutorial. 1 Dec The “tab control” is a very common pattern, so let's see how it's done in this final exercise lesson.