'label' Syntax and Note : label « Javascript Properties « JavaScript Reference

'label' Syntax and Note

Note:

Read and write property. 
For the <optgroup>,         helps group list items in a <select> element. 
For the <option>,           used to record additional information regarding 
                            the element.
    
Syntax:
    
document.getElementById("elementID").label = value
document.all.elementID.label = value // IE only

    

      
      








Related examples in the same category

1.'label' Example
2.'label' is applied to