Main content

Alert message

Example:  

Form with labels




 

Syntax for adding LABEL to form controls

<label for="Name1">Name</label> - this is the label tag

<input name="Name" id="Name1" size="30"> - this is the form control tag

be sure that contents of "for=" is identical (including case) to "id="

Try it:

Add labels to this form.

Form without labels
City: 
Address: