create the html code