Consider this case from HTML:
<div><b>hello</b><i>world</i></div>
vs this:
<div> <b>hello</b> <i>world</i> </div>
In the first example, there are no whitespace, and the rendering engine will not place a space between hello world . In the second example, since there is a node space between the text fields, it will display as hello world .
You need to know that there are space nodes, as some XML languages โโwill take care of their placement.
source share