'label' sets a text for 'option' element : label option : Form Attributes HTML CSS TUTORIALS


HTML CSS TUTORIALS » Form Attributes » label option »

 

'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>  
    
      
      



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Form Attributes
» label option