You need a closing html tag. Most elements require both an opening and closing tag, and you have the opening html tag correct <html> but now you want to close it at the bottom. To close an element tag you will do the same thing with one addition </element>
it will look like that, but element is not what you are going to use. Element will be whatever element you are trying to close
how’s that supposed to look? as <html> lang=“en” </html> doesnt work either? I also thought this element was self closing? There was no issue with it being self closing while learning HTML so i don’t get why it’s a problem in step 1 of this.
the challenge automatically gives you a closing html tag at the bottom. You can reset the lesson to get it back, or make sure its at the bottom of your code.
You can still share the latest code by using the format button </> and pasting in all your code between the lines
yeah, i know but i was told on the FCC html youtube course it was a self closing element so i’m really confused and I’ve tried many other ways! I’m very confused and i can’t find an answer anywhere to even learn
like i said before, i’ve even tried <html> lang=“en” </html> which doesnt even make any sense
They may have misspoke, or perhaps were not clear with what they were saying. In this article I can link you will see the html has a closing tag. Here is a quote from the article
" The <html> element is the root element and it defines the whole HTML document.
It has a start tag <html> and an end tag </html>."
That is not the same as whats in the articles. Your closing is correct, but the lang in your post is not correct. The article also has a closing tag, but what needs to be looked at is where the lang is positioned in the article compared to your last post
Again I still do not see a closing html tag. if you were to add the </html> does it give you an error? Can you post the code after you added the closing tag