HTML Formatting - Detailed Overview

Introduction to HTML Formatting

HTML provides several elements for formatting text to enhance readability and structure. These formatting elements allow you to apply styles such as bold, italic, underline, and more to your text.

Text Formatting Elements

Here are some common HTML text formatting elements:

Examples of HTML Formatting

Bold Text

<b>This text is bold.</b>
This text is bold.

Italic Text

<i>This text is italic.</i>
This text is italic.

Underlined Text

<u>This text is underlined.</u>
This text is underlined.

Highlighted Text

<mark>This text is highlighted.</mark>
This text is highlighted.

Smaller Text

<small>This text is smaller.</small>
This text is smaller.

Strikethrough Text

<del>This text is deleted (strikethrough).</del>
This text is deleted (strikethrough).

Inserted Text

<ins>This text is inserted (underline).</ins>
This text is inserted (underline).