32. One of many JavaScript HTML methods is getElementById(). A correct example and description of its use is shown in:
A) document.getElementById...
32. One of many JavaScript HTML methods is getElementById(). A correct example and description of its use is shown in:
A) document.getElementById('image').href='imagem.gif'; changes an HTML image by changing the href attribute of an tag. B) document.getElementById("letter").innerHTML="Content"; finds an HTML element with id="letter" and changes the element content to "Content". C) document.getElementById("text").fontSize="25px"; changes the font size of an HTML element with id="text" to 25 pixels. D) document.getElementById("text").display="none"; hides the element with id="text". E) document.getElementById("text").display="block"; shows the element with id="text".
Compartilhar