Working with Hyperlinks

The H in HTML stands for hypertext, which is dynamic text that defines a link to another document. The user clicks the hypertext, and the browser takes him to the linked document.

The HTML tags that set up links are <A> and </A>. The <A> tag is a little different from the other tags you've seen. Specifically, you don't use it by itself; instead, you add the address of the document to which you want to link. Here's how it works:

<A HREF="address">

Here, HREF stands for hypertext reference. Just replace address with the actual address of the Web page you want to use for the link (and, yes, you have to enclose the address in quotation marks). Here's an example:

<A HREF="http://www.mcp.com/sams/">

You're not done yet, ...

Get Windows® 98 Unleashed 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.