The label tag supports all universal HTML attributes as well as event attributes. To do this, the following attributes can be associated with the HTML tag:
for : the attribute for determines the ID of the input element to which the tag should be associated. This also means that in a document, the first input element matching this value is automatically associated with the caption.
form : the attribute form defines which form element should be associated with the label tag in HTML. In practice, this looks like this, for example: