Quick Reference Sheets for Webmasters
Quick Reference sheets are packed full of useful information for all webmasters.
HTML Reference Sheet
HTML Tag List
<label>
This specifies a label for a form control. In most browsers, if you click the the label text the form control that coincides with the label will be focused.
Attributes
for
Value(s) : id of an input field
Defines which element of the form is a label for based on ID.
example:
<label for="name">Your Name</label> <input type="text" name="fName" id="name">