Which of the following is used to add an attribute to an Element node? (a) setAttr() (b)

Question:

Which of the following is used to add an attribute to an Element node?

(a) setAttr()

(b) setAttribute()

(c) addAttribute()

(d) addAttr()

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: