formatting 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 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 3: insert text html

<object height=20 width=75 type='text/plain' border=0 data="URL/filename.txt"></object>

Example 4: italique html

<p><i>Text in italic</i></p>

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

Example 6: balise html

<div></div>

Tags:

Html Example