heading
A heading. Defaults to an <h1> (level 1). The level of the element can be changed using the 'level' attribute. If the element of this component is changed from the default, it will acquire a class of .h1-7 instead.
- Example
- <b:heading level="3" element="div">... </b:heading>
- <b:heading level="4">... </b:heading>
- Output
- <div class="h3">... </div>
- <h4>... </h4>
Tag Information | |
---|---|
Tag Class | org.bootstrapjsp.tags.html.Heading |
Body Content | scriptless |
Dynamic Attributes | true |
Attributes
Name | Description | Flags |
---|---|---|
level | Sets the heading level (i.e. 1 = <h1>, 2 = <h2>, etc). |
rtexprvalue
|