HTML - статьи


A


Description

The A element brackets (or anchors) a piece of text (and/or image) which

is identified as a hypertext link.

The A element must have either an HREF attribute or a NAME attribute.

The HREF attribute identifies a destination ,

and the bracketed text is rendered as a hypertext link to the URL.

Browsers will display the contents of an A element with an HREF attribute

in a special manner to indicate that if the contents are selected,

the browser will execute that hypertext link.

The NAME attribute identifies a destination tag, and the bracketed text

is thereby identified as an available hypertext target

within this document.

Browsers do not display the contents of an A element with a NAME attribute

in any special way.

However, an A element with an HREF attribute can now be constructed

by using the document URL suffixed with #name.

This will load the document, but will position the display

starting at the location of this NAME tag.

An A element with an HREF attribute can also be constructed

to jump directly to this destination tag within the same document

by a URL consisting solely of #name

The presence of REL=relation

in document A with HREF to document/object B

identifies a relationship that B has to A that A recognizes/authorizes/verifies.

The presence of REV=relation

of the identical relation

in document B with HREF to document/object A

identifies a desired/expected/claimed relationship that B has to A,

but must be verified by checking with A.

Minimum Attributes

<A HREF="..." >characters...

</A>

or

<A NAME="..." >characters...

</A>

All Possible Attributes

<A HREF="..."

NAME="..."

REL="..."

REV="..."

URN="..."

TITLE="..."

METHODS="..."

LANG="..."

DIR=ltr|rtl

CHARSET="..."

ID="..."

CLASS="..."

MD="..."

TARGET="..."

SHAPE="...">characters...




- Начало -  - Назад -  - Вперед -



Книжный магазин