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

outerText

Description

The outerText of HTMLElement for JS returns the element's text content "as rendered".

Can be set, to replace the element with the given value, but with line breaks converted to br elements.

Syntax

element.outerText [ = value ]

Examples

1 · get

2 · set