Sep 3, 2018 · 1 min read
Div and span elements should be used only for styling purposes. When possible, you should use more semantic elements. The only difference between them is that
"<div>is a block-level element whereas a<span>is an inline element” — MDN
For instance, when you have a footer in your blog you should use <footer>…</footer> instead of <span>…</span>.
