# 10. XHTML Hypertext Module

Contents

This section is normative.

The Hypertext Module provides an element that traditionally has been used in HTML to define hypertext links to other resources. Although all elements may now play the role of a hyperlink (using the @href attribute) or hyperlink anchor (using the @id attribute), this element remains for explicit markup of links, though is otherwise identical in semantics to the span element.

This module supports the following element:

Element | Attributes | Content Model
--- | --- | ---
a | Common | ( Text)*

Implementations: RELAX NG, XML Schema

## 10.1. The a element

An a element defines an anchor. Since hypertext attributes such as @href may be applied to any element, this element is not strictly necessary, being equivalent to a span, but has been retained to allow the expression of explicit links.

Attributes

The Common collection
  A collection of other attribute collections, including: Bi-directional, Core, Edit, Embedding, Events, Forms, Hypertext, I18N, Map, Metainformation, and Role

Example

    <a href="http://www.w3.org/">The W3C Home Page</a>