This is text inside a div. I have added a border and background to both the div and span to illustrate the difference clearly.


This is text inside a span.