MCQ Answer

Which of the following methods is used to remove a child element from the DOM?

Which of the following methods is used to remove a child element from the DOM?

DOM से चाइल्ड तत्व को हटाने के लिए निम्नलिखित में से किस विधि का उपयोग किया जाता है?
Topic : JS DOM Manipulation

A. removeElement()

B. removeNode()

C. removeChild()

D. deleteNode()




Correct Answer is :

C. removeChild()



Explanation

The removeChild() method is used to remove a specified child node from the DOM. It requires a reference to the parent node from which the child will be removed.

Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad