Label Element

suggest change

Syntax

Parameters

Attribute Description
for The id of the labeled control, for example for="surname".
form HTML5. The id of the <form> this label belongs to. The attribute is not obsolete. If form="someFormId" is set, the label can be placed outside that form.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents