text format in html code example

Example 1: html bold

<!--Emphasized bold text. It's for content that is of greater importance-->
<strong>I'm a content</strong>

<!--Bold text. It's used to draw attention to text without indicating that it's more important-->
<b>I'm another content</b>

Example 2: html tags for text

HTML Text Formatting Elements
Tag	Description

<b>	Defines bold text
<em>	Defines emphasized text 
<i>	Defines a part of text in an alternate voice or mood
<small>	Defines smaller text
<strong>	Defines important text
<sub>	Defines subscripted text
<sup>	Defines superscripted text
<ins>	Defines inserted text
<del>	Defines deleted text
<mark>	Defines marked/highlighted text

Tags:

Css Example