'label' sets a text for 'option' element : label option « Form « HTML / CSS






'label' sets a text for 'option' element

    
<HTML>
<BODY>
<form name="form1" method="post" action="">
   <select name="select">
      <option label="testing1">first item</option>
      <option label="testing2">second item</option>
      <option label="testing3">third item</option>
   </select>
</form>
</BODY>
</HTML>  
    
      
      








Related examples in the same category