Added HTML generator for statement

Implemented a method for generating a HTML version of the string
"statement".