How to Link One Page to Another in HTML

Wondering how you make links from one page to another with HTML? Here is how to do it.

chicago seo expert

It's pretty easy to make HTML links.

You will use the a tags. Like this:

<a></a>

So <a> is where the link code starts and </a> is where the link tag ends.

And within the first part of the tag (<a>) is where you'll include the URL that you want to link to, which could be your homepage, contact page, or an external link to another website.

The base of the tag is: <a href=” ”>.

Notice the quotes. That's where the link URL goes. In-between the quotes.

And make sure the link tag goes within the <body></body> tags on the page.

Just Give an HTML Example to Copy and Paste and Edit Already

Here you go:


<a href="https://www.example.com/contact">Contact</a>

So with that example link, the word "Contact" is the clickable word that would go to the /contact page.

How to Make Sure the Link Opens in a New Tab When Clicked

If you want the link to open in a new tab when clicked, you would add target="_blank" into the first part of the link tag. Like this:


<a href="https://www.example.com/contact" target="_blank">Contact</a>

Easy, Right?

Now learn how to improve SEO.