HTML_ENCODE function [HTTP]

Function

Encodes special characters within strings to be inserted into HTML documents.

Syntax

HTML_ENCODE ( string )

Parameters

string An arbitrary literal string used in an HTML document.

Usage

This function returns the string argument after making the following set of substitutions:

Characters

Substitution

"

"

'

'

&

&

<

&lt;

>

&gt;

codes no less than 0X20

&#xnn

Standards and compatibility

See also

“HTML_DECODE function [HTTP]”

“HTTP_ENCODE function [HTTP]”