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:
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:
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:
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.
Email: | support@WebHostingHub.com | Ticket: | Submit a Support Ticket |
---|---|---|---|
Call: |
877-595-4HUB (4482) 757-416-6627 (Intl.) |
Chat: | Click To Chat Now |
We value your feedback!
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.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!