Improved html text, and made it more generic.