I posted a variation of this a while ago, but I need a different answer if one is available.<BR><BR>I have a search that, when the search results are displayed, I want to show the user what they have searched upon. So, lets say they search for 'Test', that gets stored in a variable strKeywords. When displaying the search results it is something like:<BR><BR>Your search for <%=strKeywords%> has produced the following results:<BR><BR>This works fine until someone searches on something like <marquee> or <font face=arial size=18>. When anything is in <> it inturprets the keyword as an HTML tag.<BR><BR>What I started off doing is looking at the string and replacing '<' and '>' with &_lt and &_gt (without '_'). That works alright but it won't catch things that I have not thought of.<BR><BR>So, is there anyway to display that variable strKeywords without it being inturpretted as HTML, no matter what is written?<BR><BR>Thanks in advance.