1. Static Component Guide
  2. Govspeak content
  3. Highlight answer

Govspeak content example

Highlight answer

How to call this example

<%= render "govuk_component/govspeak" {
  content: "<div class=\"highlight-answer\">
      <p>The VAT rate is <em>20%</em></p>
    </div>
    <div class=\"highlight-answer\">
      <p>In the 2017 to 2018 tax year, the savings limit for Junior <abbr title=\"Individual Savings Accounts\">ISAs</abbr> is <em>£4,128</em></p>
    </div>
    <div class=\"highlight-answer\">
      <p>In the 2017 to 2018 tax year, the maximum you can save in <abbr title=\"Individual Savings Accounts\">ISAs</abbr> is <em>£20,000</em></p>
    </div>
    "
} %>

How it looks

The VAT rate is 20%

In the 2017 to 2018 tax year, the savings limit for Junior ISAs is £4,128

In the 2017 to 2018 tax year, the maximum you can save in ISAs is £20,000