Before explaining the article, I would like to thank all readers who read my article and voted for it.Your appreciation for my article gives me strength to write more good articles. Hope in future I will get your valuable comments and suggestions.Now I won't waste your time and come back to the topic. I have written this article on ‘Insert Special Characters’. The backslash (\) is used to insert apostrophes, new lines, quotes, and other special characters into a text string.
var txt="We are from "codegain" technical team;
var txt="We are from\"codegain\" technical team.";
Here is another example:
document.write ("You \& Us can improve our skills!");
The example above will produce the following output:
"You & Us can improve our skills!