Try jsoup is an interactive demo for jsoup that allows you to see how it parses HTML into a DOM, and test CSS selector queries.

Settings

Parser:

Cleaner

Input HTML

Fetch URL

Parsed Output

Select