jQuery in Action, 3rd edition
The moose likes Beginning Java and the fly likes add tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "add tags" Watch "add tags" New topic

add tags

Hui Zhao
Ranch Hand

Joined: Jul 09, 2007
Posts: 116
I am parsing an HTML file and prepare to modify it.
I want display every line in different color.
It looks like to add a tag for each line, but I am not sure.

How to do it?

marc weber

Joined: Aug 31, 2004
Posts: 11343

Yes, you will probably want to use a span tag.

"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
I agree. Here's the link: http://aspose.com/file-tools
subject: add tags
jQuery in Action, 3rd edition