Well it has to be surrounded by something, even if it's just the <body>
tag. If you had a HTML document with just that written in it, I would think the browser would implicitly put a <body>
in the DOM for you.
That being said, take a look at this:
How do I select text nodes with jQuery?