Add htmlStatement method with unit test.