Shorter way of typing <strong></strong>


Is there a shorter way of typing <strong ?


yes, there is bold:

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.


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 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. The strong element

The strong element represents strong importance for its contents.