String html = "<div><p>Lorem ipsum.</p>";Document doc = Jsoup.parseBodyFragment(html);Element body = doc.body();//该片段来自于http://www.codesnippet.cn/detail/230120131876.html
来源: http://www.codesnippet.cn/detail/230120131876.html