DOM Structure
The DOM structure is a Composite structure representing the contents of a
web page.
It consists of the following types of elements:
-
HTML tag elements, one type for each type of HTML tag, such as
HTMLHeadElement,
-
Comment elements that hold the contents of HTML comments, and
-
Text elements that hold text that appears between tags.
This is visualized in
A DOM Structure Example.