Quote:
Originally Posted by slm
John
<i> displays as font-style:italic on most browsers, but it not required to do so--see https://developer.mozilla.org/en-US/...TML/Element/i:
In earlier versions of the HTML specification, the <i> element was merely a presentational element used to display text in italics, much like the <b> element was used to display text in bold letters. This is no longer true, as these tags now define semantics rather than typographic appearance. A browser will typically still display the contents of the <i> element in italic type, but is, by definition, no longer required to do so. To display text in italic type, authors should use the CSS font-style property.
|
The only way to make <i> not be italic is if I change it in CSS, Otherwise, <i> is italic. So really, using CSS to define italic is not needed. It's excess code.
<i>, <em>, <b>, <strong> all do not need a class if all you are doing is italic and/or bold. I strip useless classed from there as again, not needed. I cannot stand a <span> to italicize or bold.