Yes, HTML uses <br> to indicate line breaks. If you view the source generated, you'll see line breaks in the HTML source code where you put \n characters. But the HTML standard says browsers are supposed to pretty much ignore them except in certain situations; which is why HTML has a <br> tag.
This is substantially what John said earlier.