HTML <label> element


<label> tag defines a label text. The label may be associated with an input or a form.

<form>
<label for=name>Name:</label><input id=name><br>
<label for=passwd>Password:</label><input id=passwd>
</form>



Specific attributes of <label> tag:
AttributeDescription
for id of input associated with
form form named associated with