•
•
•
•
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
![]() |
•
•
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,972
Reputation:
Rep Power: 32
Solved Threads: 117
What's the difference between the <b> and the <strong> font tags?
Dani the Computer Science Gal
Do you run a computer-related website? Feature it in our niche link directory!
Do you run a computer-related website? Feature it in our niche link directory!
•
•
Join Date: Nov 2003
Location: California
Posts: 203
Reputation:
Rep Power: 5
Solved Threads: 1
<strong> is XHTML compliant I think
(Something to that effect, but both tags accomplish the same thing)
(Something to that effect, but both tags accomplish the same thing)
•
•
Join Date: Nov 2003
Location: California
Posts: 203
Reputation:
Rep Power: 5
Solved Threads: 1
I did a google search and I came up with the following stuffs:
and
•
•
•
•
<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.
•
•
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,972
Reputation:
Rep Power: 32
Solved Threads: 117
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
Do you run a computer-related website? Feature it in our niche link directory!
Do you run a computer-related website? Feature it in our niche link directory!
•
•
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,972
Reputation:
Rep Power: 32
Solved Threads: 117
Then why does vBulletin 3 gamma - with the new XHTML compliant styles - use <b> ?
Dani the Computer Science Gal
Do you run a computer-related website? Feature it in our niche link directory!
Do you run a computer-related website? Feature it in our niche link directory!
•
•
Join Date: Nov 2003
Location: Toronto, Canada
Posts: 354
Reputation:
Rep Power: 6
Solved Threads: 5
•
•
•
•
Originally Posted by cscgal
Then why does vBulletin 3 gamma - with the new XHTML compliant styles - use <b> ?
•
•
Join Date: Feb 2002
Location: Long Island, NY
Posts: 1,134
Reputation:
Rep Power: 12
Solved Threads: 4
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.
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
blog @ www.samaru.net * engi No Jutsu @ www.narutorp.net * portfolio @ shinylight.com
deviantART: inscissor
![]() |
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Changing font to bold in datagrid at runtime (VB.NET)
- bold, underline, italize text & insert link? how?? (HTML and CSS)
- Outlook 2k3 replies in Bold? (Windows NT / 2000 / XP / 2003)
- my #include <string> wont make "string" bold (C++)
Other Threads in the HTML and CSS Forum
- Previous Thread: Help me about Http Client Post method
- Next Thread: CSS positioning problems



Linear Mode