Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

element vs node

javascriptconst paragraph = document.querySelector('p');paragraph.nodeType === Node.ELEMENT_NODE; // => true
Source by dmitripavlutin.com #
 
PREVIOUS NEXT
Tagged: #element #node
ADD COMMENT
Topic
Name
9+6 =