O'Reilly logo

Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day: Includes New HTML5 Coverage, Sixth Edition by Rafe Colburn, Laura Lemay

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Lesson 6. Adding Links to Your Web Pages

After finishing the preceding lesson, you now have a couple of pages that have some headings, text, and lists in them. These pages are all well and good but rather boring. The real fun starts when you learn how to create hypertext links and link your pages to the Web. In this lesson, you learn just that. Specifically, you learn about the following:

• All about the HTML link tag (<a>) and its various parts

• How to link to other pages on your local disk by using relative and absolute pathnames

• How to link to other pages on the Web by using URLs

• How to use links and anchors to link to specific places inside pages

• All about URLs: the various parts of the URL and the kinds of URLs you can use

Creating ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required