build the html file