Menu Home

outerHTML

osbo.com | JS | outerHTML

outerHTML represents the markup of the element and its contents.

Syntax

element.outerHTML [ = value ]

Examples

Internal

innerHTML

insertAdjacentHTML

External

World Wide Web Consortium (W3C)