以下代码的功能是( ).var test=document.getElementById(“test”);test.style.backgroundColor=” blue”; 选项: A:更改id=”test”的元素背景颜色为蓝色 B:更改id=”test”的元素文本颜色为蓝色 C:更改标签名为”test”的元素背景颜色为蓝色 D:更改标签名”test”的元素文本颜色为蓝色 元素 标签 蓝色 发布时间:2024-05-12 18:37:25