html tutorial - <b> Bold Tag in HTML - html5 - html code - html form

bold b tag in html

Learn html - html tutorial - bold b tag in html - html examples - html programs

  • Bold tag is used to boldface the text inside the tag.
  • <b> tag belongs to Flow content, Phrasing content and Palpable content Category.
  • The bold tag supports Global Attributes and Event Attributes.

Syntax for <b> tag in HTML:


Sample Coding for <b> tag in HTML:

Tryit<!DOCTYPE html>
<html >
            <b>Learn</b>to Code in Wikitechy<br> 
            <b>Teach</b>people how different technologies are organized<br>
            <b>Covers</b>a variety of topics<br> 
            <b>Ranging</b>from advanced beginners to skill levels.

Code Explanation for <b> tag in HTML:

Bold <b> Tag Code Explanation

  1. <p> tag is used to display content within the paragraph tag in the html document.
  2. The text inside the <b> tag will be displayed in boldfaced text.

Output for <b> tag in HTML:

Bold <b> Tag Output

  1. The words “Learn, Teach, Covers & Ranging” was in boldfaced text which has been coded inside the <b> tag.

Browser Support for <b> tag in HTML:

Yes Yes Yes Yes Yes

Tips and Notes

  • <strong> and <b> tag has different meaning, but the browser will display <strong> as <b>.
  • <strong> means that the text is "important".
  • We should not use this <b> tag for title element.

Related Searches to bold tag in html

Adblocker detected! Please consider reading this notice.

We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

We don't have any banner, Flash, animation, obnoxious sound, or popup ad. We do not implement these annoying types of ads!

We need money to operate the site, and almost all of it comes from our online advertising.

Please add to your ad blocking whitelist or disable your adblocking software.