Home  »  HTML   »   label

It is used to show a label or a caption for any type of input field. The label can have multiple jobs based on its placement. With CSS it can be used to style using box-model properties.


represents id of the form element to which it belongs.

  • element_id

represents to which form element it belongs.

  • form_id

HTML label Example:

Edit Example