It says that my link element isn't self closing, even though it is?

Tell us what’s happening:
I’ve written the code how it says but when I check it says that my link element should be self closing even though it is. I haven’t added any closing tags or anything and I don’t think I have a typo so I don’t know what’s going on.

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

Challenge: Step 4

Link to the challenge:

Never mind y’all, I fugured it out. It should’ve been <link …/> instead of <link …>

1 Like

What was the solve? I can’t see it in your response, but I am having the same issue at the moment.

<!-- Self-closing tag examples -->

<link rel="#" type="#" href="#" />
<img src="#" alt="#" />
<hr />
<br />

<!-- Remember to add a forward slash at the end of your self closing tag -->

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