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="/support/___">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="/support/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="/support/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?

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

The Community Support team wrote the article you're looking at now. We like to think it's perfect, but we're sure you have some suggestions. Please, let us know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

Support 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.