onlyican Posted September 23, 2006 Share Posted September 23, 2006 HelloI was thinkingWhat is the actual difference between "b" and "strong"They both make it boldI tend to use "strong" But I dont know what the difference isComments, suggestions, and vote on what you use Quote Link to comment Share on other sites More sharing options...
AndyB Posted September 23, 2006 Share Posted September 23, 2006 strong is semantically obvious; makes sense to screen readers (i.e. accessible). b is deprecated. Quote Link to comment Share on other sites More sharing options...
akitchin Posted September 23, 2006 Share Posted September 23, 2006 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. Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted September 23, 2006 Share Posted September 23, 2006 I'd say neither of them should be used. Instead do something like this: [code]<span class='strong'>text</span>[/code] and use this CSS code to format it: [code].strong { font-weight: bold;}[/code] Quote Link to comment Share on other sites More sharing options...
onlyican Posted September 23, 2006 Author Share Posted September 23, 2006 With Regards to using CSSA little tip I have been told, When you use "strong" on your website, this helps with search enginesFor exampleMy Site, ClubFeet.net, I make important words strongNot for them to stand out on the website, its for googlebot to see its important, and helps with ratingsThis wont work if you use css to make things bold Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted September 23, 2006 Share Posted September 23, 2006 [quote author=onlyican link=topic=109150.msg439884#msg439884 date=1159004948]With Regards to using CSSA little tip I have been told, When you use "strong" on your website, this helps with search enginesFor exampleMy Site, ClubFeet.net, I make important words strongNot for them to stand out on the website, its for googlebot to see its important, and helps with ratingsThis wont work if you use css to make things bold[/quote]Do you then leave the bold on the page, or do you add something like this: [code]strong { font-weight: normal;}[/code]? Quote Link to comment Share on other sites More sharing options...
FrOzeN Posted September 23, 2006 Share Posted September 23, 2006 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. :) Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted September 23, 2006 Share Posted September 23, 2006 [quote author=FrOzeN link=topic=109150.msg439951#msg439951 date=1159023214]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. :)[/quote]Yeah, except that the <strong> tag is deprecated in XHTML 1.1 and therefor causing a validation error. Quote Link to comment Share on other sites More sharing options...
onlyican Posted September 23, 2006 Author Share Posted September 23, 2006 me, For example, I am writing a site about phpI would have someting like[code]This site is about <strong>PHP</strong>[/code]But for people reading this, be careful not to over do it, as you then get downgrounded on the pointsBut I must be doing something rightNumber one result on googlepr of 3 on a site not running yet Quote Link to comment Share on other sites More sharing options...
fenway Posted September 25, 2006 Share Posted September 25, 2006 It's much more logical to use CSS for formatting... don't bother with either B or STRONG. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.