PrepAway - Latest Free Exam Questions & Answers

Which of the following will correctly modify the value of an X/HTML element’s attribute within the DOM?

Which of the following will correctly modify the value of an X/HTML element’s attribute within the
DOM?

PrepAway - Latest Free Exam Questions & Answers

A.
getAttribute(NewValue, AttributeName)

B.
getAttribute(AttributeName, NewValue)

C.
setAttribute(NewValue, AttributeName)

D.
setAttribute(AttributeName, NewValue)

Explanation:


Leave a Reply