Why is this wrong?


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.


delete ; in link tag


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.


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


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