Summary

  • An HTML/XML document is represented inside the browser as the DOM tree.

    • Tags become element nodes and form the structure.
    • Text becomes text nodes.
    • Everything in HTML has its own place in DOM.
    • The browser automatically corrects malformed HTML document.

References