Bold, Italic, Underline in HTML – Examples & Syntax

Himmat Kumar Apr 10, 2025, 5:07 PM
HTML
Views 1409
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

2661 viewsHTML
Himmat Kumar β€’ Apr 10, 2025, 11:19 AM

Comments in HTML – Guide with Examples

2436 viewsHTML
Himmat Regar β€’ Jun 23, 2025, 4:41 PM

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

2682 viewsHTML
Himmat Regar β€’ Jun 23, 2025, 4:23 PM

Mastering Responsive Meta & SEO-Friendly Markup in 2025

2560 viewsHTML
Himmat Regar β€’ Jun 9, 2025, 5:02 PM

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

2310 viewsHTML
Himmat Regar β€’ Jun 2, 2025, 7:02 PM

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

2434 viewsHTML
Himmat Regar β€’ Jun 2, 2025, 6:54 PM

HTML Tables for Data β€” Not Layout! Semantics, Accessibi...

2327 viewsHTML
Himmat Regar β€’ Jun 2, 2025, 6:46 PM

Images & Responsive Media in HTML – Formats, <picture>,...

2047 viewsHTML
Himmat Regar β€’ Jun 2, 2025, 6:38 PM

HTML Lists & Links Guide – Correct Markup, Accessibilit...

2777 viewsHTML
Himmat Kumar β€’ Apr 8, 2025, 1:50 PM

HTML Paragraph Tag – Complete Guide with Examples

1117 viewsHTML
Himmat Kumar β€’ Aug 18, 2024, 10:58 PM

Understanding HTML Attributes: A Beginner's Guide