1. Static Component Guide
  2. Govspeak content (HTML Publications)
  3. Heading level 2

Govspeak content (HTML Publications) example

Heading level 2

How to call this example

<%= render "govuk_component/govspeak_html_publication" {
  content: "<h2>
      <span class=\"number\">1. </span>Executive summary
    </h2>
    <p>This is a Budget that puts security first. It ensures economic security for working people by putting the public finances in order and setting out a bold plan for a more productive, balanced economy.</p>
    "
} %>

How it looks

1. Executive summary

This is a Budget that puts security first. It ensures economic security for working people by putting the public finances in order and setting out a bold plan for a more productive, balanced economy.