Skip to content

03 ‐ Working with Links

Sanjay Viswanathan edited this page May 15, 2025 · 3 revisions

When creating hyperlinks, you can use both relative and absolute URLs to specify the target location. Relative URLs are used to link to resources within the same website, while absolute URLs are used to link to external websites or resources.

  <h1>Welcome to my website!</h1>
  <p>Click <a href="about.html">here</a> to learn more about me.</p>
</body>```

# Absolute URLs
For linking to external websites or resources, you can use an absolute URL like this:

Welcome to my website!

Click here to visit AI Buddies.

```

Learn Docs

Clone this wiki locally