homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

From Text To HTML
How to convert from text mode to html?

 3:55 am on Apr 18, 2011 (gmt 0)

would appreciate it if someone can advice me on how to convert from text mode to html. thanks



 4:16 am on Apr 18, 2011 (gmt 0)

Could you share some detail? What needs to be in html mode - some kind of software?


 6:50 pm on Apr 18, 2011 (gmt 0)


This will preformat text
but it's not too pretty.


On the most basic level, this will work, otherwise more info is needed as tedster asked.


 8:43 am on Apr 19, 2011 (gmt 0)

Are you asking how to use your html editor, in which case we need to know which one you are using, or do you want to display a piece of html on your site?


 7:22 am on Apr 20, 2011 (gmt 0)

Hi Guys,

Thanks for your reply. What i want to do is to convert my text word into html format with url inserted. I'm not quiet sure what type of program should i need to operate this conversion. please advise


 8:57 am on Apr 20, 2011 (gmt 0)

You might want to use a WYSIWYG html editor. There are free ones available on the net, just run a search for it.


 6:47 pm on Apr 20, 2011 (gmt 0)

Wait. What do you mean "with url inserted"? Are you talking about a complete document, or a list of strings that you want to convert into appropriately formatted links?

The quick-and-dirty way to convert a plain-text document into html is to globally replace all multiple line breaks with </p>\n\n<p> and then do some manual spot-cleaning. (Been there. Done that.) If you are not already reasonably comfortable with Regular Expressions, this is the time to learn.


 12:01 am on Apr 21, 2011 (gmt 0)

Sourceforge has a txt2html Perl program that might be of use: [sourceforge.net...]


 3:14 am on Apr 21, 2011 (gmt 0)

1- Change the Extention of page from txt to html.
2- Add <br /> to the place you want to start new line.
3- Now you may double click to the file and access your html file.
4- If you want to show it online you need domain name and hosting server.( Which need severel things to be learned! )


 8:54 am on Apr 23, 2011 (gmt 0)

got it! thanks a lot to you all guys.



 12:38 pm on Jun 2, 2011 (gmt 0)

I would recommend using a style sheet to handle any break lines or webpage structure.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved