Jump to content


Photo

b or strong


  • Please log in to reply
9 replies to this topic

Poll: Do you use B or Strong (7 member(s) have cast votes)

Do you use B or Strong

  1. B (2 votes [28.57%])

    Percentage of vote: 28.57%

  2. Strong (5 votes [71.43%])

    Percentage of vote: 71.43%

Vote Guests cannot vote

#1 onlyican

onlyican
  • Members
  • PipPipPip
  • Advanced Member
  • 921 posts
  • LocationHants - UK

Posted 23 September 2006 - 01:10 AM

Hello

I was thinking
What is the actual difference between "b" and "strong"
They both make it bold

I tend to use "strong" But I dont know what the difference is

Comments, suggestions, and vote on what you use

Tell me the problem, I will try tell you the solution

#2 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 23 September 2006 - 02:21 AM

strong is semantically obvious; makes sense to screen readers (i.e. accessible). b is deprecated.
Legend has it that reading the manual never killed anyone.
My site

#3 akitchin

akitchin
  • Staff Alumni
  • Advanced Member
  • 2,516 posts
  • LocationCalgary, AB, Canada

Posted 23 September 2006 - 05:10 AM

i should mention that HTML-based text formatting is discouraged in favour of CSS solutions (ie. font-weight), although most people already know that.

i use strong for andy's reasons, which are in fact that reason for the introduction of the "new" tag.

#4 Daniel0

Daniel0
  • Staff Alumni
  • Advanced Member
  • 11,956 posts

Posted 23 September 2006 - 09:27 AM

I'd say neither of them should be used. Instead do something like this:
<span class='strong'>text</span>
and use this CSS code to format it:
.strong {
	font-weight: bold;
}


#5 onlyican

onlyican
  • Members
  • PipPipPip
  • Advanced Member
  • 921 posts
  • LocationHants - UK

Posted 23 September 2006 - 09:49 AM

With Regards to using CSS
A little tip I have been told, When you use "strong" on your website, this helps with search engines
For example
My Site, ClubFeet.net, I make important words strong
Not for them to stand out on the website, its for googlebot to see its important, and helps with ratings
This wont work if you use css to make things bold
Tell me the problem, I will try tell you the solution

#6 Daniel0

Daniel0
  • Staff Alumni
  • Advanced Member
  • 11,956 posts

Posted 23 September 2006 - 02:41 PM

With Regards to using CSS
A little tip I have been told, When you use "strong" on your website, this helps with search engines
For example
My Site, ClubFeet.net, I make important words strong
Not for them to stand out on the website, its for googlebot to see its important, and helps with ratings
This wont work if you use css to make things bold


Do you then leave the bold on the page, or do you add something like this:
strong {
	font-weight: normal;
}
?

#7 FrOzeN

FrOzeN
  • Members
  • PipPipPip
  • Advanced Member
  • 70 posts

Posted 23 September 2006 - 02:53 PM

Heh, if google treats that as a more important word and ignores the CSS downgrading it, then theres a small loophole to emphasise your important words. Nice. :)

#8 Daniel0

Daniel0
  • Staff Alumni
  • Advanced Member
  • 11,956 posts

Posted 23 September 2006 - 03:05 PM

Heh, if google treats that as a more important word and ignores the CSS downgrading it, then theres a small loophole to emphasise your important words. Nice. :)


Yeah, except that the <strong> tag is deprecated in XHTML 1.1 and therefor causing a validation error.

#9 onlyican

onlyican
  • Members
  • PipPipPip
  • Advanced Member
  • 921 posts
  • LocationHants - UK

Posted 23 September 2006 - 03:28 PM

me, For example, I am writing a site about php
I would have someting like

This site is about <strong>PHP</strong>

But for people reading this, be careful not to over do it, as you then get downgrounded on the points

But I must be doing something right
Number one result on google
pr of 3 on a site not running yet
Tell me the problem, I will try tell you the solution

#10 fenway

fenway
  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 25 September 2006 - 03:57 AM

It's much more logical to use CSS for formatting... don't bother with either B or STRONG.
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users