Finish HTML generator.

Finish tree structure HTML generator.