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


#1



"

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?


#2

Please paste in your code using this format

```

  replace this line with your code, leave backticks


```

#3

<!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


#5

<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


#6

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


#7

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.


#8

@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.


#9

@miniapple8888

It needs to be in uppercase DOCTYPE
<!DOCTYPE html>

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


#10

@zainabrawat

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


#11

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


#12

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