TEXT FORMATTING

<b> :

  • This tag creates bold text.

Example :

<p>Make me <b>bold</b></p>

This will produce the following result −

bold tag

<strong> :

  • This tag makes text bold and used to emphasize a point.

Example :

<p>Make me <strong>important bold</strong> text</p>

This will produce the following result −

strong tag

<i> :

  • This tag creates italic text.

Example :

<p>Make me <i>italic</i></p>

This will produce the following result −

italic tag

<em> :

  • This tag also creates italic text and used to emphasize a point.

Example :

<p>Make me <em>important italic</em> text</p>

This will produce the following result −

em tag

<q> :

  • This element is used to put some text in double quotes.

Example :

<P>Put me in <q>quotes</q></p>

This will produce the following result −

double-quotes tag

<blockquote> :

  • This element is used to display some passage from other source.

Example :

<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Sequi, ipsum.</p>
<blockquote> some passage from other source <blockquote>

This will produce the following result −

blockquote tag

<sub> :

  • This element is used to display a character or a number as base of other character.

Example :

x<sub>2</sub>

This will produce the following result −

sub tag

<sup> :

  • This element is used to display a character or a number as power of other character.

Example :

x<sup>2</sup>

This will produce the following result −

sup tag