text box with background color html code example
Example 1: html input background color
input[type="text"], textarea {
background-color : #d1d1d1;
}
Example 2: input background color
<input style="background-color: gold;" type="text" value="">