Jul 12, 2006 - 01:02 PM
The "easy" (but sometimes tedious) way of doing this is by using the HTML substitue characters for the less-than and greater-than symbols.
Using your example above, you would code it as follows: <font face="arial">
Depending on your needs, you could also use the HttpUtility.HtmlEncode available in .NET...this would come into play a bit more if you were fetching the strings from a database, or some other sort of "dynamic" store.
Let me know if this helps...
Jul 26, 2006 - 11:03 AM
Oct 08, 2013 - 03:02 AM