Sun
ONE Active Server Pages Product Home Page Developer Site Version
 

ContentsPreviousNextIndex



Examples: ASP Server Object HTMLEncode Method

The following script:

<% Server.HTMLEncode("The paragraph tag <P>" %>

produces the following output:

The paragraph tag &lt;P&gt;

The preceding text will be displayed on a Web browser as:

The paragraph tag <P>

You can view the source to see the encoded HTML.



ContentsPreviousNextIndex