improve the html code