govuk-frontend
Version:
GOV.UK Frontend contains the code you need to start building a user interface for government platforms and services.
25 lines (24 loc) • 907 B
HTML
<div class="govuk-form-group">
<fieldset class="govuk-fieldset" aria-describedby="example-hint">
<legend class="govuk-fieldset__legend">
Have you changed your name?
</legend>
<div id="example-hint" class="govuk-hint">
This includes changing your last name or spelling your name differently.
</div>
<div class="govuk-radios govuk-radios--inline" data-module="govuk-radios">
<div class="govuk-radios__item">
<input class="govuk-radios__input" id="example" name="example" type="radio" value="yes">
<label class="govuk-label govuk-radios__label" for="example">
Yes
</label>
</div>
<div class="govuk-radios__item">
<input class="govuk-radios__input" id="example-2" name="example" type="radio" value="no" checked>
<label class="govuk-label govuk-radios__label" for="example-2">
No
</label>
</div>
</div>
</fieldset>
</div>