White Space and Flow
Spaces, tabs and new lines are all called as white spaces. White spaces given in the source HTML is taken as a single space and would also appear as one space by the browser. This phenomenon is called white space collapsing. A new line or consecutive empty lines, all these are treated as one space.
<p>The
lines of
this paragraph
are present on
multiple lines
and also space between
words are
treated as a single space. Also
the large spaces between
some of the
words will also not appear
in the
browser.
This is how white space just collapses as a single space.</p>
Browser displays text in the full width of the screen and wraps the text onto new lines when no space is present. White space collapsing helps in adding spaces in web page for commenting which does not show in a browser as shown
Apply for HTML5 Certification Now!!
http://www.vskills.in/certification/Certified-HTML5-Developer