"jjj"
Formatting
HTML Text Formatting
HTML text formatting is a fundamental aspect of web development that enables you to enhance the readability and visual appeal of your content.
Example
In this example we demonstrates some of the most common HTML tags used for text formatting:
<h4>Topfreecourse <b>bold</b>text.</h4>
<h4>Topfreecourse <i>italic</i> text.</h4>
<h4>Topfreecourse <u>underlined</u> text.</h4>
<h4>Topfreecourse <s>strikethrough</s> text.</h4>
<h4>Topfreecourse <strong>important</strong> text.</h4>
<h4>Topfreecourse <em>emphasized</em> text.</h4>
OutPut:
- Topfreecourse bold text.
- Topfreecourse italic text.
- Topfreecourse underlined text.
- Topfreecourse
strikethroughtext. - Topfreecourse important text.
- Topfreecourse emphasized text.
Summary of Formatting Elements
| Element Name | Description |
|---|---|
| <strong> | Important text< |
| <b> | Bold text |
| <small> | Smaller text |
| <i> | Italic text |
| <em> | Emphasized text |
| <mark> | Marked text |
| <del> | Deleted text |
| <ins> | Inserted text |
| <sub> | Subscript text |
| <sup> | Superscript text |
Prefer Learning by Watching?
Watch these YouTube tutorials to understand HTML Tutorial visually:
What You'll Learn:
- 📌 Learn HTML text formatting
- 📌 HTML5 text formatting basics explained in 10 minutes