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.


Theme1 | Theme2