Document doc = Jsoup.parse(url1, 3*1000); String subHead = "A h2 heading"; //note that at this point I have already parsed the html and found a