title: I have to parse the contents of webpage and show all headings as categories in dropdown menu & all sentences inside that heading mapped to category
body: <p>I have to parse the contents of a webpage and show all the headings as categories in dropdown menu and all the sentences inside that heading mapped to the category. For example: I have a webpage which is something like this:</p>
  
  <p>Fruits:<br>
  Apple is a fruit<br>
  Mango is a fruit<br>
  Watermelon is a fruit  </p>
  
  <p>Animal:<br>
  Human is an animal<br>
  Cat is an animal<br>
  Dog is an animal  </p>
  
  <p>Car:<br>
  Ford is a car<br>
  Hyundai is a car<br>
  Audi is a car  </p>
  
  <p>Now my objective is to parse this webpage and show a drop-down menu of 'Fruit' 'animal' and 'car'. and upon selection of category, all the sentences pertaining to that category should be displayed.</p>