Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML tag inside value of INPUT tag

Status
Not open for further replies.

chebbi

Programmer
Feb 6, 2002
98
0
0
IN
Hi

I neeed to put a html tag iside the value of a input tag like below

<input type=&quot;text&quot; value=&quot;<font color='red'>redfont</font>&quot;>

IE hadles this well and applies the font to the value but Netscape throws out the entie value content with html tag traetting this as sa string. Any Ideas???? Badrinath Chebbi
 
use some style
<input type=&quot;text&quot; value=&quot;redfont&quot; style=&quot;color:red;&quot;>
A language that doesn't affect the way you think about programming is not worth knowing.
admin@onpntwebdesigns.com
 
Thanks for ur thought. Sorry i forgot to mention this. I need to apply this tag only to part of text like for example

<input type=&quot;text&quot; value=&quot;<font color='red'>redfont</font>this is plainpart&quot;>


Badrinath Chebbi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top