Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 831 Bytes

back-link.md

File metadata and controls

35 lines (22 loc) · 831 Bytes

Back link

GDS Back link component

Example - default content

<govuk-back-link href="/" />

Back link

Example - custom content

<govuk-back-link href="/">Back to home page</govuk-back-link>

Back link

Example - generated URL

<govuk-back-link asp-controller="Home" asp-action="Index" />

API

<govuk-back-link>

The content is the HTML to use within the generated link. The default is Back.

Attribute Type Description
(link attributes) If specified generates an href attribute using the specified values. See documentation on links for more information.