Programming Code Center(PCC)
[JS]

(PCC)::[How-to-use-JavaScript-strings]::[js]

File Name : index.html

<!DOCTYPE html>
<html>
<body>

<h2>JavaScript Strings</h2>

<p>Strings can be written with double or single quotes.</p>

<p id="demo"></p>

<script>
document.getElementById("demo").innerHTML = 'John Doe';
</script>

</body>
</html>

Output :

JavaScript Strings

Strings can be written with double or single quotes.