The button type is most often used to activate a JavaScript when a user clicks on the button
Edit code and click me
Your Result
(Some examples do not work in Google Chrome):
The button above activates a JavaScript when it is clicked.
Edit the code above and click to see the result
www.xhtml.co.il
- Try it yourself