HTML 5 <b> tag
Definition and Usage
The <b> tag makes text bold.
The <b> tag is used to define parts of a text as more important then the rest.
Differences Between HTML 4.01 and HTML 5
None, but in HTML 4.01, there was an understanding that you should use CSS to
make text bold. This is still the case, but in HTML 5 you should use the <b> tag
to define some part of a text as more important than the rest.
Example
Source |
Output |
The house with the <b>blue</b> door |
The house with the blue door |
Standard Attributes
class, contenteditable, contextmenu, dir, draggable, id,
irrelevant, lang, ref, registrationmark, tabindex, template, title |
For a full description, go to Standard
Attributes in HTML 5.
Event Attributes
onabort, onbeforeunload, onblur, onchange, onclick,
oncontextmenu, ondblclick, ondrag, ondragend, ondragenter, ondragleave,
ondragover, ondragstart, ondrop, onerror, onfocus, onkeydown, onkeypress,
onkeyup, onload, onmessage, onmousedown, onmousemove,
onmouseover, onmouseout, onmouseup, onmousewheel, onresize, onscroll, onselect,
onsubmit, onunload |
For a full description, go to Event Attributes
in HTML 5.
|
|
|
See why there are 20,000+ Ektron integrations worldwide.
Request an INSTANT DEMO or download a FREE TRIAL today. |
|
|
|