User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 429,786 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,931 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 3773 | Replies: 18
Reply
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,972
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 32
Solved Threads: 117
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Bold

  #1  
Dec 27th, 2003
What's the difference between the <b> and the <strong> font tags?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2003
Location: California
Posts: 203
Reputation: rixius is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 1
rixius rixius is offline Offline
Posting Whiz in Training

Re: Bold

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

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

Re: Bold

  #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  
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,972
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 32
Solved Threads: 117
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: Bold

  #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?
Reply With Quote  
Join Date: Nov 2003
Location: California
Posts: 203
Reputation: rixius is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 1
rixius rixius is offline Offline
Posting Whiz in Training
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,972
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 32
Solved Threads: 117
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: Bold

  #6  
Dec 28th, 2003
Then why does vBulletin 3 gamma - with the new XHTML compliant styles - use <b> ?
Reply With Quote  
Join Date: Jan 2003
Posts: 8
Reputation: aswettla will become famous soon enough aswettla will become famous soon enough 
Rep Power: 0
Solved Threads: 0
aswettla aswettla is offline Offline
Newbie Poster

Re: Bold

  #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  
Join Date: Nov 2003
Location: Toronto, Canada
Posts: 354
Reputation: Gary King will become famous soon enough Gary King will become famous soon enough 
Rep Power: 6
Solved Threads: 5
Colleague
Gary King's Avatar
Gary King Gary King is offline Offline
PHP/vBulletin Guru

Re: Bold

  #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  
Join Date: Feb 2002
Location: Long Island, NY
Posts: 1,134
Reputation: samaru is just really nice samaru is just really nice samaru is just really nice samaru is just really nice 
Rep Power: 12
Solved Threads: 4
Colleague
samaru's Avatar
samaru samaru is offline Offline
a.k.a inscissor

Re: Bold

  #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 2:21 am.
_.:: my websites ::._
blog @ www.samaru.net * engi No Jutsu @ www.narutorp.net * portfolio @ shinylight.com
deviantART: inscissor
Reply With Quote  
Join Date: Dec 2005
Posts: 2,709
Reputation: The Dude is an unknown quantity at this point 
Rep Power: 8
Solved Threads: 23
The Dude's Avatar
The Dude The Dude is offline Offline
Posting Maven

Re: Bold

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb HTML and CSS Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 4:11 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC