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

Hi, sorry to bother you, but for some odd reason, I keep getting told that my html element does not have a closing tag, and I am pretty sure it does have one.
Describe your issue in detail here.

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

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

Link to the challenge:

Hello!

All HTML documents need a closing <html> tag as it signifies the end of the document for the browser.

A closing tag is similar to the opening tag and differs only in that a forward slash is precedes the tag name (e.g. ).

Does this help?
Keep up the good progress!

Happy Coding! :slightly_smiling_face:

Hello!

If you use a p element as an example of opening an closing tags that may help know why it is asking for a closing html tag. It is not a self closing element, unlike the input element which is self closing.

@ios-man has provided an opening tag example to provide guidance and a good hint on it.

Happy coding!

1 Like

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