Dynamic HTML and Styles


In this example, JavaScript (or JavaScript Accessible Style Sheets, for Navigator) is used to change the style of this paragraph when the document is loaded. This will work in version 4.0 or Netscape Navigator or version 4.0 or higher of Microsoft Internet Explorer.

When you click the button below, the style of the heading and this paragraph is changed; however, this only works in Internet Explorer.



Jim O'Donnell, jim@odonnell.org