编辑下面的代码:【加编码】
<html> <body> <p id="p1">Hello world!</p> <p id="p2">Hello world!</p> <script> document.getElementById("p2").style.color="blue"; document.getElementById("p2").style.fontFamily="Arial"; document.getElementById("p2").style.fontSize="larger"; </script> </body></html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂