Added a simple html method for setting and getting html cross browser.