element.tagName

It's a bit unclear if the returned value is uppercase or not. So far I've yet to come across a case when it's not in UPPERCASE. Also according to the the specification:

The HTML DOM returns the tagName of an HTML element in the canonical uppercase form, regardless of the case in the source HTML document.

Despite what the article says, XHTML seem to return UPPERCASE for DOM:element.tagName. --Leidegre 06:20, 31 July 2008 (PDT)

It's been two years, my experience is the same as Leidegre's.  If the page is actually correct, it would help to see an example. Page Notes 13 July 2010

Document Tags and Contributors

Contributors to this page: Page Notes, Leidegre
Last updated by: Page Notes,