It's all about optimization
While indentation and line breaks are recommended for developers to make your markup easier to read, whitespace in HTML often comprises 10% - 20% of a page's actual size. The visitor to your web site doesn't care. Get rid of it.