Reply

Join Date: Feb 2002
Posts: 12,040
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 128
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Bold

 
0
  #1
Dec 27th, 2003
What's the difference between the <b> and the <strong> font tags?
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Nov 2003
Posts: 207
Reputation: rixius is an unknown quantity at this point 
Solved Threads: 1
rixius rixius is offline Offline
Posting Whiz in Training

Re: Bold

 
0
  #2
Dec 28th, 2003
<strong> is XHTML compliant I think

(Something to that effect, but both tags accomplish the same thing)
Reply With Quote Quick reply to this message  
Join Date: Nov 2003
Posts: 207
Reputation: rixius is an unknown quantity at this point 
Solved Threads: 1
rixius rixius is offline Offline
Posting Whiz in Training

Re: Bold

 
0
  #3
Dec 28th, 2003
I did a google search and I came up with the following stuffs:

<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

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.
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,040
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 128
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: Bold

 
0
  #4
Dec 28th, 2003
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?
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Nov 2003
Posts: 207
Reputation: rixius is an unknown quantity at this point 
Solved Threads: 1
rixius rixius is offline Offline
Posting Whiz in Training
Join Date: Feb 2002
Posts: 12,040
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 128
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: Bold

 
0
  #6
Dec 28th, 2003
Then why does vBulletin 3 gamma - with the new XHTML compliant styles - use <b> ?
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Jan 2003
Posts: 8
Reputation: aswettla will become famous soon enough aswettla will become famous soon enough 
Solved Threads: 0
aswettla aswettla is offline Offline
Newbie Poster

Re: Bold

 
0
  #7
Dec 28th, 2003
<strong> is will be supported by a wider range of Browsers, and it is also easier to export that text to XHTML
Reply With Quote Quick reply to this message  
Join Date: Nov 2003
Posts: 360
Reputation: Gary King will become famous soon enough Gary King will become famous soon enough 
Solved Threads: 5
Team Colleague
Gary King's Avatar
Gary King Gary King is offline Offline
PHP/vBulletin Guru

Re: Bold

 
0
  #8
Dec 28th, 2003
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)
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 1,135
Reputation: samaru is just really nice samaru is just really nice samaru is just really nice samaru is just really nice 
Solved Threads: 5
Team Colleague
samaru's Avatar
samaru samaru is offline Offline
a.k.a inscissor

Re: Bold

 
0
  #9
Jan 3rd, 2004
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.
Check out my blog at http://www.shinylight.com for more stuff about web dev.
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 3,242
Reputation: The Dude will become famous soon enough The Dude will become famous soon enough 
Solved Threads: 25
The Dude's Avatar
The Dude The Dude is offline Offline
Nearly a Senior Poster

Re: Bold

 
0
  #10
Jun 4th, 2007
I have also always wondered what the differences were......

HTML code probably came first though (<b> instead of [b])
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC