| Home News Product Order Forum Feedback Partner Profile | © Neatware 2000 |
| Neatware | Snaml |
|
Link |
|
|
Last Update: Wed Apr 12 20:04:05 2000 |
|
Snaml Basic
Introduction Syntax Control Types Modules Status Snaml HTML HTML Structure Link Objects Text Font Snaml CSS CSS Script Snaml CGI CGI Variables Output Form Application Snaml XML XML Document EBNF |
A link is a connection from one web resource to another. Anchor is the end of a link. A link pointers from source anchor to destination anchor. Users may visit the destination resource by activating a link (e.g. clicking mouse button). The destination anchor may be a resource on the Internet or an element with the id in the HTML document.
_a command declares a link in the Snaml. It can only appear as the content of the _body. The content of _a command is a source anchor. A browser will display the content as an underline text or an image. By clicking the text user can switch to the destination anchor that is specified by 'href' attribute with a URL. The 'name' attribute of _a command declares its anchor. Other links may refer to it with #namevalue. Any block commands may specify 'id' attribute for its anchor. The 'title' attribute is used to display an anchor's tooltip.
_link command defines a relationship between current document and other resources. It may appear in the _head and _body of a Snaml document. _link command may describe the position of a document within a series of documents. The 'rel' (relationship) and 'rev' (reverse) attributes are used for this purpose. _link command may also refer to the external style sheets.
URL (Universal Resource Locator) may be absolute, relative, and internal. Absolute URL has the full path. Relative URL has only relative path that will be resolved according to the base address. The internal URL in the document starts with the '#' character followed by a string that is an id value of a command or a name value of _a command.
_base command specifies a document's URL explicitly. Its default value is the current document.
|
|
|
|
Last Update: Wed Apr 12 20:04:05 2000 |
|
Link |
| Neatware | Snaml |
| Home News Product Order Forum Feedback Partner Profile | © Neatware 2000 |