Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript HTML DOM Events

<!DOCTYPE html>
<html>
<body>

<h1 onclick="this.innerHTML = 'Ooops!'">Click on this text!</h1>

</body>
</html>
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #JavaScript #HTML #DOM #Events
ADD COMMENT
Topic
Name
3+4 =