html formatting 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 text tag

<text>Your Text...</text>

Example 3: html formatting

<p>Normal Text</p>
<p><b>Bold Text</b></p>
<p><i>Italic Text</i></p>
<p><em>Emphasized Text</em></p>
<p><mark>Marked Text</mark></p>
<p><small>Small Text</small></p>

Example 4: 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:

Html Example