What Is an HTML Line Break?
Line break (line break) refers to a computer language expression, its role is to make the content behind the line break on a separate line display. The code is different in different languages. For example: <br>, "\ n", "endl", etc.
- Enter (\ r) The original meaning is that the cursor returns to the beginning of this line. The English return of r, the control character can be written as CR, that is, Carriage Return;
- Newline (\ n) The original meaning is that the cursor moves to the next line (not necessarily to the beginning of the next line). The English newline of n, the control character can be written as LF, that is, Line Feed. These characters behave differently in different operating systems. For example, in WIN systems, these two characters are the original meaning of the expression. On UNIX systems, the newline \ n appears as the next line of the cursor and returns to the beginning of the line. On the MAC , \ R appears to return to the beginning of this line and go to the next line. As for the definition of the ENTER key is related to the operating system.