Continuing <Link> error in Form Lesson

When submitting the link code below I get error messages (" Hint

Your link element should be a self-closing element.) despite it being identical (even copied) from a previous lesson. Researched online resources and systax seems to be correct. Am I mistaken?

  **Your code so far**
<!DOCTYPE html>
<Title>Registration Form</Title>
<link rel="stylesheet" type="text/css" 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/ Safari/537.36

Challenge: Step 4

Link to the challenge:

It’s currently a bug in the tests. You just need to add a forward slash at the end of the link tag. Although it is not technically required, the tests currently require it.

Also, while you can technically use capital letters in tag names (<Title>) nobody does this and you would get strange looks from people if you submitted this to a real project. Moral of the story, always use lowercase for html tags.

1 Like

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