Javascript´Â Á÷Á¢ ÀÔ·ÂÇÒ ¼ö ¾ø´Â ÀϺΠ¹®ÀÚ¸¦ ¹®ÀÚ¿­¿¡ Æ÷ÇÔ½Ãų ¼ö Àִ Ư¼ö ¹®ÀÚ¸¦ Á¦°øÇÑ´Ù. °¢ Ư¼ö ¹®ÀÚ´Â ¿ª½½·¡½Ã·Î ½ÃÀÛÇÑ´Ù. ¿ª½½·¡½Ã´Â ´ÙÀ½ ¹®ÀÚ°¡ Ư¼ö ¹®ÀÚÀÓÀ» Javascript Çؼ®±â¿¡ ¾Ë·ÁÁÖ´Â µ¥ »ç¿ëµÇ´Â À̽ºÄÉÀÌÇÁ ¹®ÀÚÀÌ´Ù.

À̽ºÄÉÀÌÇÁ ½ÃÄö½º¹®ÀÚASCII¿µ¹®
\b¹é½ºÆäÀ̽º8Backspace
\t¼öÆò ÅÇ(Ctrl-I)9Tab
\nÁÙ ¹Ù²Þ10Newline, Line feed
\f¿ëÁö °ø±Þ12Form feed
\rij¸®Áö ¸®ÅÏ13Carriage return
\"ÀÌÁßµû¿ÈÇ¥34Duble quotation
\'´ÜÀϵû¿ÈÇ¥39Single quotation
\\¿ª½½·¡½Ã92Back slash

¿ª½½·¡½Ã ÀÚü´Â À̽ºÄÉÀÌÇÁ ¹®ÀÚ·Î »ç¿ëµÇ¹Ç·Î ½ºÅ©¸³Æ®¿¡¼­ Á÷Á¢ ÀÔ·ÂÇÒ ¼ö ¾ø´Ù.
¿ª½½·¡½Ã¸¦ »ç¿ëÇÏ·Á¸é ¿ª½½·¡½Ã¸¦ µÎ¹ø ÀÔ·ÂÇØ¾ß ÇÑ´Ù(\\).



°£´ÜÇÑ Æ¯¼ö¹®ÀÚ ¿¹Á¦

document.write('PC ÆäÀÌÁö °æ·Î´Â C:\\javascript\\language\\refers\\specialchar.htmlÀÌ´Ù.<BR>');
document.write('¹®Àå¼ÓÀÇ "µû¿ÈÇ¥", \'µû¿ÈÇ¥\', "µû¿ÈÇ¥ ¼Ó \"µû¿ÈÇ¥\"µµ ³ÖÀ» ¼ö ÀÖ´Ù", trio\'s.<BR>');
<FORM>
<INPUT type=button onClick="javascript:alert('°æ°í¹®¼Ó¿¡¼­\t ÅÇ°ú\n ÁÙ ¹Ù²Ù±â\n ¿¹Á¦');" value="Ŭ¸¯ÇØ º¸¶ó">
</FORM>