
WML Tags and Attributes
Issue 1 April 2005 155
Text Elements
See Enabling Text Entry in Chapter 6 for text entry guidelines.
● <br/> tag - The <br/> tag tells the browser to add a line break to the text at the point the
element is written.
● <p> tag - The <p> tag specifies a paragraph of text with alignment and line wrapping
properties. All text data must be contained inside this tag. Only <do> tags, wml and card
elements can exist outside the <p> tag. When rendered, this tag causes subsequent text
to start on the next line.
The following tags are not supported but the content inside the tags is rendered as normal text:
● <table> tag - The <table> tag specifies a table. This tag is not supported.
● <td> tag - The <td> tag defines individual cell contents in each row of a defined table.
This tag is not supported.
● <tr> tag - The <tr> tag defines each row of a defined table. This tag is not supported.
Text Formatting Tags
The following tags are not supported but the content inside the tags is rendered as normal text:
● <b> tag - The <b> tag specifies bold text. This tag is not supported.
● <big> tag - The <big> tag specifies large font text. This tag is not supported.
● <em> tag - The <em> tag specifies emphasized text. This tag is not supported.
● <i> tag - The <i> tag specifies italicized text. This tag is not supported.
● <small> tag - The <small> tag specifies small font size text. This tag is not supported.
● <strong> tag - The <strong> tag specifies strongly emphasized text. This tag is not
supported.
● <u> tag - The <u> tag specifies underlined text. This tag is not supported.
Attribute Value Description Comments
align left
right
center
Aligns the
paragraph.
Default is “left.”
SUPPORTED.
mode wrap
nowrap
Sets whether a
paragraph wraps
lines or not.
Since horizontal scrolling is not supported, all
text lines wrap. WML pages with
mode=nowrap are ignored, and the text
wraps. If the “align” attribute is set to center
or right, the mode attribute is set to nowrap
for all tags except <img>. SUPPORTED.
Kommentare zu diesen Handbüchern