Labels
This tag have two version (lowercase and uppercase).
- The lowercase version
<label>create a inline element (<span>). - The uppercase version
<LABEL>create a block element (<div>).
See the samples.
default primary success info warning danger
<label type="default">default</label> <label type="primary">primary</label> <label type="success">success</label> <label type="info">info</label> <label type="warning">warning</label> <label type="danger">danger</label>
Attributes
| Attribute | Default Value | Allowed Values | Description |
|---|---|---|---|
type | info | default, primary, success, info, warning, danger | Type of label |
icon | optional | Font icon class (eg. Glyphicon or Font-Awesome) |