1
Thanks

A few words of thanks would be greatly appreciated.

HTML - change the text color in a text box

In this short article we will show you how to change the color of text entered in a text box in HTML.


Solution

For the input field:
<input type='text' name='nofacture' size=6 maxlength=7> 


and for a blue text simply use:
<input type='text' name='nofacture' STYLE='color=#FFFF00' size=6 maxlength=7>


Image: © Everypixel
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