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

lastElementChild

Description

The lastElementChild of ParentNode for JS returns the last child that is an element; otherwise null.

Syntax

element = node.lastElementChild

Examples

1 · element

2 · element

3 · innerHTML

4 · tagName

append

children

firstElementChild

prepend

querySelector

querySelectorAll

replaceChildren

Web Hypertext Application Technology Working Group (WHATWG)

HomeMenu