Module 12: Webpage Content

Lesson 1 of 5 · 15–25 minutes

Links

🏠The everyday picture

Signposts. One says "Library, 200 m" (somewhere in this town); another says "Delhi, 1,000 km" (somewhere far away). Links are the web's signposts, and the "hyper" in HyperText.

📘What it really is

🖱️Try it

Create a second page, about.html, with the same skeleton and an <h1>. On index.html, add <a href="about.html">More about me</a>. On about.html, add a link back home. Click between them in your browser.

✅Quick check

*Your link href="About.html" works on your Windows laptop but breaks on the server. The file is

Show the answer

about.html. Why?* Most web servers treat upper and lower case as different. Keep file names and links in lowercase.

Why is "click here" bad link text?

Show the answer

It says nothing about where the link goes, especially to someone hearing a list of the page's links.

← BackModule 12
ProLearners Assist