Link element not self-closing

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

  **Your code so far**

<!DOCTYPE html>
  <title>Registration Form</title>
  <link rel="stylesheet" type="text/css" href="styles.css">

The system is telling me that my “link” element is not closed. I can’t find the problem, it works fine in Intellij.

  **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:


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

You need to finish the “link” element with “/>”

1 Like