Element.set_content#

Element.set_content(content)[source]#

Sets the inner HTML content of the element.

Parameters:

content – The new inner HTML content.