A

Admin • 828.03K Points
Coach

Q. 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()
  • (D) none of the mentioned
  • Correct Answer - Option(C)
  • Views: 6
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
The method element.appendChild() is used to add the element to the desired location within the document tree.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.