Open In App

What are various tags available to add special meaning to the text in HTML ?

Last Updated : 23 Jul, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

In this article, we will discuss the tags that will add special meaning to the text in HTML.

HTML <b> and <strong> Tags: Both tags are used to make the text bold. The text content of the tag is shown as important information on the webpage.

Syntax:

<b> ... </b>
<strong> ... </strong>

Example: Using the code below, this example will demonstrate how to use the <b> and <strong> tags.

HTML
<!DOCTYPE html>
<html>

<head>
    <title>Bold and strong</title>
</head>

<body>
    <!--Normal text-->
    <p>Normal Text</p>


    <!--Text in Bold-->
    <p><b>Bold Text</b></p>


    <!--Text in Strong-->
    <p><strong> Strong Text</strong></p>

</body>

</html>

Output:

HTML <i> and <em> Tags: Both tags are used to make the text italic and emphasized. Both the element have opening and closing tags.

Syntax:

<i> ... </i>
<em> ... </em>

Example: Using the code below, this example will demonstrate how to use the <i> and <