O'Reilly logo

Real World XML by Steven Holzner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required