.getHtmlContent()
will return all the html markup and tags. So, you're trying to set "Hello World" after all the tags have been closed.
Throw a Logger.log(html);
in there to see what you need to get at and change. Ultimately you'll need to replace the text you want within the html instead of just adding a line to the end.