The eror is that , my link is not a self-closing tag .(

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
<!DOCTYPE html>
<html>
<head>
<title>Registration Form</title>
<linktype="text/css" href="styles.css" rel="stylesheet">   
</head>
<body>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36

Challenge: Step 4

Link to the challenge:

Your code

<linktype="text/css" href="styles.css" rel="stylesheet">  

You didn’t gave the space between link an d type . And its not necessary to add closing tag in the head tag for link and meta tags, as there no nested text inside these tags, but you can still add self closing tags like this

Solution:

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

thx a lot , I lost a lot of time thinking about that , and founding a solution to fix it .