You can use htmlentities when echoing to the browser, this will show the tag rather than have html interpret it.
See here http://uk3.php.net/manual/en/function.htmlentities.php
Example:
echo htmlentities("Look just like this line - so then know how to type it");
Output:
Look just like this line - so then know how to type it