adds the headings in the html file