I am facing a problem with echo comment . details ::

if i write a comment on my site it will show correctly but when i create a comment like html tag it will show like HTML tag not showing like normal text.
EXAMPLE: if i write : <input name="name" type="text"> then it is showing like a INPUT BOX but i want to show this like normal text .
so how can i do this ?
if you know try to help me please.