<strong> or <b>

  • casablanca
  • Proficient
  • Proficient
  • User avatar
  • Joined: May 29, 2007
  • Posts: 481
  • Status: Offline

Post July 10th, 2008, 9:45 pm

Mas Sehguh wrote:
<b> is not deprecated.

Okay, maybe I was wrong about that, but it's still not very good to use <b> (and W3C doesn't recommend it either) because it doesn't actually mean anything.

The reason for using semantic elements like <strong> and <em> is to make your page more accessible - for both humans and machines. For example, a visually-impaired user might use a text-to-speech browser, and using <em> gives the browser a hint that it should emphasize the text, but using <i> just says that the author wanted it displayed in italics for some unknown reason.

As to why I prefer CSS instead of <b> or <i>, it's the same reason as with <font>, which is officially deprecated now.
No Strings Attached: A JavaScript graphics demo.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post July 10th, 2008, 9:45 pm

  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Joined: Sep 22, 2003
  • Posts: 6128
  • Loc: Seattle, WA
  • Status: Offline

Post July 10th, 2008, 11:11 pm

Hmmm..

ECHO! (Echo!)... (echo..).....
The Beer Monocle. Classy.
  • casablanca
  • Proficient
  • Proficient
  • User avatar
  • Joined: May 29, 2007
  • Posts: 481
  • Status: Offline

Post July 11th, 2008, 3:57 am

Oh wow! :) Didn't notice that spork had already posted much of what I have above.
No Strings Attached: A JavaScript graphics demo.
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Joined: Sep 22, 2003
  • Posts: 6128
  • Loc: Seattle, WA
  • Status: Offline

Post July 11th, 2008, 7:47 am

No worries ;)
The Beer Monocle. Classy.
  • Divinyl
  • Student
  • Student
  • User avatar
  • Joined: Jun 14, 2008
  • Posts: 84
  • Loc: Sydney, Ozland.
  • Status: Offline

Post July 11th, 2008, 9:24 am

I just use <strong> <b> seems old skool now.

Post Information

  • Total Posts in this topic: 20 posts
  • Users browsing this forum: grinch2171 and 157 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.