Self-closing link element

Tell us what’s happening:
Describe your issue in detail here.
Hii,
Trying to submit the self-closing link element and it is continuing to tell me “your link element should be a self-closing element”. I am confused because to me this looks like a self-closing link element and I have compare it with the link elements I’ve entered on sublime text. Am I missing something? please help, thank you!

  **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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36

Challenge: Step 4

Link to the challenge:

Hint: There is some extra formatting required for link tags in XHTML that also seems to fix the issue here. It “shouldn’t” be required all of the time fot HTML, but it is good to know about for cases like this.

Ah, gotcha figured it out, thank you.

1 Like

Having the same issue as op, but apparently less creative lol. Any additional pointers?

Lol nvm xD I got it.

how did you solve the issue?

add / on the closing >

Include (/) at the end before closing the tag

Correct Syntax:

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