JavaScript HTML DOM Events

HTML DOM allow JavaScript to be execute when user clicks on an HTML element or mouse hover on HTML elements.

Code :