'type' determines the functionality of the 'button' element : type button : Form Attributes HTML CSS TUTORIALS


HTML CSS TUTORIALS » Form Attributes » type button »

 

'type' determines the functionality of the 'button' element



    
<HTML>
<BODY>
<button id="myButton" type="button" onclick="alert('hello!');">Button Text</button>
</BODY>
</HTML>  

    
      
      



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Form Attributes
» type button