title: How to check header (h1, h2, h3) property of a DOM element?
body: <p>If I have a reference to a link in Javascript / jQuery, how can I check if it is an <code>&lt;h1&gt;</code>, <code>&lt;h2&gt;</code>, etc.?</p>