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