All About XLinks
Hyperlinks have long been an important part of HTML, and 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: navigating to a new document, as well as a specific location in that document; opening the new document in an existing frame or even a new window if you use the TARGET attribute; or executing JavaScript if you use the javascript: URL. Table 15.1 lists the official HTML attributes for the <A> element:
Get Inside 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.