Using Special Formatting Characters
<HTML>
<HEAD>
<TITLE>Using special formatting characters</TITLE>
</HEAD>
<BODY>
<PRE>
<SCRIPT LANGUAGE="JavaScript">
<!--
document.write("This shows how the \bbackspace character works.\n")
document.write("This shows how the \ttab character works.\n")
document.write("This shows how the \rcarriage return character works.\n")
document.write("This shows how the \fform feed character works.\n")
document.write("This shows how the \nnew line character works.\n")
// -->
</SCRIPT>
</PRE>
</BODY>
</HTML>
Related examples in the same category