Home »
MCQs »
Jsoup MCQs
To delete an HTML element from a document, use ____ method
8. To delete an HTML element from a document, use ____ method.
- Clear()
- Remove()
- Delete()
- Del()
Answer: A) Clear()
Explanation:
To delete an HTML element from a document, use the clear() method.