Assignment 011b

HTML Tag Events

Most objects have events, not just HTML controls. For example tags such as <table>, <tr>, <td>, <a>, and <strong> also have events.

We can use events to dynamically change the CSS used on a Web page. This example uses the onMouseOver and onMouseOut event of the <strong> tag to change the class used. Moving over the the text below will change the document style.

Dark Theme | Light Theme

In this assignment, you are dynamically updating a class for the BODY tag. The two classes for the BODY have different background images.

Get creative with your code. I'm giving you just a basic idea of what you can do! Do more than the minimum of what I assign. Play with changing body elements, such as fonts!