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.

我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译!

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,