0

using image as a link

hey guys I'm trying to using an image file as a link in HTML page. for some reason, I cannot do that. (I'm using brackets to coding). when I'm trying to run the code, the program just doesn't do anything. tnx

16th Dec 2018, 8:43 PM
‎‫Shlomo Strauss
‎‫Shlomo Strauss - avatar
4 odpowiedzi
+ 2
‫shlomo strauss Your code is correct. I just checked it in notepad++ . Sometimes google refused to connect because of security issue, DNS problem etc Just one small advice....avoid putting any HTML element between <head> and <body>
16th Dec 2018, 9:14 PM
Rishi Anand
Rishi Anand - avatar
+ 2
Please post your code here...
16th Dec 2018, 8:49 PM
Rishi Anand
Rishi Anand - avatar
+ 1
tnx bro! have a good night/day whatever..
16th Dec 2018, 9:24 PM
‎‫Shlomo Strauss
‎‫Shlomo Strauss - avatar
0
<html> <head> <title> all google services </title> <link rel=stylesheet href="style.css"/> </head> <h1> wellcome to all google services </h1> <body> in this site you could find links to all google services. <p>for now, this site is absolutely useless</p> <p>click on the gmail logo to move to gmail site</p> <a href="https://www.gmail.com"><img src="https://upload.wikimedia.org/wikipedia/commons/4/4e/Gmail_Icon.png"></a> </body> </html>
16th Dec 2018, 9:00 PM
‎‫Shlomo Strauss
‎‫Shlomo Strauss - avatar