Problem Statement:

Create a web page which displays some text initially and when the user hovers the mouse over that text, the background colour must change to yellow. (Note: This example demonstrates DHTML)

Source Code:

ex8.html

ex8script.js

Output:

Click here for output