Jump to content

[SOLVED] What's better...


Lumio

Recommended Posts

<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
https://forums.phpfreaks.com/topic/50533-solved-whats-better/#findComment-248442
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
https://forums.phpfreaks.com/topic/50533-solved-whats-better/#findComment-248576
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.