HTML Tutorials | Text Formatting

HTML | Text Formatting

In HTML Text Formatting We Make Text Bold, Italic, Emphasized text , Marked text (Hightlight Text), Small text , Deleted text , Inserted text , Subscript text , Superscript text .

  • <b> – Bold text
  • <i> – Italic text
  • <em> – Emphasized text
  • <mark> – Marked text
  • <small> – Small text
  • <del> – Deleted text
  • <ins> – Inserted text
  • <sub> – Subscript text
  • <sup> – Superscript text

1- <b> – Bold text (By Using HTML <b> Element We make Text Bold.)

Here Is my Bold Text
<b>Here Is My Bold Text<b/>

2- <i> – Italic text (By Using HTML<i> Element We Make Text Italic.)

This Is My Italic Text
<i>This is My italic Text</i>

3-<em> – Emphasized text (By Using HTML <em> Element We Make Text Emphasized), Its Look Like Italic.

 <p><em>This is My Emphasized Text</em></p>
  This is My Emphasized Tex 
  <p>This is my normal Text</p>
  This is my normal Text 

4-<mark> – Marked Text (HTML <mark> Element Makes Text Highlighted, We can highlight important text by mark element.)

<h1><mark>Ayodhya</mark>is the birth Place of <mark>LORD RAM</mark></h1>

Ayodhyais the birth Place of LORD RAM

5- <small> – Small text (HTML <small> Element use for make text small, We can make text small without CSS in paragraph.)

This is HTML Small Text Formatting

<h1><small>This</small>is HTML <small>Small</small>Text Formatting</h1>

Leave a Reply

Your email address will not be published. Required fields are marked *