<span> + <sup> having a space between spaces caused by line breaks
The following HTML snippet is rendered with a space between two words (with line breaks between both lines:
<span>foo</span>
<sup>bar</sup>
However
<span>foo</span><sup>bar</sup>
displayed without spaces between both words.
So why the reason for this behavior is line break. Line break or should not affect rendering here !?
+2
3 answers