Creating links in a website is very important, as it will allow your visitors to navigate to different parts of your website.  In this section we will just go over the basics.  The tag to make a text into a link is:

  • <a href="/help/___">Text that will be a link</a>

The "a href" attribute is an unusual one, as while most codes use words that are easy to remember (align, color, img, etc.), href is a foreign tag to anyone that has not designed a website before.  It is a good one to write down somewhere until you have used it enough to remember it. Using the code above as an example, we will create a link to a different page.  In this example, we want the text to go to nextpage.html:

  • <a href="/help/nextpage.html">Text that will be a link</a>

Now if someone clicks on the "Text that will be a link" text, it will direct them to "nextpage.html."  But if we want to change the text we can do that as well:

  • <a href="/help/nextpage.html">Click here to go to my next page</a>

Don't forget whenever you make a hyperlink, to put </a> where you want the link to end.  If this is not put in the page, then the hyperlink will go on forever and make all other text on your page a hyperlink.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve our Help Center:
Email Address
Optional, but our team may contact you for more information.
Did you find this article helpful?

Post a Comment

Name:
Email Address:
Comment:
Are you a bot?
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.