Share on Google+Share on Google+

HTML5 <i> tag, Introduction of <i> tag in HTML5.

Advertisement
Introduction of <i> tag in HTML5.

HTML5 <i> tag, Introduction of <i> tag in HTML5.

Introduction:
In this section, we will introduce you to about the i tag of HTML5.i stands for italic. The content present in <i> tag will be display in italic font. It is a pair tag. Every thing which we wants to show in italic, we can write in italic tag.

Declaration syntax :

Declaration syntax of i tag in HTML5.

                            <i >Text for italic.</i>

Example of <i> in HTML5:

Code:
I_Tag.html
<!DOCTYPE html >
<html >
<head>
<title>Title of document</title>
</head>
<body>
<p><b>I tag Example.</b></p>
<p><b>Implementation of &lt;i&gt; in HTML5.</b></p>
we are working in <i>RoseIndia Technology pvt ltd</i>.
<br>
RoseIndia is a <i>IT</i> Company.
</body>
</html>
Output:

Download this code

Difference Between HTML5 and HTML4.01:

No difference. Because It is present in both.

 

Advertisements

Posted on: September 7, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Share this Tutorial Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.