Not sure what I am doing wrong? (Link me)

John <a href= "

I have lived all over the world.

I have lived in germany for 3 years.

I have lived and new york for 2 years.

Now I am living in Iowa for 7 years.

After I hit save & submit, the incorrect caption comes up, and said " Oops, try again. Make sure you’ve included at least two links!". Any suggestions?

Please paste in your code using this format

```

  replace this line with your code, leave backticks


```
<!DOCTYPE html>
<html>    </html>

<head>  </head>


<title> John </title>

<body>

<a href=
"<img src="http://www.maps-international.com/readonly/products_images/2000000605_1.JPG" />

<h1> I have lived all over the world. </h1>
</a>
<p> I have lived in germany for 3 years.</p>

<p> I have lived and new york for 2 years.
</p>
<p> Now I am living in Iowa for 7 years.</p>
</body>

hope this will help. I tried to copy and paste my code

<a href="http://mylink.com"> my link text or image can go here </a>
<img src="http://myimglink.png" />

See above example how to create a link and image… Apply it together

The root element is closed so technically, the rest is GIGO.

I tried that, and it said that i am not doing it right.
“Oops, try again. Make sure you’ve included at least two links!”
both the image and the head text are linked.

@pyace97287
Also look here…

You closed your html tags too early. Remember HTML elements are nested like this:

<!Doctype html>
<html>
     <head>
         <!-- Something in here -->
     </head>
     <body>
         <!-- Something in here -->
     </body>
</html>

In this case, it would not affect your website but it’s always important and useful to know this.

@miniapple8888 [quote=“miniapple8888, post:8, topic:31806”]
<!Doctype
[/quote]
It needs to be in uppercase DOCTYPE
<!DOCTYPE html>

@pyace97287 Paste Iin your latest code and we can see what needs to be corrected

@zainabrawat

HTML is not case sensitive toward <!doctype html>. More info

This is the reason why I said uppercase

Some of the HTML and CSS lessons checked using XHTML syntax that requires if you use DOCTYPE it should be in uppercase

Might not be case-sensitive, but if the regex used to validate the exercise can be case-sensitive