innerHTML

innerHTML represents the markup of the element's contents.

Syntax

element.innerHTML [ = value ]

Examples

Internal

insertAdjacentHTML

outerHTML

External

World Wide Web Consortium (W3C)

Home Menu