dom get all tags

Solutions on MaxInterview for dom get all tags by the best coders in the world

showing results for - "dom get all tags"
Jonas
21 Sep 2016
1const allElements = document.getElementsByTagName("*");
2const allTagNames = new Set([].map.call(allElements, el => el.nodeName.toLowerCase()));