
WML Tags and Attributes
Issue 1 April 2005 153
● <head> tag - The <head> tag is an optional WML tag. This tag contains information that
relates to the deck as a whole, including meta-data and access control elements. This tag
is not supported.
● <meta/> tag - The optional <meta> tag is contained between multiple <head> tags. This
tag gives values for the parameters that describe the content of the deck. This tag is not
supported.
● <card> tag - A single WML file can contain multiple cards, supporting the analogy of a
“deck” of “cards” within a single WML file. A card is essentially the specification of one
specific WML page. This is a mandatory tag.
The card element attributes supported by the Web browser are as follows (unsupported
attributes are indicated as such in the Comments column):
Attribute Value(s) Description Comments
newcontext true
false
Re-initializes the
browser context.
Default is “false.”
Clears out the current WML
browser context, which entails
emptying the navigation stack
history and clearing out all
variables. When set to “true” the
browser clears its history buffer
and captures and buffers the
WML card title attribute of the
WML card containing the
newcontext tag. This buffered
attribute is used as the title for
every WML element having a null
or missing title attribute, including
top-level cards. SUPPORTED.
ordered true
false
Specifies the order of
card content. When
ordered is set to “true”
the browser displays
the content in a fixed
order. When ordered is
set to “false” the users
decide the order as
they navigate between
content. Default is
“true.”
Optional. Sets a Boolean value
that provides information on how
the content of the current card is
arranged. Used by the browser to
organize the display presentation
and layout. If set to true, content is
organized in a linear sequence of
elements - for example, a series
of ordered or non-optional input
elements. If set to false, content is
in no natural order - for example, a
series of unordered or optional
input elements. The default is
true. NOT SUPPORTED.
title cdata The title of the card. Can be used for title displays.
SUPPORTED.
onenterbackward url Occurs when the user
navigates into a card by
means of a “prev” task.
SUPPORTED.
1 of 2
Komentarze do niniejszej Instrukcji