You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
programming-examples/css/Background color for textar...

33 lines
840 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>background color for textarea</title>
<style type="text/css">
textarea {
width: 400px;
height: 120px;
background-color: green;
font-size: 16px;
font-weight: bold;
font-family: Arial;
border: 1px solid blue;
}
</style>
</head>
<body>
<p>
<TEXTAREA name="mytext" rows="25" cols="100">
Love grows by giving.
The love we give away is the only love we keep.
The only way to retain love is to give it away.
Elbert Hubbard</TEXTAREA>
</p>
<input name="reset" type="reset" id="reset" value="Reset" />
<input type="submit" name="Submit" value="Submit" class="buttonSubmit" />
</form>
</body>
</html>