SyntaxFix
Write A Post
Hire A Developer
Questions
Use Nodename over tagName :
nodeName contains all functionalities of tagName, plus a few more. Therefore nodeName is always the better choice.
see DOM Core