bs4.BeautifulSoup.new_tag

BeautifulSoup.new_tag(name, namespace=None, nsprefix=None, **attrs)[source]

Create a new tag associated with this soup.