Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

Problem in Lesson 11 of level 1 .

I am learning HTML from your site but i got stuck on lesson 11 of level 1 which is asking for Hyperlink a picture. I have written the code but the compiler is not accepting the solution. I am enclosing my code below:
<!DOCTYPE html>
<html>
<head>
<title>
My Webpage Title
</title>
</head>
<body>

<a href = "/https://www.studytonight.com"; target = "_self">
<img src="/smiley.png" width="42" height="42" style="border:5px solid black"/></a>
<p><a href="https://studytonight.com/";>Visit studytonight.com!</a></p>
</body>
</html>
by

5 Answers

kshitijrana14
Try this one:

<!DOCTYPE html>
<html>
<head>
<title>
My Webpage Title
</title>
</head>
<body>
<a href="www.google.com"><img src="http://www.studytonight.com/css/resource/flat-ui-icon/startup-icon.png";></a>
</body>
</html>
sarveshkumar
Thanks for responding on the problem but the answer is not working.
toposwini
Wasimfzc2n
As i can see that, there have an extra '/' on your code.
remove the / before https: and run it again. i hope you get your result.
<a href="https://www.studytonight.com/";>
whoVijay23
Just Copy and Paste it work for me




<a href="www.google.com">
<img src="http://www.studytonight.com/css/resource/flat-ui-icon/startup-icon.png"; />
</a>
<p>This is an example sentence with a <a href="example-link.com">link</a> embedded in it.</p>

Login / Signup to Answer the Question.