WML » Tags » i

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

The i tag renders the specified text in an italic font format. The exact text appearance may prove to be browser dependent.

Although WML is a small language, there are seven tags that can affect the appearance of a character or text. Four tags, b, em, i, and strong, add some sort of emphasis. (The other three are big, small, and u.) There may be no difference in the display appearance between the i or the strong tags.
 
Nested Tags:  a  anchor  b  big  br  em  i  img  small  strong  table  u

Examples

Code:
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.WAPforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Card 1">
<p>
<b>DevGuru using the b tag</b>
</p>
<p>
<em>DevGuru using the em tag</em>
</p>
<p>
<i>DevGuru using the i tag</i>
</p>
<p>
<strong>DevGuru using the strong tag</strong>
</p>
</card>
</wml>
Explanation:

This example demonstrates the use of the i tag to make the text, 'DevGuru using the i tag' appear in italics.

Language(s): WML

See Also: