What Is Unescape Html

The unescape() function computes a new string in which hexadecimal escape sequences are replaced with the character that it represents. The escape sequences might be introduced by a function like escape .

What is escape and unescape HTML?

Escape: This function encodes special characters, with the exception of: * @ – _ + . / Unescape: The unescape() function decodes an encoded string.

How do you escape HTML code?

  1. & → & (ampersand, U+0026)
  2. &lt; → < (less-than sign, U+003C)
  3. &gt; → > (greater-than sign, U+003E)
  4. &quot; → ” (quotation mark, U+0022)
  5. &apos; → ‘ (apostrophe, U+0027)
Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest