This forum is now read-only. Please use our new forums at discuss.codecademy.com.

CSS: An Overview Forum

View Course » View Exercise

473 points
Picture
Submitted by
Nick Fallows
over 2 years ago

Ex 12/26 - Error Message

Hi I keep getting the error message that I haven't closed the link tag. As far as I can work out here is the HTML - any suggestions please..

I took out the main html tags so that I could copy paste the head and body.

<head>
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<title>Result</title>
</head>
<body>
    <h1>Change me to Verdana.</h1>
    <h3>Change me to Courier.</h3>
    <p>Make me purple!</p>
</body>

1 vote

permalink

stupid something, you need xml syntax for this exercise, here it is:

<link rel="stylesheet" type="text/css" href="stylesheet.css" />

xml needs a slash if the tag is self closing, you have seen it before:

<img src="#" />

it is not really mentioned in the exercises, i know, it sucks

2937 points
593d545c83696644420003b7_64554016
Submitted by
stetim94
over 2 years ago

2 Comments

Abb2dbeff26002e04c468bbaf1d82662?s=140&d=retro Mohammad Abbas about 2 years ago

Thanks Man! How Much I Owe Ya For IT? :p

593d545c83696644420003b7_64554016 stetim94 about 2 years ago

you own me nothing, good i could be of help


0 votes

permalink

Thanks for that - it was driving me crazy!
:-)

473 points
Picture
Submitted by
Nick Fallows
about 2 years ago

1 Comment

593d545c83696644420003b7_64554016 stetim94 about 2 years ago

you're welcome