An official website of the United States government
Here’s how you know
Official websites use .gov A
.gov website belongs to an official government
organization in the United States.
Secure .gov websites use HTTPS A
lock (
) or https:// means you’ve safely connected to
the .gov website. Share sensitive information only on official,
secure websites.
Special Publication:
Public Website Visual Style Guide
August 2015
Forms
When customizing or creating new web forms use the form templates below to make sure they meet federal accessibility guidelines.
HTML Tags, Styled
Button - Reset <input type="reset">
Output
Code
<div>
<input type="reset">
</div>
Button - Submit <input type="submit">
Output
Code
<div>
<input type="submit">
</div>
Checkbox <input type="checkbox">
Output
Label to describe all checkbox options:
Code
<div>
<p>Label to describe all checkbox options:</p>
<label><input type="checkbox">Checkbox 1</label>
<label><input type="checkbox">Checkbox 2</label>
<label><input type="checkbox">Checkbox 3</label>
</div>
Fieldset <fieldset>
Output
Code
<fieldset>
<legend>Fieldset with Legend</legend>
</fieldset>
<div>
<label>Text Area:</label><br>
<textarea placeholder="Placeholder text"></textarea>
<p class="help-block">This is helper text using the <code>.help-block</code> class.</p>
</div>