24/7 U.S. Support – 877-595-4482
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.
| 1. | Creating a Basic Link to a New Page |
| 2. | Creating an Email Link |
| 3. | Creating a Link that Opens in a New Window |
| 4. | Creating an Anchor Link |
| Email: | support@WebHostingHub.com | Ticket: | Submit a Support Ticket |
|---|---|---|---|
| Call: |
877-595-4HUB (4482) 757-416-6627 (Intl.) |
Chat: | Click To Chat Now |
Copyright © 2013 Web Hosting Hub - Privacy Policy - Terms of Service