Prev: Selector for content?
Next: How to protect simply a web page access by password with javascript (non-military grade)?
From: shapper on 5 Feb 2010 10:58 Hello, For bold should I use <b> or <strong>? I thinks <b> but I am not sure. Thanks, Miguel
From: Ben C on 5 Feb 2010 11:19 On 2010-02-05, shapper <mdmoura(a)gmail.com> wrote: > Hello, > > For bold should I use <b> or <strong>? I thinks <b> but I am not > sure. Use <b> for bold and <strong> for when you want the browser to emphasize the text in some way for example by making it bold.
From: Nick Theodorakis on 5 Feb 2010 12:06 On Feb 5, 10:58 am, shapper <mdmo...(a)gmail.com> wrote: > Hello, > > For bold should I use <b> or <strong>? I thinks <b> but I am not > sure. > > Thanks, > Miguel If the meaning is that text is emphasized in some way, use <strong>: "This is an <strong>important</strong> point to make!" Alternatively, you can use <em>, but most visual browsers will render the text in italics. How to decide whether text should be marked up as <strong> or <em> (and whether <strong> is a stronger emphasis than <em>) is an open question. I admit that when I think emphasized text should be rendered as bold, I use <strong>, but I realize that's going about it backwards. If the text should be be emboldened (or italicized) or otherwise distinguished from the surrounding text, but there is no semantic need for emphasis, use <b> (or <i>): Parry, JK (2010) <i>Journal of Kibology</i> <b>246</b>: 118-126. "Towards a hermeneutic consistency of bozon attractors in postmodern analysis." Nick -- Nick Theodorakis nick_theodorakis(a)hotmail.com contact form: http://theodorakis.net/contact.html
From: dorayme on 5 Feb 2010 18:22 In article <slrnhmoh7q.qjd.spamspam(a)bowser.marioworld>, Ben C <spamspam(a)spam.eggs> wrote: > On 2010-02-05, shapper <mdmoura(a)gmail.com> wrote: > > Hello, > > > > For bold should I use <b> or <strong>? I thinks <b> but I am not > > sure. > > Use <b> for bold and <strong> for when you want the browser to emphasize > the text in some way for example by making it bold. The only remaining question being how the OP will know for sure what he wants out of these two. -- dorayme
From: dorayme on 5 Feb 2010 18:30
In article <e125a34d-770d-4a4b-849b-c90055650348(a)r19g2000yqb.googlegroups.co m>, Nick Theodorakis <nick.theodorakis(a)gmail.com> wrote: > On Feb 5, 10:58 am, shapper <mdmo...(a)gmail.com> wrote: > > Hello, > > > > For bold should I use <b> or <strong>? I thinks <b> but I am not > > sure. > > > > Thanks, > > Miguel > > If the meaning is that text is emphasized in some way, use <strong>: > > "This is an <strong>important</strong> point to make!" > > Alternatively, you can use <em>, but most visual browsers will render > the text in italics. > em is supposed to be for 'emphasis', strong is supposed to be 'strong emphasis'. It is not a mere alternative, it is rather two degrees of the same thing. > How to decide whether text should be marked up as <strong> or <em> > (and whether <strong> is a stronger emphasis than <em>) is an open > question. I admit that when I think emphasized text should be rendered > as bold, I use <strong>, but I realize that's going about it > backwards. > > If the text should be be emboldened (or italicized) or otherwise > distinguished from the surrounding text, but there is no semantic need > for emphasis, use <b> (or <i>): > If there is no semantic need for emphasis, then css is the way to go. -- dorayme |