b
big
em
i
small
u
WML TAG: strong
<strong> ... </strong>
The
strong
tag renders the specified text in some sort of strongly emphasized 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
Attributes
class
The optional
class
core attribute is used to assign one or more classes to the element. Multiple classes are separated by white space. The class name is case sensitive (i.e.,
Stocks
and
stocks
are not the same).
id
The optional
id
core attribute is used to assign a unique name to a tag. The name must be unique to the entire deck and not just unique to a card. The first character of the name can be a letter or the underscore. The remaining characters can be any combination of letters, numbers, or underscores.
xml:lang
The optional
xml:lang
attribute sets the language used in the element, such as English or Greek. For example, in the U.S. the default value is
en-US
.
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>
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information