How to use <label> tag?

This element creates a label and associates it with another element on the page. The element to which the label is linked must contain the id attribute.

When giving the accesskey attribute of the  element a value, pressing ALT and the access key will set the focus on the linked element.

 

Example

 





  

     If you click on the italic text that follows or press 

     

            accesskey="a"&gt;Alt+A you will set focus on the text box