Mouse Events

Form Element Events

Keyboard Events

Document Events

CSS Events

Event Handlers

<input value="Click me" onclick="alert('Click!')" type="button">
<input id="elem" type="button" value="Click me">
<script>
	elem.onclick = function() {
		alert('Thank you');
	};
</script>