Why my link tag not working its saying that your link element should be a self closing element

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

  **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/102.0.5005.63 Safari/537.36

Challenge: Step 4

Link to the challenge:

Hi, some elements need to close, for example < h1 > < / h1 >
But some elements are self closing, so they close with only one tag, for example
But sometimes, to be honest, I’m not sure why, some self closing elements need to be written with a / (dash). For example < br / >. So make sure your link elements is written within < ____/ >

1 Like