add color to web page text box
This site provides users with the information about html add color to text box, how to add color to web page text box, guide, and more.
If you think that this site is helpful, please recommend your friends to visit our site.
You can use CSS, Cascading Style Sheets, Style Tags to add a background color to your web page form text boxes or input box. This is a good way of enhancing your web page's appearance.
The following is an example that you can copy to your own web page:
Please type the message: <INPUT type="text" STYLE="color: white; font-family: Verdana; font-weight: bold; font-size: 12px; background-color: blue;" size="10" maxlength="30">
Now let's see the above code in action in the following:
Please type the message:
Please note that if you would like to use a darker background color, you need consider using lighter color for your text.
From the above code, you can also learn the basics of formatting the webpage text box, such as set input box font, set the size of text box, and others.