elibraryportal Logo

Html Label Tag

The label tag is used to Specifies the title of the text track or add a label to a form control like text, textarea etc.

Syntax:-


Attributes

Attribute Value Description
for element_id It Specifies the input control that from this label is for.
form form_id It specifies from which one or more forms label belongs to.

Example:-

Test it Now
Next TopicHTML Button Tag