Topincs Reference
Logout
HTML custom componentA-ZOngoing

div-tab

Description

A component displaying index tabs to browse quickly through a number of content areas by clicking the on a tab.

Language: English

HTML structure

Standard usage in service development: [%<div-tab> <div dt-label="Facts"><p>Some facts.</p></div> <div dt-label="Prose"><p>Some prose.</p></div> </div-tab>%] In rare cases standalone usage might be needed: [%<div-tab alone> <a href="somewhere-else">Facts</a> <a href="far-away">Prose</a> </div-tab>%]

Attributes

Coding name alone
Mandatory0
DescriptionAllows the div-tab to be used alone. In this case, the developer must take care of the association between tab and content (e.g. by href attribute on the a elements of the div-tab) or simply what happens when a tab is selected (e.g. via customized JavaScript event handlers on the a elements).

We are sorry

This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.

   

Before we continue …