<html>
<body>
<h2>Example for button Element</h2>
<button type="button" onclick="document.write('Form submitted')">Submit</button>
<button type="button" onclick="document.write('Selected')">Ok</button>
<button type="button" onclick="document.write('Form Reset is done ')">Reset</button>
<button type="button" onclick="document.write('Cancelled')">Cancel</button>
</body>
</html>