View Single Post
Old 03-23-2022, 05:01 PM   #6
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,560
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by slm View Post
To display text in italic type, authors should use the CSS font-style property.
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.
Jellby is offline   Reply With Quote