JavaScript – DOM Element children Property
The Element children property returns a list of an element’s child elements.
The Element children property returns a list of an element’s child elements.
The Element classList property returns the CSS classnames of an element.
The Element className property sets or returns an element’s class attribute.
The Element clientHeight property returns the viewable height of an element, including padding, but not the border, scrollbar or margin.
The Element clientLeft property returns the width of the element’s left border not including the element’s left padding or left margin.
The Element clientTop property returns the width of the element’s top border not including the element’s top padding or top margin.
The Element clientWidth property returns the viewable width of an element, including padding, but not the border, scrollbar or margin.
The Element contentEditable property sets or returns if the content of an element is editable.
The Element dir property sets or returns an elements’s dir attribute, which specifies the text-direction.
The Element firstChild property returns the first child node of a node.
The Element firstElementChild property returns the first child element of the specified element.
The Element id property sets or returns the value of an element’s id attribute.
The Element innerHTML property sets or returns the HTML content of an element.
The Element innerText property sets or returns the text content of an element.
The Element isContentEditable property returns “true” if the content of an element is editable, and “false” if it is not editable.
The Element lang property returns the value of an element’s lang attribute.
The Element lastChild property returns the last child node of a node.
The Element lastElementChild property returns the last child element of an element.
The Element namespaceURI property returns the URI of an element’s namespace.
The Element nextElementSibling property returns the next element in the same tree level.