 <p>I think it's supposed to be:</p> <pre><code>Document doc = Jsoup.connect("http://en.wikipedia.org/wiki/Main_Page").get(); Elements el = doc.select("div#mp-tfa"); System.out.println(el); </code></pre>