Q59
Which of the following is the method used to add an element to the desired location?
A.
add.element()
B.
element.add()
C.
element.appendChild()
AnswerD.
none of the mentioned
Answer: Option C
Solution
Answer: Option C
Solution:
The method element.appendChild() is used to add the element to the desired location within the document tree.