Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Closed Thread
Old 05-03-2009, 03:35 PM Bold vs. Strong
Novice Talker

Posts: 8
Name: Gerrard
Trades: 0
I see every source saying to use <strong> instead of <b> yet both seem to work fine. Can someone explain why this is? Did the w3 consortium arbitrarily decide this?
__________________

Please login or register to view this content. Registration is FREE
Gerrard DG is offline
View Public Profile
 
 
Register now for full access!
Old 05-03-2009, 05:50 PM Re: Bold vs. Strong
lemondime's Avatar
Skilled Talker

Posts: 53
Location: San Jose, California
Trades: 0
Taken from Mozilla's site: https://developer.mozilla.org/en/HTML/Element/strong


It is often confusing to new developers why there are so many ways to express the same thing on a rendered website. Bold and Strong are perhaps one of the most common. Why use <strong></strong> vs <b></b> you have to type a whole lot more with strong and it produces the exact same result right?

Perhaps not, strong is a logical state, and bold is a physical state. Logical states separate presentation from the content, and by doing so allows for it to be expressed in many different ways, perhaps instead of rendering some text as bold you want to render it red, or a different size, or underlined, or whatever. It makes more sense to change the presentational properties of strong than it does bold. This is because of bold is a physical state, there is no separation of presentation and content, making bold do anything other than bold text would be confusing and illogical.


Hope that helps some...
__________________
Cheers,
lemondime
lemondime is offline
View Public Profile
 
Old 05-04-2009, 12:41 PM Re: Bold vs. Strong
Average Talker

Posts: 28
Name: TJ Phippen
Trades: 0
Quote:
Originally Posted by lemondime View Post
Taken from Mozilla's site: https://developer.mozilla.org/en/HTML/Element/strong


It is often confusing to new developers why there are so many ways to express the same thing on a rendered website. Bold and Strong are perhaps one of the most common. Why use <strong></strong> vs <b></b> you have to type a whole lot more with strong and it produces the exact same result right?

Perhaps not, strong is a logical state, and bold is a physical state. Logical states separate presentation from the content, and by doing so allows for it to be expressed in many different ways, perhaps instead of rendering some text as bold you want to render it red, or a different size, or underlined, or whatever. It makes more sense to change the presentational properties of strong than it does bold. This is because of bold is a physical state, there is no separation of presentation and content, making bold do anything other than bold text would be confusing and illogical.


Hope that helps some...
In that case you could technically use both.
__________________
| | TJ PHIPPEN | |
Please login or register to view this content. Registration is FREE

| Definition Redefining Speed, Quality & Satisfaction!
| Call Me: (435) 225-6121 | Email Me:
Please login or register to view this content. Registration is FREE
siforek is offline
View Public Profile
 
Old 05-05-2009, 11:33 AM Re: Bold vs. Strong
kcmartz's Avatar
Super Talker

Latest Blog Post:
~Gri to Kcmartz~
Posts: 120
Name: Kenson
Location: Washington, USA
Trades: 0
Yeah, I do not see the difference, I use bold, and unless the HTML 5 spec discontinues the use of the "< b >" tag, I will continue to use it.
__________________
Thanks,

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
for problems/site.
kcmartz is offline
View Public Profile Visit kcmartz's homepage!
 
Old 05-05-2009, 01:10 PM Re: Bold vs. Strong
helloworlder's Avatar
Novice Talker

Posts: 10
Trades: 0
Here's my stab at it ...

From what I understand, <strong> is semantically correct and <b> is not. One of the pillars of the so-called "Web 2.0" is that meaning should be separated from presentation. You should use (X)HTML for meaning, and CSS for presentation (i.e. how something looks). The problem of using <b> is that you are using HTML to express how something looks. The existence of a <b> tag is probably something of an accident in HTML's history. If the <b> tag actually meant something like "I am making a bold and audacious statement here", then it would be semantic.

If you use <strong> then you mean you want to put strong emphasis on something. Personally I don't like <strong>, I would prefer a tag like <important>. However, it is agreed that <strong> carries the meaning of "importance". Or, just use the <em> tag meaning emphasis, and style it to look physically bold. It is irrelevant the default renderin of an <em> tag looks italicized.

As a rule of thumb: When using HTML tags don't think of how they look, think of what they mean. Don't think of <h1> <h2> and <h3> tags in terms of size, think of them as first level, second level and third level headings. You would most likely use CSS to override the default browser preferences for how those tags are rendered.

http://blue-anvil.com/archives/guide...mantic-mark-up
__________________

Please login or register to view this content. Registration is FREE
- Learn Chinese through bite sized blocks

Please login or register to view this content. Registration is FREE
- Land the Plane

Please login or register to view this content. Registration is FREE
- Blog

Last edited by helloworlder; 05-05-2009 at 01:21 PM.. Reason: added URL
helloworlder is offline
View Public Profile
 
Old 05-05-2009, 01:52 PM Re: Bold vs. Strong
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Good stab.. and right on point
If you want to write clean, semantic markup, then you use <strong> and <em> as opposed to <b> and <i>.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
View Public Profile
 
Old 05-06-2009, 01:41 PM Re: Bold vs. Strong
Junior Talker

Posts: 2
Name: Ron Feathers
Trades: 0
Absolutely - <strong> and <em> as opposed <b> and <i>.

Unless there is a reason to do otherwise - for example, if one were coding for WML, there might be an argument for using <b> and <i> since it's going to save bytes in the long run.

What's interesting is that even in Dreamweaver, there is a switch to toggle between the two approaches.

Semantically, however, <strong> and <em> is correct.

~R~
__________________
Ron Feathers
WebFeathers, Inc.

Please login or register to view this content. Registration is FREE
WebFeathers is offline
View Public Profile
 
Old 05-06-2009, 02:10 PM Re: Bold vs. Strong
kcmartz's Avatar
Super Talker

Latest Blog Post:
~Gri to Kcmartz~
Posts: 120
Name: Kenson
Location: Washington, USA
Trades: 0
ok, i will change it as soon as i can..

but i still like <B> and <I> more, quicker and easier!
__________________
Thanks,

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
for problems/site.
kcmartz is offline
View Public Profile Visit kcmartz's homepage!
 
Old 05-06-2009, 04:27 PM Re: Bold vs. Strong
Novice Talker

Posts: 4
Name: Alex Walker
Trades: 0
I prefer to use <b>
Walker29 is offline
View Public Profile
 
Old 05-07-2009, 11:12 AM Re: Bold vs. Strong
Experienced Talker

Posts: 44
Trades: 0
Quote:
Originally Posted by helloworlder View Post
Here's my stab at it ...

From what I understand, <strong> is semantically correct and <b> is not. One of the pillars of the so-called "Web 2.0" is that meaning should be separated from presentation. You should use (X)HTML for meaning, and CSS for presentation (i.e. how something looks). The problem of using <b> is that you are using HTML to express how something looks. The existence of a <b> tag is probably something of an accident in HTML's history. If the <b> tag actually meant something like "I am making a bold and audacious statement here", then it would be semantic.

If you use <strong> then you mean you want to put strong emphasis on something. Personally I don't like <strong>, I would prefer a tag like <important>. However, it is agreed that <strong> carries the meaning of "importance". Or, just use the <em> tag meaning emphasis, and style it to look physically bold. It is irrelevant the default renderin of an <em> tag looks italicized.

As a rule of thumb: When using HTML tags don't think of how they look, think of what they mean. Don't think of <h1> <h2> and <h3> tags in terms of size, think of them as first level, second level and third level headings. You would most likely use CSS to override the default browser preferences for how those tags are rendered.

http://blue-anvil.com/archives/guide...mantic-mark-up
Let's say that's the truth, how would you make text italic, underline, strike through, etc?
Onkel E is offline
View Public Profile
 
Old 05-07-2009, 01:48 PM Re: Bold vs. Strong
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
For TRUE italics, you still use the <i> tag, for EMPHASIZED text, you use <em> instead. Underlines on the web means a LINK - if it's not a link, do NOT underline it, use <em> to show EMPHASIS or use <strong>. Strike-through is an editing mark, it's ok to leave that as it is.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
View Public Profile
 
Old 05-09-2009, 01:38 AM Re: Bold vs. Strong
Knight13's Avatar
Defies a Status

Posts: 10,289
Name: Knight13
Location: Cleveland, Ohio
Trades: 0
Both <strong> and <b> work fine the <b> tag is just old and may some day be taken away.
Also do not give to much credit to the w3c because if you go to any major website and run their html through the w3c validation service almost all the major sites have errors and its not really affecting their websites.
Knight13 is offline
View Public Profile
 
Old 05-09-2009, 03:53 AM Re: Bold vs. Strong
Junior Talker

Posts: 3
Trades: 0
here is my idea.
for html is use <b>
and <strong> for CSS

just an idea.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
rosalesemil is offline
View Public Profile
 
Old 05-09-2009, 06:07 AM Re: Bold vs. Strong
Super Moderator

Posts: 1,584
Location: Kokkola, Finland
Trades: 1
just do it as LadynRed said. although personally i would use <em> instead of <i> anyway and simply redefine <em> as
em {
font-style:italic;
}
just to make sure, although pretty much every browser a the moment represents em as italics anyway
davemies is online now
View Public Profile Visit davemies's homepage!
 
Old 05-15-2009, 10:31 PM Re: Bold vs. Strong
Super Talker

Posts: 101
Trades: 0
I read on a couple of different sites that <strong> is better than <b> for Search Engine Optimization purposes.
Towhid is offline
View Public Profile
 
Old 05-16-2009, 05:36 AM Re: Bold vs. Strong
beanguy's Avatar
Novice Talker

Posts: 7
Trades: 0
I prefer to use <b> as well, just a personal preference I guess.
beanguy is offline
View Public Profile
 
Old 05-16-2009, 05:47 AM Re: Bold vs. Strong
Super Moderator

Posts: 1,584
Location: Kokkola, Finland
Trades: 1
Quote:
Originally Posted by beanguy View Post
I prefer to use <b> as well, just a personal preference I guess.
no, it's not personal preference it is as ladynred explained - it means something when it si in strong, whereas it just looks like something when it's b.

man, it's not that difficult: just use strong and forget b.
davemies is online now
View Public Profile Visit davemies's homepage!
 
Old 05-16-2009, 07:39 AM Re: Bold vs. Strong
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
How I use both:
HTML Code:
<strong>My Special Product Name:</strong><!--meaningful text-->
<b>Click Here:</b><!--non meaningful text-->
And either tag can be styled however I please of course.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.

Last edited by wayfarer07; 05-16-2009 at 07:41 AM..
wayfarer07 is offline
View Public Profile Visit wayfarer07's homepage!
 
Old 05-16-2009, 12:52 PM Re: Bold vs. Strong
Experienced Talker

Posts: 39
Name: jgand
Trades: 0
I see most top ranked websites use strong as opposed to bold. I think its more beneficial for seo.
__________________
removed by moderator
jgand is offline
View Public Profile Visit jgand's homepage!
 
Old 05-16-2009, 01:28 PM Re: Bold vs. Strong
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
I think its more beneficial for seo.
The search engines don't care at all !!!!
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
View Public Profile
 
Closed Thread     « Reply to Bold vs. Strong

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.85445 seconds with 12 queries