
- WML Tutorial
- WML - Home
- WML - Overview
- WML - Environment
- WML - Syntax
- WML - Elements
- WML - Comments
- WML - Variables
- WML - Formatting
- WML - Fonts
- WML - Images
- WML - Tables
- WML - Links
- WML - Tasks
- WML - Inputs
- WML - Submit Data
- WML - Server Scripts
- WML - Events
- WML - Timer
- WML - Template
- WML - DTD
- WML2 - Tutorial
- WML References
- WML - Entities
- WML - Tags Reference
- WML Tools
- WAP - Emulators
- WML - Validator
- WML Useful Resources
- WML - Quick Guide
- WML - Useful Resources
- WML - Discussion
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.
Attributes:
The <access> element supports the following attributes:
Attribute | Value | Description |
---|---|---|
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. |
Example:
Following is the example showing usage of this element:
Access is limited to other decks in www.tutorialspoint.com <head> <access domain="www.tutorialspoint.com"/> </head> Access is limited to other decks in www.tutorialspoint.com/wml <head> <access domain="www.tutorialspoint.com" path="/wml"/> </head>
Advertisements