To change the presentation of an element

Q

To change the presentation of an element, which of the following can be used? A) document.getElementById('elem1').style.propertyName = "value"; B) document.getElementById('elem1).className = "value"; C) Both a and b above D) None of the above

✍: Guest

A
(This question has not been answered yet. If you know the answer, please share it in a comment below.)

2010-08-28, 3661👍, 0💬