/

HTML / CSS / JavaScript Tutorial

HTML Element: <b>

[this page | pdf | back links]

The HTML <b> element indicates bold text. According to the HTML 5 specification it should be used as a last resort when no other elements such as <strong>, <h1>, <h2>, <h3>, <h4>, <h5> or <h6> are appropriate.

 

The attributes it can take are HTML global attributes and HTML event attributes.

 

To create or access such an element in JavaScript see here. The corresponding HTML DOM object supports standard DOM properties and methods. The default style applicable to this element is shown here.

 


NAVIGATION LINKS
Contents | Prev | Next | HTML Elements


Desktop view | Switch to Mobile