Question: Which of the following is used to add an attribute to an Element node? (a) setAttr() (b) setAttribute() (c) addAttribute() (d) addAttr()
Which of the following is used to add an attribute to an Element node?
(a) setAttr()
(b) setAttribute()
(c) addAttribute()
(d) addAttr()
Step by Step Solution
3.43 Rating (159 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
