How do I close my link because it doesnt let me


#1

<!DOCTYPE html>
<html>
	<head>
		<a href="stylesheet.css">link</a>
		<link> <type="text/css">  <rel="stylesheet"> </link>
		
		<title>Result</title>:slight_smile:
	</head>
	<body>
	<p style="font-family:Verdana">Change me to Verdana.</p>
    <p style=" font-family:Courier">Change me to Courier.</h3>
		<p style=color:purple>Make me purple!</p>
	</body>
</html>

#2

remove this:

<a href="stylesheet.css">link</a>

you link is a bit faulty, <link> is a element with 3 attributes:

<link type="" rel="" href="" />

and you need a slash at the end (self closing), it is xml syntax, normally i wouldn't use it


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.