Summary
Use the a tag to make a link.
Situation
You want a link to another page.
Action
Sample:
- <a href="https://wobblymonkeys.com/to-you.html">To you</a>
- <a href="to-you.html">To you</a>
The first links to a page on another site. It's an external link.
The second links to a page on your site. It's an internal link.
You can have on-page links:
- . . .
- <h1>Puppy breed sizes</h1>
- <p>
- All puppers start out small. But they grow, sometimes
- into ginormous doggos. The page will tell you about
- <a href="#small-breed">small breed puppers</a>,
- and <a href="#large-breed">large breed puppers</a>.
- </p>
- . . .
- <h2 id="small-breed">Small breed puppers</h2>
- . . .
- <h2 id="large-breed">Large breed puppers</h2>
- . . .
Where referenced