Enriching Web Pages: Adding Links

In this lesson, we will see how to add links to our webpage. Let's begin!

Adding links

No doubt, the power of the World Wide Web is in links that allow web pages to link to other pages. The HTML <a> tag adds this power to pages.

You can surround parts of the HTML markup to link them to other pages, or to bookmarks within your page, as Listing 2-15 demonstrates:

Get hands-on with 1200+ tech skills courses.