Jsoup Example: print meta data of an URL

In 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.


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. 

Hot Tutorials

Contact US


Get Metadata of URL