24/7 U.S. Support – 877-595-4482
We go over how to make text into a hyperlink in the next class, but you may also want to have the image be a link. This would allow your visitors to click on the image and go to a different page automatically. Just to continue building on the image code that we have been using this section, we will use this in our example:
<img src="/support/Images/image.jpg" align="middle" width="250" height="320" />
Now we will make it a link. The basic tag to make something an active hyperlink is <a href="/support/___">object/text to be linked</a>. This looks very foreign to new website designers, since href is not a "word" that most people have seen before, but it is used whenever you want to create a link on your website. As with other tags, make sure that you place the </a> at the end or the hyperlink will never end. For images, you will simply put the hyperlink tag before and after your image code:
<a href="/support/morepictures.html"><img src="/support/Images/image.jpg" align="middle" width="250" height="320" /></a>
Now your image is an active hyperlink and will go to the web page morepictures.html on your website. Please see our section on creating links for more information.
| 1. | How to Insert an Image using HTML |
| 2. | Changing the Image Alignment |
| 3. | Changing the Size of an Image |
| 4. | How to Make the Image a 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