3788 posts Community Moderator
  • Helps us moderate the forums
  • Contributed a tutorial on Tuts+
  • Located in Netherlands
  • Made it to the Authors' Hall of Fame
+9 more
Joost Moderator says

I’m unsure which one to use. I’ve always used [b] without giving it much thought, but I got across the issue when a client asked me why I had used [b] instead of [strong].

Is there any reason why I should use one or the other, other than [b] being shorter? :o

Had to replace the triangular brackets with square ones, as the forums wouldn’t render them correctly

8134 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $40,000+ on Envato Market
  • Sells items exclusively on Envato Market
  • Has referred 10+ members
+4 more
doru says

b is a font-style tag that makes the text bold

strong is a “phrase tag” that “strong emphasis” the text, were for example em “emphasis” only

source

http://www.w3.org/TR/html401/index/elements.html

...

http://www.w3.org/TR/html401/present/graphics.html#edef-B

...

http://www.w3.org/TR/html401/struct/text.html#edef-STRONG

[PS] I hate formating on this forum, :( you can’t place links one under another, :?

3788 posts Community Moderator
  • Helps us moderate the forums
  • Contributed a tutorial on Tuts+
  • Located in Netherlands
  • Made it to the Authors' Hall of Fame
+9 more
Joost Moderator says

Ah, oke. But for HTML rendering it doesn’t make a difference, right? :o

140 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 10+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+2 more
weblusive says

Yes, but for W3C standards it makes difference and only <strong /> is accepted as a valid tag ;)

8134 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $40,000+ on Envato Market
  • Sells items exclusively on Envato Market
  • Has referred 10+ members
+4 more
doru says

b will change how the font is displayed, but because now we have css, the w3c recommends to use styles instead of b

strong will make the portion of text enclosed more important than the normal and the emphasis “em” part. This is important in the semantic web I’m sure that search engine crawlers gives more importance to a certain portion of the text on the page if is enclosed in those phrase tags.

The confusion appears because they do not change the importance only but also how the text looks, while b change only how the text looks. Don’t know why browser creators decided to apply this behavior to this tag, maybe they did not understood whats the purpose of the tag :) Who knows?

But, this semantic web is interesting to study, check this youtube video

http://www.youtube.com/watch?v=YjFjgIPXw_I

while you are at, look at the channel of those who posted that video, it has english section/playlist. http://www.youtube.com/user/keiouniversity#g/c/7D92E27B2B607317

They have very awesome videos that gives insight on the next computer technology in the next 20- 50 years, with some incredible stuff as applied quantum computers. Not to many people watch this channel unfortunately, people prefers looking at 10 hours of Nyan rainbow cat. Then one try to understand how nuclear disasters, oil spil polution, wars and other nice stuff can happen without no one cares about it. I got to the conclusion that if tomorrow a nuclear bomb will explode somewhere people reaction will be like. “meh, give me another cat video while I wait for the shock wave”

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by