outerHTML
the property of many tags . Sets or returns the text and HTML code of a tag (object), including the opening and closing tags in the HTML source.
object.outerHTML