View Single Post
Old 03-23-2022, 05:41 PM   #8
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Jellby View Post
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.
JSWolf is offline   Reply With Quote