All About XLinks

Hyperlinks have long been an important part of HTML. You create them with the HTML <A> element, like this:

<A HREF = "http://www.starpowdermovies.com/reviews.html#blandings"> 
    Mr. Blandings Builds His Dream House
<A>

The hyperlink appears in an HTML document either as text, typically underlined and colored, or as a clickable image. When clicked, the hyperlink can perform a variety of actions: navigate to a new document or a specific location in that document, open the new document in an existing frame, even open a new window if you use the TARGET attribute, or execute JavaScript if you use the javascript: URL. Here are the official HTML attributes for the <A> element:

  • ACCESSKEY— Assigns a keyboard shortcut to the hyperlink. ...

Get Real World XML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.