Bold, Italic, Underline in HTML – Examples & Syntax

Himmat Kumar Apr 10, 2025, 5:07 PM
HTML
Views 1273
Blog Thumbnail

Today cover three HTML tags that are used the most: <b>, <i>, and <u>. These tags perform basic text styling functions which can be quite useful.

🔸 Bold Text – <b>

Using the <b> tag allows you to make the text bold without adding importance. (For importance use <strong>.)

      <b>This text is bold</b>
    

Output:

This text is bold

🔹 Italic Text – <i>

The <i> tag allows you to italicize the text for stylistic or alternative voice.

      <i>This text is italic</i>
    

Output:

This text is italic

🔻 Underlined Text – <u>

The <u> tag underlines the text. The text below is also marked for emphasis, but it is recommended to use CSS instead.

      <u>This text is Underlined</u>
    

Output:

This text is Underlined

🧩 Combined Formatting Example

You can perform multiple styles through combined tags.

      <b><i><u>Bold, Italic and Underlined</u></i></b>
    

Output:

Bold, Italic and Underlined

📌 Summary

  • <b> makes the text bold
  • <i> makes the text italic
  • <u> underlines the text
  • Combine to create formational magic

Comments

Please login to leave a comment.

No comments yet.

Related Posts

2450 viewsHTML
Himmat Kumar • Apr 10, 2025, 11:19 AM

Comments in HTML – Guide with Examples

2217 viewsHTML
Himmat Regar • Jun 23, 2025, 4:41 PM

HTML & SEO FAQ 2025: Answers to the Web’s Most-Asked Qu...

2460 viewsHTML
Himmat Regar • Jun 23, 2025, 4:23 PM

Mastering Responsive Meta & SEO-Friendly Markup in 2025

3321 viewsHTML
Himmat Regar • Jun 9, 2025, 5:37 PM

Semantic HTML Explained: Why <header>-<footer> & Friend...

2345 viewsHTML
Himmat Regar • Jun 9, 2025, 5:02 PM

Mastering Superscript & Subscript in HTML: A Complete H...

2119 viewsHTML
Himmat Regar • Jun 2, 2025, 7:02 PM

HTML Performance Tricks 2025 – Preload, Async/Defer, Cr...

2213 viewsHTML
Himmat Regar • Jun 2, 2025, 6:54 PM

HTML Tables for Data — Not Layout! Semantics, Accessibi...

1424 viewsHTML
Himmat Kumar • Oct 13, 2023, 11:40 PM

What is HTML? Full Explanation and Guide

3379 viewsHTML
Himmat Kumar • Apr 8, 2025, 2:34 PM

HTML <br> and <hr> Tags Explained with Examples and Bes...

2589 viewsHTML
Himmat Kumar • Apr 8, 2025, 1:50 PM

HTML Paragraph Tag – Complete Guide with Examples