Your Guide to Professional
Web Site Design and Development

HTML Tips
HTML Codes
Web Development
Web Design Tips
JavaScript Codes
216 Web Safe Colors
CSS Tutorial
JavaScript Tutorial
ASCII Character Codes

Offering a guide to professional web site design, web page design and web design guidelines

| Web Site Development | HTML Codes | HTML Tips | Web Design TipsJavascript Snippets | 216 Safe Colors | Symbols | CSS Tutorial | JavaScript Tutorial |

HTML Forms: Using CSS (Cascading Style Sheets) Style Tags to Add a Color Background to Input Boxes


You can use CSS (Cascading Style Sheets) Style Tags to add a color background to your form input boxes.

The INPUT tag is used to create input fields within a web page form.

You can change the font, input text color, input text size and the background color of your INPUT box by using the STYLE attribute.

<FORM>
<INPUT type="text" STYLE="color: #FFFFFF; font-family: Verdana; font-weight: bold; font-size: 12px; background-color: #72A4D2;" size="10" maxlength="30">
</FORM>

Browser View:

Click inside this text box and type to see an example of the text color.

Using CSS (Cascading Style Sheets) Style Tags  to add a bit of color to your web page form input box is a great way to enhance  your form's appearance. Use it wisely.

 More Web Design Tips