ASPHTMLEncodeメソッド_
❮完全なサーバーオブジェクトリファレンス
HTMLEncodeメソッドは、指定された文字列にHTMLエンコーディングを適用します。
構文
Server.HTMLEncode(string)
Parameter | Description |
---|---|
string | Required. The string to encode |
例
The following script:
<%
response.write(Server.HTMLEncode("The image tag: <img>"))
%>
Output:
The image tag: <img>
Web browser output:
The image tag: <img>
❮完全なサーバーオブジェクトリファレンス