The HtmlAttributeEncode()
function encodes the given text
in a form that can safely be used inside an HTML attribute.
This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.
Returns a text that can safely be used inside an Html attribute.
Returns Invalid expression
if the result is not a text.
Name | Type | Required | Description |
---|---|---|---|
text
text
a text to be used as an attribute in HTML tags