There is no definitive issue with it, but it is worth noting that the <b>
bold tag is no longer recommended, with the <strong>
tag being the preferred choice.
I typically do not assign a class to the strong (or b) tag because I reserve it for instances where I want the text to be strong and eye-catching, much like how the <em>
tag is used for emphasizing words within a sentence.
When I need to make text bold or emphasize it for another reason, I opt for a div or span with a specific class — for instance, when italicizing the title of a book or article, I do not apply <em>
to the title; instead, I use
<span class="title">This Is That Title</span>
to accurately denote
what the title is, and then utilize a stylesheet to designate it as italicized.