Prev Demo
Inserting Quotes Inside The String
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Demo</title> </head> <body> <h2>Inserting Quotes inside the string</h2> <div id="getId"></div> <script> var a = "This is 'DotNetFunda"; var b = 'This is "TechFunda"'; var c = "This is 'KidsFunda' & 'FarmingFunda'"; document.getElementById("getId").innerHTML = a + "<br>" + b + "<br>" + c </script> </body> </html>
Note: We DO NOT save your trial code in our database.
Output