Many would frown upon polluting the global name space with functions corresponding to all known HTML tags.
What's more of a problem is if you have something like this: https://gist.github.com/2499913
The problem is that the "var p" in the for loop will be hoisted to the top of the scope, and so when you call p() in the first line, it will actually be undefined.