HTML <label> Tag with the 'for' Attribute

<form name="myForm" action="">
	<label for="fName">First Name </label>
	<input type="text" name="fName">

The above example demonstrates usage of the <label> element with the for Attribute.

The <label> element represents a caption for a form control. The caption can be associated with a specific form control, either by using the for attribute (as the above example demonstrates), or by putting the form control inside the label element itself.