ASP HTMLEncode 메서드
❮ 전체 서버 개체 참조
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>
❮ 전체 서버 개체 참조