Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

outerHTML

Description

The outerHTML of Element for JS represents the markup of the element and its contents.

Syntax

element.outerHTML [ = value ]

Examples

1 · Inline

2 · Internal

attachShadow

classList

className

closest

getAttribute

getAttributeNames

getAttributeNS

hasAttribute

hasAttributeNS

hasAttributes

id

innerHTML

insertAdjacentHTML

localName

matches

namespaceURI

prefix

removeAttribute

removeAttributeNS

setAttribute

setAttributeNS

shadowRoot

slot

tagName

toggleAttribute

World Wide Web Consortium (W3C)

HomeMenu