Shorter way of typing <strong></strong>


#1

Is there a shorter way of typing <strong ?


#2

yes, there is bold:

https://stackoverflow.com/questions/271743/whats-the-difference-between-b-and-strong-i-and-em

but you have to understanding that although they may appear the same on the surface, they are not.

strong isn’t that long to type.


#3

This leads to the question, is there a reason to use <b></b> instead of <strong></strong>?

The answer is yes. If all you want is for a sighted user to see the bold text, and not hear it (as by a screen reader), in other words visual emphasis only, then by all means use <b></b>. Unsighted users will thank you for not aurally emphasizing passages that need not be emphasized, or worse where emphasis makes no sense.

<strong></strong> is a text level semantic element. <b></b> is in that same group, but if you drill into the W3C recommendations, along with WAI guidelines on it and <strong> your will learn their real, intended differences.

Excerpts

4.3.6.20 The b element

The b element represents a span of text to be stylistically offset from the normal prose without conveying any extra importance, such as key words in a document abstract, product names in a review, or other spans of text whose typical typographic presentation is boldened.

4.3.6.5 The strong element

The strong element represents strong importance for its contents.