How to test if current browser supports a given tagName
<p>I'd like to make a function to the effect of: </p>

<pre><code>function supportsElem(tagName) {
   // returns boolean
}
</code></pre>

<p>where: </p>

<pre><code>supportsElem("div") // true 
supportsElem("randomtext") // false
</code></pre>

<p>What the easiest way to do that?</p>
