The way the DOM works (which represents an HTML page in memory), text and tags such as
<div> are both represented by "nodes" of different types organized in a tree structure so that, for example, text nodes become the "children" of element nodes.
A normalized DOM tree means that there are no empty text nodes or adjacent text nodes. The
Node object has a
normalize() method that makes sure of this.