parsing and displaying the html