<label>
create a inline element (<span>
).<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>
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) |