I’m not sure why this error is keep happening even though I have a self closing tag for “link” element.
**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 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36
Challenge: Step 4
Link to the challenge:
I actually just answered this question else where!
Check this post:
Though it is not needed in your code, some of the lessons in the new course work require a slash at the end of self closing tags. For example:
<link attributes/>
^
It’s my understanding, based on another post I read, that this was not intended and there’s a fix being worked on for it. In the meantime though, your code looks correct, so I would try adding the slash.
2 Likes
Yeah , right! I think there is a bug in the server that’s why it is not taking the element as it is which is correct. In the meantime, I’ll try your solution ! I hope this works!
1 Like
Wow!!! It worked. Thank buddy.
1 Like
system
Closed
November 23, 2022, 2:58am
5
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.