String escaping is act of replacing reserved characters with their escape sequence. Escaping is done by replacing the reserved characters with their escape sequences, which are all defined online for convenience. The most common case of using escape characters is when you work with client-side JavaScript that involves HTML and CSS. The reserved characters for client-side are <
, >
, &
, '
and "
.