ASP HTMLEncode Method
Complete Server Object Reference
The HTMLEncode method applies HTML encoding to a specified string.
Syntax
|
Server.HTMLEncode(string)
|
| Parameter |
Description |
| string |
Required. The string to encode |
Example
The following script:
<%
response.write(Server.HTMLEncode("The image tag: <img>"))
%>
Output:
The image tag: <img>
Web browser output:
The image tag: <img>
|
Complete Server Object Reference
Click here to design a Stunning Flash Website for Free
Wix is a revolutionary web design tool that provides anyone with the possibility to create professional and beautiful websites for free.
With e-commerce features, search engine visibility and many more professional tools, Wix is the ultimate solution for creating a spectacular site while saving tons of money.
|