M

Mr. Dubey • 52.26K 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

Explanation by: Mr. Dubey
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.