simple monad to generate HTML