Use this function to escape the values of html entity attributes. It hex escapes everything that is not alphanumeric or in one of the following characters ',' '.' '-' '_' .
Syntax
APEX_ESCAPE.HTML_ATTRIBUTE (
    p_string IN VARCHAR2 )
    return VARCHAR2;
Parameters
Table 11-3 HTML_ATTRIBUTE Function Parameters
| Parameter | Description | 
|---|---|
| 
 | The text string that is escaped. | 
Example
See “ HTML_TRUNC Function”.
See Also:
Parent topic: APEX_ESCAPE