Alternative to the HTML Bold tag

后端 未结 21 1901
野性不改
野性不改 2020-12-23 15:35

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

21条回答
  •  没有蜡笔的小新
    2020-12-23 16:21

    The tag is alive and well. is not deprecated, but its use has been clarified and limited. has no semantic meaning, nor does it convey vocal emphasis such as might be spoken by a screen reader. does, however, convey printed empasis, as does the tag. Both have a specific place in typograpghy, but not in spoken communication, mes frères.

    To quote from http://www.whatwg.org/

    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.

提交回复
热议问题