In HTML, this:
<p>Hel lo</p>
is the same as:
<p>Hel lo</p>
and this:
<p>Hel
lo</p>
is the same as:
<p>Hel
lo</p>
What was the design reasoning for this?
In HTML, this:
<p>Hel lo</p>
is the same as:
<p>Hel lo</p>
and this:
<p>Hel
lo</p>
is the same as:
<p>Hel
lo</p>
What was the design reasoning for this?
Multiple spaces normally created by the space, the tab key and return key are all ignored when you write code. HTML just interprets them all as whitespace between words, and displays a single space.
You still can add whitespace by insert a non-breaking space like
or  
.