Traversing DOM

This test uses an applet and the Common DOM API to dump the DOM of the web page to System.out.

See the Java Console for the output. No exceptions should be reported, and a reasonable representation of the web page's contents should be printed.

This is a test of the H2 tag.

This is a test of a DL / DD pair.
This is a test of the PRE tag.
  1. First Ordered List element.
  2. Second Ordered List element.
Text within a DIV.
Text within a SPAN.

Italic text. Bold text. Emphasized text. Underlined text.