how to add text 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: how to write a text in html

<p> this is a text  </p> <!--paragraph text-->

Example 3: how to add text in html

<h1> This is h1 </h1> <!-- Biggest font-->
<h2> This is h2 </h2>
<h3> This is h3 </h3>
<h4> This is h4 </h4>
<h5> This is h5 </h5>
<h6> This is h6 </h6> <!--Smallest font-->

Example 4: insert text html

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

Tags:

Css Example