I have linux centos 5.3. I am in progress to create a website but i am not aware of writing HTML. I need some tool to convert text to html. On google I have found many tools with can help in creating html pages but all are for windows. Can anyone please suggest me any similar tool for linux system.
Yo can use an WYSIWYG editor like Dreamweaver, or a content manager like Wordpress. Check these lists (verify that they are compatible with your SO):
HTML Editors (Get all which have a WYSIWYG editor and a free/open-source license). I would recommend you Kompozer.
Content Management Systems (Get just the free ones). I think it's the better option because the html editors aren't very useful when you have a minimum quantity of information.
ANYWAY I would encourage you to learn HTML. It's very very easy and it will help you a lot.
It may be stating the obvious, but I think it's still useful to point out that HTML files ARE text files.
So Octopus is providing a link to a useful Perl script which replaces certain characters with HTML entities and allows text to be surrounded by <PRE> tags. This will be useful if your HTML pages are mostly text.
And knittl suggests you learn HTML. I tend to agree, because then you can create HTML with any text editor.
But eLZahR proposes an HTML editor with WYSIWYG features, if you can find one, to make it a little easier.
The choice is yours. Once again, learn HTML. Don't rely entirely on fancy frameworks.
I think Nvu is/was the closesd thing to a WYSIWYG type of HTML editor on linux for a long time, now there is also KompoZer. There used to be a Mozilla web editor, but I don't think it is still available.
But try to teach yourself at least some HTML, the basics are not hard and it is useful knowledge even if you don't plan to type a lot of it.