VOOZH about

URL: https://www.geeksforgeeks.org/css/bulma-title-sizes/

⇱ Bulma Title Sizes - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Bulma Title Sizes

Last Updated : 23 Jul, 2025

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:

  • is-1: This class is used along with the classes of "title" or  "subtitle" for the HTML h1 element.
  • is-2: This class is used along with the classes of "title" or  "subtitle" for the HTML h2 element.
  • is-3: This class is used along with the classes of "title" or  "subtitle" for the HTML h3 element. This is the default size for the title element.
  • is-4: This class is used along with the classes of "title" or  "subtitle" for the HTML h4 element.
  • is-5: This class is used along with the classes of "title" or  "subtitle" for the HTML h5 element. This is the default size for the subtitle element.
  • is-6: This class is used along with the classes of "title" or  "subtitle" for the HTML h6 element.

Types of Headings in Bulma:

  • Title: When we need to use a title, we use the class "title".
  • Subtitle: When we need to use a subtitle, we use the class "subtitle".

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:

👁 Image

Example 2: The following example demonstrates the above title sizes. Title is-3 class is the default size.

Output:

👁 Image
Title Sizes

Example 3: The following example demonstrates the above subtitle sizes. The subtitle is-5 class is the default size.

Output:

👁 Image
Subtitle Sizes

Note: We cannot add color to the title and subtitle.

Reference: https://bulma.io/documentation/elements/title/#sizes

Comment
Article Tags: