WML » Tags » b

Syntax:
<b> ... </b>

The b tag renders the specified text in a bold font format. The exact text appearance may be browser dependent.

Although WML is a small language, there are seven tags that can affect the appearance of a character or text of which four, 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 b or the em 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 how to use the b (bold) tag. The text 'DevGuru using the b tag' would be displayed in a bold font.

Language(s): WML

See Also: