Deck and card elements

deck wml card template head
access meta

wml
Defines a deck and encloses all the information and cards in the deck.
attributes

xml:lang
Specifies the natural or formal language in which the document is written.
id
Provides an element with a unique name within a single deck.
class
Affiliates an element with one or more classes.

card
Indicates the general layout and user schemes in the user agent. The card is the basic unit of navigation within a deck. It is possible to move from one card to another within the same deck or to move to another deck. Unless specified otherwise, upon navigation to another deck, the first card is displayed.
attributes

newcontext="false"
If you set this attribute to true, the browser context is re-initialized upon entry to this card. The browser context is used to manage all parameters and user agent states, including variables, the navigation history and other implementation-dependent information related to the current state of the user agent.
ordered=boolean
Gives an indication to the user agent about how the card content is organized.
onenterforward="href"
Navigates to the location specified by href. Occurs when the user navigates into a card using a go task.
onenterbackward="href"
Navigates to the location specified by href. Occurs when the user navigates into a card using a prev task.
ontimer="href"
Navigates to the location specified by href after a specified amount of time.
xml:lang
Specifies the natural or formal language in which the document is written.
id
Provides an element with a unique name within a single deck.
class
Affiliates an element with one or more classes.

template
Declares a template for cards in the deck. Event bindings specified in the template element (e.g. do or onevent) apply to all cards in that deck, although a card element may override the behaviour specified in the template element. In particular:
DO elements specified in the template element may be overridden in individual cards if both elements have the same NAME attribute value.
Intrinsic event bindings specified in the template element may be overridden by the specification of an event binding in a card element.
attributes

onenterforward="href"
Navigates to the location specified by href. Occurs when the user navigates into a card using a go task. onenterbackward="href"
Navigates to the location specified by href. Occurs when the user navigates into a card using a prev task. ontimer="href"
Navigates to the location specified by href after a specified amount of time. id
Provides an element with a unique name within a single deck. class
Affiliates an element with one or more classes.

head
Contains information relating to the deck as a whole, including meta-data and access control tags.
attributes

id
Provides an element with a unique name within a single deck.
class
Affiliates an element with one or more classes.

access
Specifies access control information for the entire deck. It is an error for a deck to contain more than one access element. If a deck does not include an access element, access control is disabled. When access control is disabled, cards in any deck can access this deck.
A deck's domain and path attributes specify which other decks may access it. As the browser navigates from one deck to another, it performs access control checks to determine whether the destination deck allows access from the current deck.
If a deck has a domain and/or path attribute, the referring deck's URI must match the values of the attributes. Matching is done as follows: the access domain is suffix-matched against the domain name portion of the referring URI and the access path is prefix matched against the path portion of the referring URI.
Domain suffix matching is done using the entire element of each sub-domain and must match each element exactly (e.g. www.wapforum.org shall match wapforum.org, but shall not match forum.org).
Path prefix matching is done using entire path elements and must match each element exactly (e.g. /X/Y matches /X in the attribute, but does not match /XZ in the attribute).
attributes

domain
The domain suffix of allowed referring pages. Default value is current deck's domain.
path
The path prefix of allowed referring pages. Default value is "/".
id
Provides an element with a unique name within a single deck.
class
Affiliates an element with one or more classes.

meta
Contains generic meta information relating the deck.
Meta-information is specified with property names and values. This specification does not define any properties, nor does it define how browsers must interpret meta-data.
attributes

http-equiv
May be used in place of name and indicates that the property should be interpreted as an HTTP header.
name
Specifies the property name. The browser must ignore any meta-data named with this attribute. Servers should not emit WML content containing meta-data named with this attribute.
content
This attribute specifies the property value.
forua
Specifies that the author intended the property to reach the browser. In the case where the user agent supports the meta-data mechanism, and the property has its forua attribute set to true, the meta-data must be delivered to the browser.
scheme
This attribute specifies a form or structure that may be used to interpret the property value. Scheme values vary depending on the type of meta-data.
id
Provides an element with a unique name within a single deck.
class
Affiliates an element with one or more classes.