HTML <i> tag

HTML <i> tag : Definition

• The <i> tag is used to define a part of text in a different voice or mood.

• The content inside <i> tag is generally displayed in italic type on the browser.

• It is used to indicate a technical term, a phrase, a thought, a ship name, etc.

• This tag is also commonly referred to as the <em> element.



Html <i> tag example :

<!DOCTYPE html> 
<html> 
    <head> 
        <title>HTML <i> Tag example</title> 
    </head> 
    <body> 

 <p class="paragraph"><em>This is a paragraph inside of <em> emphasized tag</em></p>
 <p class="paragraph">This is another paragraph outside of <em> emphasized tag</p>
 <p class="paragraph"><i>This is a paragraph inside of <i> emphasized tag</i></p>
 <p class="paragraph">This is another paragraph outside of <i> emphasized tag</p> 



    </body> 
</html> 


OUTPUT :


	


  

This is a paragraph inside of <em> emphasized tag

This is another paragraph outside of <em> emphasized tag

This is a paragraph inside of <i> emphasized tag

This is another paragraph outside of <i> emphasized tag