Why is this wrong?


#1

Can someone tell me why this is wrong? It says I didn't close the link tag, but as u can see I did.


And I made sure everything else is right.


#2

delete ; in link tag


#3

you need to use xml syntax here, you need to close the link tag with a slash:

href="stylesheet.css" />

and chernysheff is right, remove the semi-colons, attributes (link, type, href) are separated by spaces only.


#4

The other two are completely correct. Here's what it should look like:

<link rel="stylesheet" type="text/css" href="stylesheet.css" />
                       ^                                     ^
      Type not needed in HTML5, is on Codecademy        Self closing

#5

Oh ok thanks guys! I'm new to this so I wasn't quite sure. :slightly_smiling: