Report Bug

QusWhich of the following methods is used to remove a child element from the DOM? QusDOM से चाइल्ड तत्व को हटाने के लिए निम्नलिखित में से किस विधि का उपयोग किया जाता है?


A. removeElement()
B. removeNode()
C. removeChild()
D. deleteNode()


Solution
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