BeautifulSoup | How to scrap HTML tags

BeautifulSoup is Python library used for scrapping.Below is the code snippet for scrapping tags like "a", "div", "img" ,"p" etc.