Meaningless Drivel is fun!*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "add tags" Watch "add tags" New topic
Author

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?

Thanks
marc weber
Sheriff

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
sscce.org
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: add tags
 
Similar Threads
add tags
JDOM 8 Problem
GZipInputStream & ZipInputStream?
adding a newline character to a file using fileoutputstream
Separator in JToolBar