Sams Teach Yourself HTML in 10 Minutes (4th Edition)

Links <a>...</a>

Hyperlinking is fundamental to HTML. These elements enable you to link to other documents, other locations within a document, or external files.

Usage

Used to define links and anchors.

Attributes

core, i18n, events.

charset="..." Character encoding of the resource.

name="..." Defines an anchor.

href="..." The URL of the linked resource.

target="..." Determines where the resource is displayed (user-defined name, _blank, _parent, _self, _top).

rel="..." Forward link types.

rev="..." Reverse link types.

accesskey="..." Assigns a hotkey to this element.

shape="..." Enables you to define client-side imagemaps using defined shapes (default, rect, circle, poly).

coords="..." Sets the size of the shape using pixel or percentage lengths.

tabindex="..." Sets the tabbing order between elements with a defined tabindex.

Категории