HTML B Tutorial

G:hackHTMLmyHTML-Tutorial12- b�1.png

When you have a word or sentence or a paragraph (basically any text) that you want to make it bold to gain more attention, you use <b> element.

<b> stands for "bold" that and as the name suggests, it is used for bolding the text within its body.

Example:

<!DOCTYPE html>
<html>
<title> Learning HTML is fun 🙂 </title>
<head>
</head>
<body >
<h1>Simple paragraph</h1>
<p>A simple <b>paragraph</b> is comprised of <b>three</b> major components.<br> <b>The first sentence</b>, which is often a declarative sentence, is called the “topic sentence.” <br>It introduces the topic of the paragraph, setting its tone and mood. The next few sentences elaborate, explain, and exemplify the topic introduced in it.</p>
<hr>
</body>
</html>