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="/help/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="/help/___">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="/help/morepictures.html"><img src="/help/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.

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 this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
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!
Need More Help?

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