remove

The remove JS ChildNode removes node.

Syntax

node.remove()

Examples

1

2

3

4

after

before

replaceWith

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu