Events are a different type of 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.

ALERT MOUSE TEST!

CHANGE BACKGROUND TO PINK!

CHANGE BACKGROUND TO AQUA!

CHANGE BACKGROUND

Note in the last one there are both the mouse over and out associated with the paragraph that says change background.