Monday, March 26, 2012

html format

if i load a text from .txt file (reader) i want to show it in html format

if text is "bold"

i want show

text "bold" who is boldI don't think you can do this unless you are viewing some type of source. As you know, you have < b > tags in html to represent something in bold. You need to have this in your source txt file, or you need a way to find the bold item code in the source file and replace it with the html counterpart. You can always then post the resulting HTML code in a literal or something to that effect. I am a bit confused on this because in a basic text file, the font is all or nothing for the entire file. I cannot open notepad and have one letter or word in bold.

No comments:

Post a Comment