Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 1812 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

Bold vs. Strong

Thread title: Bold vs. Strong
Reply  
Page 2 of 3 < 1 2 3 >
    Thread tools Search this thread Display Modes  
06-25-2009, 02:50 AM
#11
hjalmar is offline hjalmar
Status: Senior Member
Join date: Nov 2004
Location: Sweden
Expertise:
Software:
 
Posts: 857
iTrader: 11 / 100%
 

hjalmar is an unknown quantity at this point

  Old

Originally Posted by dgryan View Post
if its only for a certain part, id add it into the css file >.> font-weight:bold
That doesn't make any sense at all... css isn't a markup language.

Just because the browsers has a default behaviour for certain elements doesn't mean thats what you should use. stop sipping on the bong juice and go back to the basics (rtfm). thanks!

Reply With Quote
06-25-2009, 08:01 AM
#12
dgryan is offline dgryan
Status: Member
Join date: Jun 2009
Location: Syndey
Expertise: Ruby On Rails
Software:
 
Posts: 109
iTrader: 3 / 100%
 

dgryan is on a distinguished road

Send a message via Skype™ to dgryan

  Old

I miss understood the question :P

Reply With Quote
06-25-2009, 12:42 PM
#13
hjalmar is offline hjalmar
Status: Senior Member
Join date: Nov 2004
Location: Sweden
Expertise:
Software:
 
Posts: 857
iTrader: 11 / 100%
 

hjalmar is an unknown quantity at this point

  Old

Originally Posted by dgryan View Post
I miss understood the question :P
And the second part of my message wasn't meant for you.. just people reading it in general

Reply With Quote
07-16-2009, 11:04 AM
#14
Log1x is offline Log1x
Status: I'm new around here
Join date: Jul 2009
Location:
Expertise:
Software:
 
Posts: 10
iTrader: 0 / 0%
 

Log1x is on a distinguished road

  Old

Originally Posted by rochow View Post
<strong> = it requires bold emphasise
Code:
This is the <strong>best site ever!</strong>
<b> = some text is bold for ****s and giggles (when bold adds no semantic meaning, such as breaking up a URL to make it visually easier to read, or because your branding has a normal word and a bold word)
Code:
my<b>pony</b>site.<b>com</b>
Visually is there a difference? No. Browsers will bold both for backward compatibility. Screen readers however will read differently for <strong>, and continue normally for <b>. A valid strict alternative is <span> with a class... visually it can be bolded, yet semantically has no more meaning than any other words around it.

You can simple read the text... if when speaking you emphasise the word it should have <em> or <strong>, if you don't then it doesn't. Think a TV ad, it yells certain bits at you that is more important than the rest.
That's pretty interesting. I always use <strong> as it's unique and I find it to be more clean looking..

Reply With Quote
07-16-2009, 11:46 PM
#15
rochow is offline rochow
rochow's Avatar
Status: Member
Join date: Oct 2006
Location: Australia
Expertise:
Software:
 
Posts: 297
iTrader: 4 / 100%
 

rochow is on a distinguished road

Send a message via MSN to rochow Send a message via Skype™ to rochow

  Old

Other examples are say bibliographies and references, where text is meant to be bold or italic for typographical purposes; however, semantically speaking it doesn't have to be. So because it only helps visually, they technically should be <b> and <i>.

Reply With Quote
07-17-2009, 06:47 AM
#16
online is offline online
online's Avatar
Status: Junior Member
Join date: Jan 2007
Location:
Expertise:
Software:
 
Posts: 86
iTrader: 0 / 0%
 

online is on a distinguished road

  Old

I would go with <strong>. But in usual coding, we go with <b>. I think we need to restrict ourselves.

Reply With Quote
07-17-2009, 05:56 PM
#17
Destinyx3 is offline Destinyx3
Destinyx3's Avatar
Status: Junior Member
Join date: Dec 2008
Location: New York
Expertise:
Software:
 
Posts: 53
iTrader: 0 / 0%
 

Destinyx3 is on a distinguished road

  Old

<strong> is "semantically right", but it doesn't make a difference. Do which ever one you like.

Reply With Quote
07-26-2009, 12:15 AM
#18
JREAM is offline JREAM
Status: Junior Member
Join date: Jul 2009
Location:
Expertise:
Software:
 
Posts: 27
iTrader: 0 / 0%
 

JREAM is on a distinguished road

Send a message via AIM to JREAM Send a message via Yahoo to JREAM

  Old

I use xhtml strict and I went back to <b> tags as they are more convenient writing by hand. I never get any validation errors per HTML Tidy.

Reply With Quote
07-26-2009, 03:32 PM
#19
jnadeau is offline jnadeau
Status: I'm new around here
Join date: Jan 2008
Location: Detroit Area
Expertise:
Software:
 
Posts: 23
iTrader: 0 / 0%
 

jnadeau is on a distinguished road

Send a message via AIM to jnadeau Send a message via MSN to jnadeau Send a message via Skype™ to jnadeau

  Old

Bold implies presentation which isn't markup's job. Strong is a stress/emphasis that we usually make bold (which it defaults to). So I use <strong>. I also use <em> over <i>.

If the font weight is typographical only (no semantic purpose) I might prefer using a classified span since I'll probably be using the style more than once. It's slightly less elegant than using a single element like <b> or <i> but it doesn't matter much when you can use stylesheet selectors to make anything look like anything.

Reply With Quote
07-31-2009, 02:05 AM
#20
insub2 is offline insub2
Status: Member
Join date: Jun 2007
Location:
Expertise:
Software:
 
Posts: 136
iTrader: 1 / 100%
 

insub2 is on a distinguished road

Send a message via AIM to insub2

  Old

I'm surprised that there is so much discussion on the matter. And now I add another comment.

To all that have said that it is up to preference, are wrong. Well, that is if your goal is being a good coder.

<b> is depreciated in both XHTML 1.1 and HTML 4. That means don't use it! Yes, browsers will still render it correctly but that is because there are so many old pages (and bad coders) left on the web.

Someone mentioned above that screen readers will read <strong> tags differently. That is what semantic code is about. The purpose of markup is to add meaning to your content. Period. End of story. Everything visual ought be done with CSS.

Use <strong> and <em> for strong and emphasized text. Don't use <b> and <i>.

Reply With Quote
Reply  
Page 2 of 3 < 1 2 3 >


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed