Skip navigation

Associate form labels with their elements by placing them immediately above or to the left of the element.

(see guidelines for overcoming access barriers)

Example:

Positioning of form label:

Code for positioning of form label


<form name="details">
<p><label for="firstname">First name:</label>
<input type="text" id="firstname" name="fname"></p>
</form>