Adds the html elements.