programming-examples/css/Background color for textarea.html
2019-11-15 12:59:38 +01:00

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>