Just curious, what is the differeence between span and article tags ? When should I use them? Why is there a difference to begin with?
I looked up stuff on W3 website and didn’t see alot of specification on the difference.
<article>
is more semantic to use for …articles. It’s a sectionary tag. You should know what constitutes as an “article” or not. <span>
can be used for just about anything else that require an inline element.
It’s basically just semantics.
Thanks for the clarity
another major difference is that a span is an inline element whilst a article is a block level element