free e- mail
thaimail
hotmail
yahoo
siam2you
thammasat
Home
Visual Basic
Active Server Page
JavaScript
Network
Other
Active Server Pages.
Server Object
All Methods
All Objects
All Properties
METHOD: Server.HTMLEncode
Server.
HTMLEncode
(String)
The
HTMLEncode
method applies HTML encoding syntax to a specified string of ASCII characters. For example, this allows you to display a HTML tag on a web page and not have it treated as an actual tag.
There is one mandatory argument.
String
The
String
argument is the string to be encoded.
Code:
<% Response.Write
Server.HTMLEncode
("The tag for a table is: <Table>") %>
Output:
The tag for a table is: <Table>
Browser Output:
The tag for a table is: <Table>
Copyright 2000 by Infinite Software Solutions, Inc.
Trademark Information
ASP - Link
ASP reference
B
C
D
E
F
G
Last update:
Copyright © 2001.Memo Wil@keo everything that I like Co.,Ltd.