This forum is now read-only. Please use our new forums! Go to forums

banner
Close banner
0 points
Submitted by Nick Fallows
over 8 years

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>

Answer 55cf0e7a9113cb2ddc000556

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

points
Submitted by stetim94
over 8 years

2 comments

Mohammad Abbas over 8 years

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

stetim94 over 8 years

you own me nothing, good i could be of help

Answer 55e043a586f55269e60005c7

0 votes

Permalink

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

points
Submitted by Nick Fallows
over 8 years

1 comments

stetim94 over 8 years

you’re welcome