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 ...

Get Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day: Includes New HTML5 Coverage, Sixth Edition 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.