what is the difference between line breaks and whitespace in html?
Sequences of white spaces are collapsed, new line characters are stripped out, and lines break when needed to fit into their container. ... Sequences of white spaces are collapsed into one as with the normal value, but like pre line breaks are suppressed (lines don't wrap) within an element.