bold tag. code example

Example 1: html bold text

<html>
 <head>
   <title>Bold text</title>
 </head>
 <body>
   <p>Use the strong element to <strong>indicate strongly emphasized</strong> content.</p>
 </body>
</html>

Example 2: html bold

<!--Emphasized bold text. It's for content that is of greater importance-->
<strong>I'm a content</strong>

<!--Bold text. It's used to draw attention to text without indicating that it's more important-->
<b>I'm another content</b>

Example 3: html

<b>This text is bold</b>

Example 4: what is b tag in html

<!-- The <b> tag bolds text without any emphasis-->

Example 5: bold text html

<!--bold text --> 
<b>text</b>

Tags: