943,521 Members | Top Members by Rank

Ad:
You are currently viewing page 1 of this multi-page discussion thread
Dec 27th, 2003
0

Bold

Expand Post »
What's the difference between the <b> and the <strong> font tags?
Similar Threads
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is online now Online
13,645 posts
since Feb 2002
Dec 28th, 2003
0

Re: Bold

<strong> is XHTML compliant I think

(Something to that effect, but both tags accomplish the same thing)
Reputation Points: 12
Solved Threads: 3
Posting Whiz in Training
rixius is offline Offline
212 posts
since Nov 2003
Dec 28th, 2003
0

Re: Bold

I did a google search and I came up with the following stuffs:

Quote ...
<strong> and <em> came first, then <b> and <i>, which became popular for use with the <font> tag. <font> has become depricated, possibly <b> and <i> will follow as <strong> and <em> more closely follow the origianl spirit if HTML and separating content from mark-up.

There is no real difference, except for that pesky habit of some browsers to employ one recommendation while another ignores recommendations all together.
and

Quote ...
The <strong> and <em> tags are "logical" tags. This means that they are used deliberately when the designer wants to add emphasis to particular words or phrases. Some screen readers may use a different inflection when they come across these tags to communicate the emphasis. The <b> and <i> tags are primarily for visual effect on a page when designing layout.
Reputation Points: 12
Solved Threads: 3
Posting Whiz in Training
rixius is offline Offline
212 posts
since Nov 2003
Dec 28th, 2003
0

Re: Bold

Hmm, very interesting. I always used to use strong but now I alternate. Which would you recommend if I was trying to be XHTML compliant?
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is online now Online
13,645 posts
since Feb 2002
Dec 28th, 2003
0

Re: Bold

<strong>
Reputation Points: 12
Solved Threads: 3
Posting Whiz in Training
rixius is offline Offline
212 posts
since Nov 2003
Dec 28th, 2003
0

Re: Bold

Then why does vBulletin 3 gamma - with the new XHTML compliant styles - use <b> ?
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is online now Online
13,645 posts
since Feb 2002
Dec 28th, 2003
0

Re: Bold

<strong> is will be supported by a wider range of Browsers, and it is also easier to export that text to XHTML
Reputation Points: 46
Solved Threads: 0
Newbie Poster
aswettla is offline Offline
8 posts
since Jan 2003
Dec 28th, 2003
0

Re: Bold

Quote originally posted by cscgal ...
Then why does vBulletin 3 gamma - with the new XHTML compliant styles - use <b> ?
Quick answer: <b> is XHTML compliant too (even when using strict XHTML compliant code)
Team Colleague
Reputation Points: 53
Solved Threads: 5
PHP/vBulletin Guru
Gary King is offline Offline
360 posts
since Nov 2003
Jan 3rd, 2004
0

Re: Bold

There's a lot of content out there < HTML 4 that uses the <b> tag. I doubt any time soon that it would not be supported. The good thing about XML is it doesn't matter what tag it uses, you can always apply some stylesheet and apply your own style (even if the browsers decide not to support the <b> tag in the future).

Personally, I prefer using shorter tags. I'd rather use the <b>, or <i> tag but I'm sticking to the longer tags (<strong> and <em>). They will be more mainstream in the long run.
Last edited by samaru; Jan 3rd, 2004 at 3:21 am.
Team Colleague
Reputation Points: 262
Solved Threads: 18
a.k.a inscissor
samaru is offline Offline
1,227 posts
since Feb 2002
Jun 4th, 2007
0

Re: Bold

I have also always wondered what the differences were......

HTML code probably came first though (<b> instead of [b])
Reputation Points: 1054
Solved Threads: 28
Nearly a Senior Poster
The Dude is offline Offline
3,425 posts
since Dec 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: Help me about Http Client Post method
Next Thread in HTML and CSS Forum Timeline: CSS positioning problems





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC