CIW Exam Questions

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

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

A.
getAttribute(NewValue, AttributeName)

B.
getAttribute(AttributeName, NewValue)

C.
setAttribute(NewValue, AttributeName)

D.
setAttribute(AttributeName, NewValue)

Explanation: