format html code