How do I make text bold in HTML?

user133145 picture user133145 · Jul 4, 2009 · Viewed 752.1k times · Source

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?

Answer

Andrija picture Andrija · Jul 4, 2009

use <strong> or <b> tag

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