I would like to ask for some simple examples showing the uses of . I\'ve seen them both used to mark a section of a pa
It's plain and simple.
span
does not affect the layout because it's inline(in line
(one should not confuse because things could be wrapped))div
affects the layout, the content inside appears in the new line(block element
), when the element you wanna add has no special semantic meaning and you want it to appear in new line use .