find() method in beautifulsoup code example Example: beautifulsoup find htmlTag = soup.find(id="id") text = soup.find(id="id").get_text()