HTML Form building

In step number 4, it tells me to add a title and nest a link for the css file to the code, but after nesting it and checking the code mutiple time, it keep on saying that that the link code or element is a self-closing element. Im quite stuck on this step, can anyone provide me with hints to show why im wrong or stuck please.

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

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.114 Safari/537.36

Challenge: Step 4

Link to the challenge:

A self-closing link is one that has the " / " character before the closing matching symbol. So in this example, this would look like:
<link rel="stylesheet" href="../path_to_styles.css" />

Just to clarify, technically, HTML does not require a forward slash at the end of a self-closing tag, but there is currently a bug in this test that does require it. This bug should hopefully be fixed soon.

Oh, oke thanks for the clarification

Thank for the help mate :smiley:

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