contents.gifindex.gifprev1.gifnext1.gif

pueblo00000000.gif <a>...</a>

An Anchor element is a marked text that is the start and/or destination of a hypertext link. Anchor elements are defined by the <a> element.

Attributes

HREF

If the HREF attribute is present, the text between the opening and closing anchor elements becomes hypertext. If this hypertext is selected by readers, they are moved to another document, or to a different location in the current document, whose network address is defined by the value of the HREF attribute.

NAME

If present, the NAME attribute allows the anchor to be the target of a link. The value of the NAME attribute is an identifier for the anchor. Identifiers are arbitrary strings but must be unique within the HTML document.

For example, a document can define a target as follows:

<a name=”LPMud”>LPMud</a>

An anchor can then jump to this target using an anchor as follows:

Another type of World is Lars Pensj|’s <a href=”#LPMud”>LPMud</a>.

An anchor can also jump to a different document appending the target to the document URL, as follows:

Another type of World is Lars Pensj|’s <a href=”mudtypes.html#LPMud”>LPMud</a>.

TITLE
REL
REV
URN
METHODS

These attributes are not currently supported by WebTracker.

Extended WebTracker Attributes

XCH_CMD

This is an anchor field which indicates that the specified command should be sent to the World when the anchor is selected. For example, when the following anchor is selected, the text “look communicator” will be sent to the World:

In the corner of the office is a small <a xch_cmd=”look communicator”>personal communicator</a>.

XCH_HINT

The XCH_HINT attribute can be used to give users more information about what will happen if they select the anchor their cursor is over. The information is displayed in the Pueblo status bar.

Also see

<img>

xch_cmd

xch_hint

Using image maps with worlds