<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<style type="text/CSS">
<!--
.unnamed1 {
background-image: url(ai1.jpg);
}
-->
</style>
<style type="text/CSS">
<!--
.unnamed2 {
background: url(ai1.jpg);
}
-->
</style>
</head>
<body>
<textarea name="textarea" class="unnamed1" cols="50" rows="20"></textarea>
<textarea name="textarea" class="unnamed2" cols="50" rows="20"></textarea>
</body>
</html>
textarea的背景颜色
<textarea rows="10" cols="50" style="background-color:yellow;color:red;"></textarea>