Table of Contents

DOM - Element

About

An element is the most common type of node in the DOM.

When you want to do something to an element, first you need to select it.

A dom element is generally the memory representation of:

Management

Attribute

See Attribute manipulation with DOM

Get

See:

getElementsByName The document function document.getElementsByName(name) returns a NodeList collection of elements in the Document that have a name attribute with the value name in a case-sensitive manner, in tree order

Child (Get|Add)

See DOM - Child Nodes of a Node

Content (Get|Add|Update)

See DOM - Element content

Remove

See node remove

Move

See node move

Watcher

See MutationObserver

Implementation

Interface

The nodes representing HTML elements inherit their interface from the HTMLElement interface.

Documentation / Reference