Tabs

ExamplesTabs

Link to tab

Use this pattern sparingly. If your tabs serve only as page navigation, use the Subnav element instead.

Use to activate a particular tab when the page's URL hash refers to an element within the tab panel, or to the tab itself.

Code Tabs

Use this pattern to display highlighted code blocks of one or more languages, for example: the HTML, CSS, and JavaScript needed to implement a pattern.