General

How to Html Encode a string in .NET

Html Encoding is basically converting Html tags in non Html tags so that they can be embeded into a html code. Below code explains how rendering of a html string may vary because of html encoding

You may want to Html encode a string before showing any user input on the page

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.