Quote:
Originally Posted by Jellby
That's an argument for styling, not an argument for a class. Whether you have <i> or <i class="foo">, you can style them equally well.
The only difference, as phillipgessert mentioned, is that the style defined for <i> could be overridden by some user/software preference, while <i class="foo"> would have higher priority and be less likely to be overridden.
|
Of course, you could define <i> in CSS for most uses of <i> and then only have a class when you want to do something different.
I prefer <p> to be mostly just <p> so I have CSS to define the most used definition of <p>. Again, I cannot stand something like <p class="indent"> when <p> would do instead.