An encoded string.
The HttpUtility.HtmlAttributeEncode(string) method converts only quotation marks ("), ampersands (&), and left angle brackets (<) to equivalent character entities. It is considerably faster than the HttpUtility.HtmlEncode(string) method.
The string result from the HttpUtility.HtmlAttributeEncode(string) method should be used only for double-quoted attributes. Security issues might arise when using the HttpUtility.HtmlAttributeEncode(string) method with single-quoted attributes.