91-9990449935 0120-4256464 |
Jsoup Example: print meta data of an URLIn this example, we will print the meta keywords and description of an URL. To do so, you need to call select(), first(), get() and attr() methods of Document class. Output: Meta keyword : jsoup, tutorial, beginners, professionals, introduction, example, java, html, parser Meta description : Jsoup tutorial for beginners and professionals provides html parsing facility in java with examples of printing title, links, images, form elements from url.
Next TopicPrint images of URL
|