Okay, so I know that in HTML you can use the
tag, but isn\'t there a \"weight=bold\" attribute that I can use in the
is a last resortYou can use , but only as a last resort. There are a variety of elements that work as good alternatives to , here they are in order of most usefulness:
through
The only case where I would advocate using is if
you have styled in a different way that you don't want displaying for the text that you have in mind,
you don't want italic emphasis or a heading, and
you are about to use an inline span or a span with a class just for bolding text. (For example: )
Then it's reasonable to use instead, because in that case it'll probably be cleaner/shorter and more semantic than an unsemantic span, and terceness/readability is a good reason for making that choice, since b has been redefined for use as an element denoting printed emphasis.