1
Thanks

A few words of thanks would be greatly appreciated.

HTML - change the text color in a text box

Issue


I wanted to know how to change the color of text entered in a text box?
The input field:
<input type='text' name='nofacture' size=6 maxlength=7> 

I want to have the text in blue.

Solution


Simply use:
<input type='text' name='nofacture' STYLE='color=#FFFF00' size=6 maxlength=7>
1
Thanks

A few words of thanks would be greatly appreciated.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.

Related

This document, titled « HTML - change the text color in a text box », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).

0 Comments