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>
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)
  • wiki/plugin/bootswrapper/label.txt
  • Last modified: 8 years ago
  • by Giuseppe Di Terlizzi