How to make text italic in HTML

If you want to use italic it is quite simular to the way bold text and underlined text is done. It consists of a beginning and ending i-tag like this…

<i>this is italic</i>

Italic text can be useful in some cases. Maybe you want an article signature to be italic or an image caption. The italic tag can be used inside other tags. Usually it would be found inside a paragraph tag like this…

<p>This is a tutorial about HTML and italic text. <i>This was written by beginnertuts.com</i>.</p>

The output of this HTML would be…

This is a tutorial about HTML and italic text. This was written by beginnertuts.com.

  Written by: Michael from Beginnrtuts.com     25-08-2022     Written in: HTML tutorials

Leave a Reply

Your email address will not be published.