Output to an html document