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
4 ответов
+ 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>
+ 2
Please post your code here...
+ 1
tnx bro!
have a good night/day whatever..
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>