Anchors

A hyperlink to another Web page is created with the HTML anchor tag <a>. The tag uses several parameters, the most important of which is the href parameter. This parameter specifies the linked document's URL and may contain a Relative URL, not specifying the Web server or directory. These would be inherited by the current page's values. For example, the following anchor tag is perfectly acceptable:

We have a full line of <a href="prod.html">products</a> to choose from.

In this example, the link is to a page on the same machine and in the same directory as the current page.

In addition to the location and name of the Web page, an anchor can pass along parameters with the page request. When parameters are specified in a page request, ...

Get Building Web Applications with UML 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.