Home Css Form Add Background Image to Textarea Using CSS
Add Background Image to Textarea Using CSS

Create Html File with following code.

<html>
<head>
</head>
<body>
<form name="form1" method="post" action="" >
<textarea name="textarea" style="height: 150px;
width: 190px";></textarea>
</form>
</body>
</html>

Above code will give you the following result

Background Image for Textarea Using CSS

Add Following code between <head> and </head>

<style type="text/css">
<!--
textarea {
background-image: url(textarea.jpg);
}
-->
</style>

The output will be as follow

Background Image for Textarea Using CSS