View Single Post
Old 02-15-2017, 11:23 AM   #29
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,363
Karma: 20212733
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
To be sure...none of the CSS I posted was a requirement...it was a recommendation. I thought I was pretty clear in stating that in my post...

As far as the <i> and <b> CSS not being required....Most devices/apps/browsers do default to displaying the <i>/<b> tags as was in this CSS - but I hate to rely on assuming that some device's default settings are the same as what I want to display. I have always worked under the rule of "It's better to specify exactly what you want so you aren't surprised later."

Spoiler:
FWIW, I don't even use <i>/<b> tags... I simply left it as the OP had for ease of understanding. I use <em>/<strong> as the more functional tag. <i>/<b> are strictly a visual style where <em>/<strong> can be used as a semantically correct tag.

As W3Schools states:
Quote:
Use the <i> element only when there is not a more appropriate semantic element, such as:

<em> (emphasized text)
<strong> (important text)
<mark> (marked/highlighted text)
<cite> (the title of a work)
<dfn> (a definition term)


It certainly doesn't hurt anything to have the CSS defined. In fact, it makes it pretty easy to find/edit later if I want to add some feature such as a particular stress for an emphasized word vs a strong word for those audio readback functions.

Cheers!

Last edited by Turtle91; 02-15-2017 at 11:30 AM.
Turtle91 is offline   Reply With Quote