WML Tags Reference
© 2013 TutorialsPoint.COM
WML <access> Tag
The <access> element provides a simple form of access control for a deck. This allows a deck to specify that only certain other decks may link to it (these decks are known as referring URLs).
There may be no more than one <access> element in a deck, and it must be the first thing inside the <head> element.
The <access> element supports the following attributes:
|domain||cdata||Specifies the domain (effectively, the range of servers) from which the referring deck must come.|
|path||cdata||Specifies the path within the referring URL that must match. (The path is the part of the URL that specifies a file or directory on the server.)|
|class||cdata||Sets a class name for the element.|
|id||element ID||A unique ID for the element.|
Following is the example showing usage of this element:
Access is limited to other decks in www.tutorialspoint.com
Access is limited to other decks in www.tutorialspoint.com/wml
<access domain="www.tutorialspoint.com" path="/wml"/>