Title and Stylesheet link in head not passing

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

The task is to add a title of “Registration Form” and link the stylesheet in the head. My code is not passing and it’s giving me a hint saying link tags are self closing. I am using a self closing tag yet I am not passing.

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

Challenge: Step 4

Link to the challenge:

The test for this challenges is a bit too strict. It is expecting a / right before the closing >

1 Like

That worked, thank you!

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