<!-- http://www.knowsky.com -->
<!-- bbs http://www.knowsky.com/bbs-->
<!-- 把下列代码加到<body>区域中-->
<form>
<input type="button" Value="红色" onClick="document.bgColor='red'">
<input type="button" Value="橙色" onClick="document.bgColor='orange'">
<input type="button" Value="黄色" onClick="document.bgColor='yellow'">
<input type="button" Value="绿色" onClick="document.bgColor='green'">
<input type="button" Value="兰色" onClick="document.bgColor='blue'">
<input type="button" Value="紫色" onClick="document.bgColor='purple'">
</form>