<h1 class="govuk-heading-xl">Heading 1 extra large</h1>
<h2 class="govuk-heading-l">Heading 2 large</h2>
<h3 class="govuk-heading-m">Heading 3 medium</h3>
<h4 class="govuk-heading-s">Heading 4 small</h4>
<h1 class="govuk-heading-xl">Heading 1 extra large</h1>
<h2 class="govuk-heading-l">Heading 2 large</h2>
<h3 class="govuk-heading-m">Heading 3 medium</h3>
<h4 class="govuk-heading-s">Heading 4 small</h4>
/* No context defined for this component. */
Heading classes can be applied at any level to give the visual hiarchy whilst maintaining semantic hiarchy.
<h5 class="govuk-heading-xl"></h5>