[求助]为什么脚本运行后,背景色没有变呢?
<html><head><script>function welcome(){ document.bgColor = "pink"; document.write("天生我材必有用");}</script></head><body><a href="javascript:welcome();">不知道</a></body></html><html><head><script>function welcome(){ document.write("天生我材必有用"); document.bgColor = "pink";}</script></head><body><a href="javascript:welcome();">不知道</a></body></html>