Home » Web programming/HTML

HTML 'b' Tag with Examples

HTML | <b> Tag: In this tutorial, we are going to learn about the Bold (<b>) tag in HTML with its description, syntax, and examples.
Submitted by Shivang Yadav, on February 21, 2020

<b> Tag

<b> tag in HTML is used to make text bold in HMTL. No extra importance is added to the text enclosed within the <b> tag.

Syntax:

<b>Bold Text</b>

Technical insights of <b> tag

  • It supports global attributes and attributes that handle events of HTML5.
  • Supported by all browsers.

Example:

<!DOCTYPE html>

<html>

<head>
    <title>HTML Tutorial at IncludeHelp</title>
</head>

<body>
    <h1>HTML tutorial</h1>
    <p><b>"The quick brown fox jumps over the lazy dog"</b> is a sentence that contains all alphabets</p>
    <p>IncludeHelp provides tutorials on all <b>programming languages</b>.</p>
</body>

</html>

Output

HTML | b Tag

See the above HTML code, we made "The quick brown fox jumps over the lazy dog" and programming languages bold using <b> Tag.



Comments and Discussions!

Load comments ↻





Copyright © 2024 www.includehelp.com. All rights reserved.