Learn Basic CSS by Building a Cafe Menu - Step 1

Hi, I am not quite sure what I am doing wrong regarding the html element with a lang attribute of en but it keeps saying the below code is wrong and I get this hint:

You should have a closing <html> tag. Remember that closing tags have a / following the opening < bracket.

But when I try <html lang=“en”
or

<html lang="en"</html it also says it is wrong. What is the correct format?

Your code so far

<!DOCTYPE html>
<html lang="en">

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15

Challenge: Learn Basic CSS by Building a Cafe Menu - Step 1

Link to the challenge:

<html lang="en">
</html>

html element is not self closing ,you should end the element with closing tag.

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