How would you set the only span element on the page to have a CSS property like tihs: class='bigstuff' document.getElementsByTagName("span").setClassname("bigstuff");...



How would you set the only span element on the page to have a CSS property like tihs:  class='bigstuff'




























document.getElementsByTagName("span").setClassname("bigstuff");





document.getElementsByTagName("span")[0].setAttribute("class", "bigstuff");





document.getElementsByTagName("H1")[0].setAttribute("bigstuff", "class");





document.getElementByTag("span")[0].setAttribute("class", "bigstuff")





Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here