How do I make text bold in HTML?

后端 未结 10 1279
时光说笑
时光说笑 2020-12-23 08:44

I\'m trying to make some text bold using HTML, but I\'m struggling to get it to work.

Here\'s what I\'m trying:

Some text th         


        
10条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-23 09:26

    HTML doesn't have a tag, instead you would have to use . Note however, that using is discouraged in favor of CSS for a while now. You would be better off using CSS to achieve that.

    The tag is a semantic element for strong emphasis which defaults to bold.

提交回复
热议问题