Jump to content

[SOLVED] What's better...


Lumio

Recommended Posts

<strong> wasn't an option ;)

 

anyways, from what i understand, <b> is used more for presentation, whereas <strong> has meaning for audio browsers etc, and it just happens that most broswers show <strong> with a bold font although it isn't a requirement

 

 

Link to comment
Share on other sites

<b>text</b>

 

the first one's better because it separates the presentation from the content

 

The whole idea of separating presentation from content would NOT require the use of <b> as that would mean you are placing presentational tag in the content.  Screen readers also react differently so to answer the original post <span class="bold"> is the better option as you can do much more with it from a style sheet - which includea altering emphasis in a style shet for speech....

Link to comment
Share on other sites

If you say so buddy....

 

BUT just for your info this is what w3schools say about both strong and b...

 

The following elements are all font style elements. They are not deprecated, but it is possible to achieve richer effects using style sheets.

 

Now as you can do some work on aural style sheets to control the speech synthesis of words I will stand by my original post.....

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.