Which JavaScript method is used to add a new HTML element to the DOM?
PYQ Bihar STET 2025
Which JavaScript method is used to add a new HTML element to the DOM?
- A.
appendElement()
- B.
createElement()
- C.
newElement()
- D.
addElement()
Attempted by 341 students.
Sign up free to check your answer
Sign up freeExplore the full course: Bihar Stet Computer Science Complete Course
Loading lesson…

