Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

dom get all tags

const allElements = document.getElementsByTagName("*");
const allTagNames = new Set([].map.call(allElements, el => el.nodeName.toLowerCase()));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #dom #tags
ADD COMMENT
Topic
Name
6+8 =