WML » Tags » u

Syntax:
<u> ... </u>

The u tag cause the specified text to be underlined.

Although WML is a small language, there are seven tags that can affect the appearance of a character or text (b, big, em, i, small, strong, and u).
 
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>
<u><b>DevGuru</b></u>
</p>
<p>
<u>is great!</u>
</p>
</card>
</wml>
Explanation:

This example demonstrates the use of the u tag to display the text 'DevGuru' in bold and underlined and the text 'is great!' underlined.

Language(s): WML

See Also: