HTML <b> tag
HTML <b> tag
The <b>
tag is used to make the enclosed text to appear bold, without any extra importance.
Note: The HTML5 recommended to use CSS font-weight property instead of <b> tag.
Example
HTML Online Editor
<!DOCTYPE html>
<html>
<body>
<p>I'm <b>bold</b> enough.</p>
</body>
</html>
More Example
Example
HTML Online Editor
<!DOCTYPE html>
<html>
<body>
<b>Bold Text</b> <br>
<code>A Piece of Computer Code</code> <br>
<del>Deleted Text</del> <br>
<em>Emphasized Text</em> <br>
<kbd>Keyboard Input</kbd> <br>
<samp>Samp</samp> <br>
<small>Small</small> <br>
<strong>Important Text</strong> <br>
<var>Variable</var>
</body>
</html>
Attributes
There is no special attributes for <b> tag. Only Global attributes.
Reminder
Hi Developers, we almost covered 99.5% of HTML Tutorials with examples for quick and easy learning.
We are working to cover every Single Concept in HTML.
Please do google search for:
Join Our Channel
Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.
This channel is primarily useful for Full Stack Web Developer.