I would like to find the element type of a tag and even tried looking in the spec here: http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#elements-in-the-dom
I thought I can do this document.createElement('button').__proto__
to get HTMLButtonElement, but not very clear that is what it is. Is there a way to find this out? Preferably something I can write out to the console or maybe there is a better reference that lists them all more clearly?