Page 1 of 1

Question 7 Which of the following methods creates a new element that can be inserted in the DOM for a page? document.cre

Posted: Tue May 24, 2022 7:41 am
by answerhappygod
Question 7 Which Of The Following Methods Creates A New Element That Can Be Inserted In The Dom For A Page Document Cre 1
Question 7 Which Of The Following Methods Creates A New Element That Can Be Inserted In The Dom For A Page Document Cre 1 (35.43 KiB) Viewed 25 times
Question 7 Which Of The Following Methods Creates A New Element That Can Be Inserted In The Dom For A Page Document Cre 2
Question 7 Which Of The Following Methods Creates A New Element That Can Be Inserted In The Dom For A Page Document Cre 2 (40.77 KiB) Viewed 25 times
Question 7 Which of the following methods creates a new element that can be inserted in the DOM for a page? document.createNewNode document.createElement document.newElement document.newNode Question 8 Which of the following statements adds a new <li> element (myLI) to the end of a <ul> element (myList)? myList.add(myLl); OmyList.appendChild(myLI); O myList += = myLl; myList.addChild(myLI);

Which of the following statements inserts a list item (myLI) as the first element in a list (myList)? Assume items is an array containing the children of myList. myList.insertBefore(myLl, items[0]); Question 10 Which of the following statements would move a list item (myLI) from its original location in the DOM to another list (newList)? newList.appendChild(myLI); newList.move(myLI); myLl.move(newList); myLi.parent newList; = OmyList.insertFirst(myLl); O myList.putFirst(myLI); myList[0] = myLl;