Element.from_str#

Element.from_str(html_str)[source]#

Converts HTML code to an Element object.

Parameters:

html_str (str) –