We know
\ r represents a carriage return (acsii:13 or 0x0d), which means "hard return"
\ n represents a newline character (acsii:10 or 0x0a), which means "soft return"
After these two are used in the page, you won't see any effect. Because it wraps the HTML code itself, we can see the code wrap when we right-click on the source file.
So, \ n, just like you write HTML code in Visual Studio, press Enter in the code to wrap the HTML code itself. This effect is achieved by using \n\r. It is the output of a (HTML markup language), in the HTML interpreted as the input of the word lines, \ n is to feed the source code, after the input, look at the HTML source code, see there is a line break, and the HTML interpreter (Web browser) will ignore it.
If you need to display line breaks on a Web page, and display line breaks in the Web browser, you need to use <br/>
"\ r \ n" in JavaScript