### Question:
ExtractingData { public void extractAttributesTextAndHTML(){ String html = "<p>An <a href='/abc'><b>example</b></a> link.</p>"; Document doc = Jsoup.parse(html, "http: Element link = doc.select("a").first(); String text = doc.body().text(); logger.info("text={}", text); String linkHref = link.attr("href"); String absLinkHref = link.attr("abs:href"); logger.info("linkHref={}, absLinkHref={}",linkHref, absLinkHref); String linkText = link.text(); logger.info("linkText={}", linkText); String linkOuterH = link.outerHtml(); logger.info("linkOuterH={}", linkOuterH); String linkInnerH = link.html(); logger.info("linkInnerH={}", linkInnerH); }  void extractDataByDOM(); void extractDataByCSSOrJqueryLikeSelectorSyntax(); void extractAttributesTextAndHTML();  }### Answer:
@Test public void extractAttributesTextAndHTML() throws IOException{ extractingData.extractAttributesTextAndHTML(); }