title: how can we use document.querySelectorAll to get all the tags in a html page
body: <p>Someone suggested me to use <code>document.querySelectorAll("#tagContainingWrittenEls &gt; *")</code> to get a reference to all the written tags. Then you can loop over 'em all, and do <code>.tagName</code> and <code>.attributes</code> on each element in the list to get the info.</p>
  
  <p>But This can only be done if there is a class named #tagContainingWrittenEls. I thought this is some method</p>