Javascript language

Special Character in JavaScript
Previous Home Next
Code Output
\' single quote
\" double quote
\ backslash
\n new line
\r carriage return
\t tab
\b backspace
\f form feed

 

Step 1. Written below code in your application.

<html>
<head>
<script type="text/javascript">
var txt="I am working in \"r4r\".";
document.write(txt);
</script>
</head>
<body>

</body>
</html>

Step 2. Run the Application.

Previous Home Next

Tolal:0 Click:

Show All Comments

Did not find what you were looking for leave your name and message. We will revert within 24 hours
Name:
eMail:
Comment / Feedback: