Label and input field in one line
6 answers
<label for="fldAge">Age:</label>
<p>
<input type="text" name="Age" id="fldAge" />
</p>
It also forces the browser to display the text associated with the input with the focus rectangle and allows the user to focus the field by clicking anywhere in the associated text, not just by manipulating the input field.
+3
source to share