Events are a different type of Java code because they are built directly into the HTML code. They aren't scripts because their design was to be embedded in the HTML. First I am going to illustrate mouse over/out events.

On the original program (tryevent1.html), I did not use the semi-colons. In this program I did!

ALERT MOUSE TEST!

CHANGE BACKGROUND TO BEIGE!

CHANGE BACKGROUND TO AQUA!

CHANGE BACKGROUND!

WINDOW STATUS TRUE TEST!

WINDOW STATUS TEST!

Note: The return true clause allows the default in the window status to be over ridden.