I guess you want to prevent your users from entering something like
<a href="http://www.spammer.com">Great Spam</a>
into some text fileds of your pages.
There are some things you could try:
- filter out any <> by JavaScript
- filter out any <> in the code behind or change them to < etc.
- try some more elaborate parsing with regular expressions to detect links