Not wrong, but as it says here http://quirksmode.org/dom/core/
```
My advice is not to use tagName at all.
nodeName contains all functionalities of tagName, plus a few more. Therefore nodeName is always the better choice.
```
Would be better if we only used nodeName consistently.