Home »
MCQs »
Jsoup MCQs
Which of the function is used to obtain or set the value of an HTML element's attribute?
5. Which of the function is used to obtain or set the value of an HTML element's attribute?
- Attribute()
- Html_attribute()
- Attr()
Answer: C) Attr()
Explanation:
attr() function is used to obtain or set the value of an HTML element's attribute.