1 reply [Last post]
amberaqua
amberaqua's picture
Offline
newbie
Oxford
Last seen: 7 years 9 weeks ago
Oxford
Joined: 2016-01-22
Posts: 1
Points: 2

Hi,

Can someone kindly tell me what code I need to use to make my logo on my website which is just a jpg become clickable to the home page
I'm not really a developer, so I really appreciate your help on this.

Thanks

Amber

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 2 years 4 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

Wrap the image in an anchor element (a)

For example:

<a href="/">
  <img src="mylogo.jpg"
       alt="myconame">
</a>

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.