Tell us what’s happening:
I’m getting an error message of “your html element should have a closing tag”. How is this wrong:
<!DOCTPE html>
<html lang="en">
It’s what we’ve used before and it’s what is all over the internet. The help function is not helping.
Your code so far
<!-- User Editable Region -->
<!DOCTYPE html><html lang="en">
<!-- User Editable Region -->
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0
Challenge Information:
Learn CSS Colors by Building a Set of Colored Markers - Step 1
ILM
June 10, 2024, 4:31pm
2
it’s wrong because it doesn’t have a closing tag
remember that most elements have an openign tag <elementName> and a closing tag </elementName>
1 Like
Ray13
June 10, 2024, 4:32pm
3
Hi there! What’s confusing? Every HTML document contain an opening <html> and a closing </html> tags.
You’re missing the closing one
That’s not helpful. You are repeating what the error message says. I’ve tried with the opening and it isn’t working. I’ve gone back to previous exercises and copied what is in there. I’ve tried so many different ways and I’m just getting error messages.
ILM
June 10, 2024, 4:34pm
5
you have the opening tag correctly, you don’t have the closing one
1 Like
Thanks, I worked it out by looking at the whole code again, and yes right at the bottom is the closing statement. AAAAGGGGHHHH
3 Likes
system
Closed
December 10, 2024, 4:35am
7
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.