<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>
本文介绍如何为HTML中的Textarea元素设置背景颜色及样式,并展示了两种不同的背景图片设置方法。

7713

被折叠的 条评论
为什么被折叠?



