Have you ever viewed the source of a Web site and the entire page is one very long line of code?
\n is used to format your HTML document in a text editor or viewer. <br /> formats the HTML for the browser.
Example
<?
echo "big<br />";
echo "dog";
?>
If you view the source (in your browser) on this, you would see:
big<br />dog
Example 2
<?
echo "big<br />\n";
echo "dog";
?>
If you view the source (in your browser) on this, you would see:
big<br />
dog