title: How to get html element's class tags
body: <p>I'm using a custom modernizer config which has selected the features I employ in my page (and only those features). </p>
  
  <p>So, I'd like to simply grab the className of the <code>&lt;html&gt;</code> of the page so I can check to see how many <code>no-</code> prefixed classes are present (maybe checking <code>classlist.match(/no-/g).length</code>) and determine if my javascript should just give up. </p>
  
  <p>It's not clear whether I should use</p>
  
  <pre><code>document.getElementsByTagName('html').className
  </code></pre>
  
  <p>or </p>
  
  <pre><code>$('html').attr('class')
  </code></pre>
  
  <p>or </p>
  
  <pre><code>document.documentElement.className
  </code></pre>