如何使文本在HTML中加粗? [英] How do I make text bold in HTML?

查看:142
本文介绍了如何使文本在HTML中加粗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我试图使用HTML来使一些文本变成粗体,但我很努力让它工作。

p>

 有些<粗体>文字< / bold>我想要鼓起勇气。 

有人能告诉我我做错了什么吗?

解决方案

使用< strong> < b> 标签



也可以尝试使用css < span style =font-weight:bold> text< / span>


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 <bold>text</bold> that I want emboldened.

Could someone tell me what I'm doing wrong?

解决方案

use <strong> or <b> tag

also, you can try with css <span style="font-weight:bold">text</span>

这篇关于如何使文本在HTML中加粗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆