the DOM tree is going to say either html:code or {http://something}code neither of which is just code.
When you parse a document or fragment that is in HTML syntax, the DOM representation is of elements in the http://www.w3.org/1999/xhtml namespace.
There is no difference.