![]() |
VOOZH | about |
In Bulma, there are two types of headings which are Title and Subtitle. These simple headings are used to add some depth to a web page or website. Title and Subtitle are available in many sizes and can be used as per our requirements.
Bulma Title/Subtitle size classes:
Types of Headings in Bulma:
Syntax:
<h1 class="title">Title/h1> <h2 class="subtitle">Subtitle</h2> <p class="title is-1"> .... </p>
Example 1: The following example demonstrates title and subtitle class into h1 and h2 headings.
Output:
👁 ImageExample 2: The following example demonstrates the above title sizes. Title is-3 class is the default size.
Output:
Example 3: The following example demonstrates the above subtitle sizes. The subtitle is-5 class is the default size.
Output:
Note: We cannot add color to the title and subtitle.
Reference: https://bulma.io/documentation/elements/title/#sizes