Now that you're done learning the basics of HTML, it's time for you to learn to create a multi-page website. To do that, you use links. This is a sample output of a link:
To link different pages of your website, you use the <a>< tag. Then, you type in the text you want to display as a link. Inside the <a>, you add the href attribute. Inside the href attribute, you type the name of the page you want the link to go to. Here's an example:
This code yields the following result:
When you add a link to your webpage, it doesn't always have to be a link to another page of yours; it can be an external source, like google. To do that, for the href attribute, you must include the https://, and the link will only work in the preview. For example, this leads to google.