Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!

CR and LF are control characters or bytecode that can be used to mark a line break in a text file.

  • CR = Carriage Return (\r, 0x0D in hexadecimal, 13 in decimal) — moves the cursor down to the next line without returning to the beginning of the line.
  • LF = Line Feed (\n, 0x0A in hexadecimal, 10 in decimal) — moves the cursor to the beginning of the line without advancing to the next line.

A CR immediately followed by a LF (CRLF, \r\n, or 0x0D0A) moves the cursor down to the next line and then to the beginning of the line.

Learn moreEdit

General knowledge

  • Unknown prefix: Newline. on Wikipedia
  • Unknown prefix: Carriage return. on Wikipedia

ドキュメントのタグと貢献者

 このページの貢献者: Porkepix, klez, rahul91, chrisdavidmills
 最終更新者: Porkepix,