Node types in the DOM
The Document Object Model comes with 12 node types
By: Ajdin Imsirovic 12 December 2020
In this article, we’ll list the 12 available node types in the DOM of any HTML document.
The list of node types in the DOM
Some of these are more obscure than the others, but it’s important to be aware of at least the first three in the list below: