Creating a Link to Another Web Page

If you have more than one Web page, you will probably want to create links from one page to the next (and back again). You can also create connections to Web pages designed by other people on other servers.

Figure 6.2. Since there is only a file name (and no path) referenced in the href attribute, the file pioneerval.html must be in the same directory as this Web page that contains the link.

To create a link to another Web page:

1.
Type <a href="page.html"> where page.html is the URL of the destination Web page.
2.
Type the label text, that is, the text that is highlighted (usually blue and underlined), ...

Get HTML, XHTML, & CSS, Sixth Edition: Visual QuickStart Guide 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.