The best Bootstrap Tags Tutorial In 2024, In this tutorial you can learn Examples,Examples,Further examples of labels,
This chapter will explain the Bootstrap tab. Other tags displayed on the label can be used for counting, tips or page. Useclass .label to display the label, as shown in the following example:
The results are as follows:
You can use the modifiedclass label-default, label-primary , label-success, label-info, label-warning, label-danger to alter the appearance of the label, as shown in the following examples:
The results are as follows:
class | description | Examples |
---|---|---|
.label label-default | Default gray label | try it |
.label label-primary | "Primary" type of blue label | try it |
.label label-success | "Success" type of green label | try it |
.label label-info | "Info" type light blue label | try it |
.label label-warning | "Warning" type yellow label | try it |
.label label-danger | "Danger" type red label | try it |