HTML <label> element
<form>
<label for=name>Name:</label><input id=name><br>
<label for=passwd>Password:</label><input id=passwd>
</form>
Specific attributes of <label> tag:
Attribute | Description |
for | id of input associated with |
form | form named associated with |