in reply to escaping <!-- and --> in substitution...or other help plz

Hai,
This problem is common in web application, that to when we are handling raw HTML. So to skip html tags inside the textarea, textbox fields usually we put like this
<textarea ESCAPE=HTML>some text</textarea> <input type="text" ESCAPE=HTML>some text</input>
But i am not sure this will help u to solve ur problem. But usually we do this to escape html, in web application.
Kindly excuse if i am wrong any where...
I want to share the idea..
--prasanna.k