+ 1
What's the need of span tag if we can use font tag and it's attributes?
3 Answers
+ 1
yes they can be used but it is semantically wrong as font is for decorating little with html but if you use it with script style etc it is not correct then. although they will show same result but font is not for that
0
You should use <span>, because as specified by the spec, <font> has been deprecated and probably won't display as you intend.
0
Font tag is no longer used in html. I pref assign a class in span tag ( <span class=exmpl> hi </span>) and style it (color, font, font weight, size) with CSS. More easy, and less cofusion in the HTML part.