Home »
MCQs »
Jsoup MCQs
Which method is used to retrieve the first element from a set of HTML elements?
18. Which method is used to retrieve the first element from a set of HTML elements?
- Foremost()
- One()
- First()
Answer: C) First()
Explanation:
First() method is used to retrieve the first element from a set of HTML elements.