DOM Nodes

By: Dusty Arlia
Published on Friday, July 19, 2013, 09:22 PM
Last Updated on Wednesday, July 08, 2015 at 6:34 PM
Total Updates: 2

In the HTML DOM (Document Object Model), everything is a node. Here is a table showing all the HTML components and their corresponding node name:

HTML Components Node Names
HTML Documents Document Nodes
HTML Elements Element Nodes
HTML Attributes Attribute Nodes
The Text Inside the HTML Elements Text Nodes
Comments Comment Nodes