outerHTML property
The outerHTML
attribute of the Element
DOM interface gets the serialized HTML fragment describing the element
including its
descendants. It can also be set to replace the element with nodes parsed
from the given
string.
To only obtain the HTML representation of the contents of an element, or
to replace the
contents of an element, use the Element.innerHTML
property
instead.
Implementation
external JSAny get outerHTML;
Implementation
external set outerHTML(JSAny value);