Home » HTML » Html miscellaneous » Question
  1. Which of the following is not DOM property?
    1. document.createElement()
    2. element.innerHTML
    3. document.getElementById()
    4. element.appendChild(node)
    5. None of these
Correct Option: C

For generating DOM we use certain DOM properties or methods. Some of the DOM methods are element.appendChild(node), document.createElement(), element.innerHTML, document.removeElement().



Your comments will be displayed only after manual approval.