HTML b

From Htmlpedia
Jump to: navigation, search

HTML Element B

Definition and Usage

The <b> tag renders the text as bold.
(Note: Deprecated as of XHTML 1.0, consider using <strong> instead)


Examples

<p>Some text with a <b>bold</b> word in it</p>
Good

Some text with a bold word in it


Attributes

Optional attributes

None

Standard Attributes

id, class, title, style, dir, lang

Event Attributes

onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup


Tags in Tag

  • Fontstyle

TT, I, B, BIG, SMALL

  • Phrase

EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, ABBR, ACRONYM


References


Back to HTML Elements