When an XML document contains HTML, the DOM representation is of elements in the http://www.w3.org/1999/xhtml namespace.
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.