<html>
<body>
<h2>JavaScript Strings</h2>
<p>The escape sequence \' inserts a single quote in a string.</p>
<p id="demo"></p>
<script>
let text = 'It\'s alright.';
document.getElementById("demo").innerHTML = text;
</script>
</body>
<!-- Mirrored from www.w3schools.com/js/tryit.asp?filename=tryjs_string_escape_quotes1 by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 21 Dec 2022 17:06:48 GMT -->
</html>