编辑下面的代码:【加编码】
<html> <body> <input type="button" onclick="document.body.style.backgroundColor='lavender';" value="Change background color"> </body></html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂