Simple Solution
  • Java
  • Spring
  • Spring Boot
  • Tutorials
  • Tags

Java jsoup tutorial

Tags: jsoup Tutorial

In this Java jsoup tutorial, we learn how to use the jsoup library.

  • How to convert HTML into Plain Text

  • How to pretty print XML String and XML file

  • How to get all HTML elements

  • How to clean HTML String to get safe HTML from untrusted HTML String

  • How to get HTML elements by attribute value

  • How to get HTML elements by attribute name

  • How to get HTML elements by tag name

  • How to get HTML element by ID

  • How to get HTML elements by CSS class name

  • How to extract all Links of a web page

  • How to pretty print HTML String

  • How to extract website title

  • How to extract custom data attributes of HTML5 element

  • How to extract inner and outer HTML of HTML element

  • How to extract JavaScript from HTML script element

  • How to extract text and attributes of HTML element

  • How to extract ID and name of HTML element

  • How to extract CSS class name of HTML element

  • How to parse HTML document from an URL

  • How to parse HTML document from a file and InputStream

  • How to parse HTML document from a String

Happy Coding 😊

Copyright © 2019 SimpleSolution.dev. All Rights Reserved.