2013-10-03, 06:04:11
(2013-10-02, 23:18:35)lnickel Wrote: span tag would be better. It's less presentational. You would have more ability to style.
That doesn't make sense - how could the <em> tag have more abilities than the <span> tag for styles?
There is no difference between the <span> and the <em> tags except that the <em> tag is a semantic tag, it means that this tag means something to search engines unlike the <span> tag (which means nothing at all, it's for styling purposes only).
The <em> tag also has { font-style: italic; } by default, but web developers usually reset all of the default styles to put all the browsers on the same level. That means that <em> gets { font-style: normal; } in the beginning of the CSS and then it's styled again to suit your needs.
By all of these, I just want to say that you can style <span> and <em> to look totally the same without any problems. However, I don't really care if there's emphasizing or just the span, it just doesn't matter. I would rather use <em> to emphasize my name on my blog posts, but I can change it after downloading anyway as I always do with headings.
Tomáš Janeček - Multilingual personal website powered by GetSimple
» The little I did for GetSimple
» The little I did for GetSimple