'value' Example : value 1 : Form Attributes HTML CSS TUTORIALS


HTML CSS TUTORIALS » Form Attributes » value 1 »

 

'value' Example



    
<HTML>
<head>
<Title>Example For value</Title>
</head>
<BODY>
<form id="myForm">
   <input type="button" 
          value='type = "button"
          onClick="alert('This element value is:'+this.value)">
          
   <input type="reset" 
          value='input type = "reset"
          onClick="alert('This element valueis: '+this.value)">
          
   <input type="submit" 
          value='input type = "submit"
          onClick="alert('This elementvalue is: '+this.value)">
          
   <input type="checkbox" 
          value="checkbox" 
          onClick="alert('This elementvalue is: '+this.value)">
</form>
</BODY>
</HTML>
    
      
      



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Form Attributes
» value 1