Nesting a self closing link

im trying to nest a self-closing link in the head element but it keeps on putting the head closing tag as part of the link element and i cant go through because it takes the head closing tag as its own…
Describe your issue in detail here.

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

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:101.0) Gecko/20100101 Firefox/101.0

Challenge: Step 4

Link to the challenge:

HI @SIJJ !

Welcome to the forum!

You are missing the > for your link here

But also, there is a known bug for this lesson because the test expects you to use a / in the link element

<link />

To pass the test you need to use the forward slash.
But this is just a bug in the test.

Both of these options are valid html

<link>
<link/>

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