WeLearn

Grade 11 Information Technology · Lesson 4.4

HTML Links

Unit 4: Web Development

Hyperlinks are what make the Web a web: they let users move from one page or resource to another with a click. In HTML a link is created with the anchor element <a>. The href (hypertext reference) attribute holds the destination, and the text between the opening and closing tags is what the user clicks. For example, <a href="https://www.aau.edu.et">Addis Ababa University</a> shows the words Addis Ababa University as a clickable link.

Key terms

Hyperlink
clickable connection to another resource
Anchor element <a>
HTML element that creates a link
href
attribute that holds the link destination
Absolute URL
full web address including protocol and domain
Relative URL
path relative to the current page
target="_blank"
opens the link in a new tab
Bookmark link
link to an id within a page
All Grade 11 Information Technology key terms →

Summary

  • Links are made with <a href="...">text</a>.
  • Absolute URLs link to other sites; relative URLs link within a site.
  • Use id and # to link to a section of a page.
  • target="_blank" opens a new tab; use descriptive link text.

In everyday life: School and government websites in Ethiopia use links to connect application forms, results and announcements across many pages.

Check yourself

  • Which attribute holds a link's destination?
  • When should you use a relative URL?
  • Write a link to the section id="top".
  • How do you make an image clickable?

Practice questions

  1. 1. Which HTML tag creates a hyperlink?

    • A. <link>
    • B. <a>
    • C. <href>
    • D. <p>
    Show answer

    Answer: <a>

    The anchor tag <a> with an href attribute creates a clickable link; <link> connects external resources such as stylesheets.

On WeLearn

The full lesson: reading notes, worked examples, class activities and the Unit 4 quiz

Study HTML Links on WeLearn

Teach HTML Links with WeLearn

We will bring a demo to your school: a lesson on your interactive TV, a virtual lab and a classroom game, with your own teachers.