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 www.codecademy.com #
 
PREVIOUS NEXT
Tagged: #JavaScript #HTML #DOM #Events
ADD COMMENT
Topic
Name
7+3 =