HTML BOLD, ITALIC, STRIKE, STRONG TAGS - HTML TUTORIAL 5 STUDENTSBLOG100

In the previous class, we have seen about text formatting in detail and now we are here to see basic font style tags.
  • Bold
  • Italic
  • Strike
  • Strong

Bold:
Bold tags are used to display any texts darker than normal. Which can be used to display headings or highlight any key points in a paragraph.

Syntax:

<b>..............</b>

Italic:
Italic tag is used to display normal text in italic format. For this, <i> tag is used.

Syntax:
<i>..............</i>

Strike:
Strike tag is used to display strike out text in normal text. For this, <strike> tag is used.

Syntax:
<strike>..............</strike>

Strong:
Same as bold tag but little bit different. For this, <strong> tag is used.

Syntax:
<strong>..............</strong>

Example Program:
Output:
Bold Text
Italic Text
Strike out text
Strong Text

Lesson 4  Previous | Main Page | Next  Lesson 6
Previous
Next Post »