Horje

Example of HTML onmousedown Event Attribute

It will Execute a JavaScript when pressing a mouse button over a paragraph.
index.html
Example: HTML
 <p onmousedown="mouseDown()">Click the text!</p> 

Output should be:

Example of HTML onmousedown Event Attribute




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Mouse Events Attribute
Uploaded by:
Admin