formated the HTML