This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes Servlets and the fly likes multiple colors in HTML TextArea Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "multiple colors in HTML TextArea" Watch "multiple colors in HTML TextArea" New topic

multiple colors in HTML TextArea

anirudh bargotra

Joined: Apr 02, 2001
Posts: 9
I want to add multiple color message in ti HTML Text area is it possible if yes, pls. tell me...

Jan Muller

Joined: Mar 19, 2001
Posts: 6
You can use the <FONT> HTML tags fot this.

good luck


Jan H Muller<BR>[mail][/mail]
maha anna
Ranch Hand

Joined: Jan 31, 2000
Posts: 1467
Do you mean this?
<font color=red>Your address here</font>
I don't think this will work. The Textarea tag will display as it is <font color=red>Your address here</font>. No color change.
maha anna
I agree. Here's the link:
subject: multiple colors in HTML TextArea
jQuery in Action, 3rd edition