1.4. Hyperlinks, tables, and frames

Apart from the “http” command on the browser, the anchor element <a> in XHTML provides another powerful method to connect to pages and documents on other Web sites. For example, a single anchor element such as

   <a href=http://www.othersite.com>Link To www.othersite.com</a>

could link (or hyperlink) your page to the site www.othersite.com. This feature can connect your page to millions of other servers or Web pages on the Internet and therefore reach a truly world-wide scale.

1.4.1. Hyperlink to the Web world

When a browser executes the following code with anchor

   <a href="http://www.hotmail.com">Microsoft Hotmail</a>

it will display and underline the text “Microsoft Hotmail” on the screen. If the Web user ...

Get Practical Web Technologies 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.