Link element not working properly

Tell us what’s happening:
Describe your issue in detail here.
I feel like I have the title and link element listed properly, but I keep getting an error saying my link element needs to be self closing, but it is.

  **Your code so far**
<!DOCTYPE html>
<html>
<head>
  <title>Registration Form</title>
  <link rel="stylesheet" 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/103.0.0.0 Safari/537.36

Challenge: Step 4

Link to the challenge:

To make an element self-closing you just need to add a backslash inside the link at the end<link ................... />

1 Like

Wow, that worked. i have never used the backslash for that element and its worked a million times. W3schools makes no mention of that. Thanks so much!

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