1. Collections Component Guide
  2. Govspeak content
  3. Heading levels
Govspeak content example

Heading levels

How it looks (preview)

This is a h2 title

This is a h3 title

This is a h4 title

This is a h5 title
This is a h6 title

How to call this example

<%= render "govuk_publishing_components/components/govspeak", {
} do %>
  <h2>This is a h2 title</h2>
<h3>This is a h3 title</h3>
<h4>This is a h4 title</h4>
<h5>This is a h5 title</h5>
<h6>This is a h6 title</h6>
<% end %>