i Element

Description

The i element denotes text that has a different nature from the surrounding content, for example, words from other languages, a technical or scientific terms.

The style convention for i element is i{font-style:italic;}.

The style convention for the i element is the same as for the em element.

Example

The following code shows the i element in use.


<!DOCTYPE HTML>
<html>
<body>
  <em>I</em> like <b>HTML</b> and <b>CSS</b>. 
  My favorite is <i>Javascript</i>.
</body><!--from  w  ww.  j  a va 2 s . co m-->
</html>

Click to view the demo





















Home »
  HTML CSS »
    HTML »




HTML Introduction
HTML Document
HTML Section
HTML Group Content
HTML Text Marker
HTML Table
HTML Form
HTML Embed