html
Get the outer HTML as a string or the textContent if it's not an Element.
For example if this node represents an <a>
tag, the return value would be <a href="#">My Link</a>
.
Multiplatform Note: This value may contain differences in whitespace and newlines depending on the platform, but the content is functionally identical.
Return
The outer HTML of the node or it's textContent.