Learn CSS Colors by Building a Set of Colored Markers - Step 1

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/ Safari/537.36 Edg/

Challenge Information:

Learn CSS Colors by Building a Set of Colored Markers - Step 1

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

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.

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