Learn Basic CSS by Building a Cafe Menu - Step 1

Tell us what’s happening:
Describe your issue in detail here.
You should have an opening <html> tag with a lang attribute of en .

Your code so far

lang="en"

not this one
You should have an opening <html> tag with a lang attribute of en .

okay so I tried this way

<html lang="en" not this way You should have an opening `` tag with a `lang` attribute of `en` .

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

The following is from : The HTML Document / Root element - HTML: HyperText Markup Language | MDN (mozilla.org)

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


I've done this project before and I don't remember getting this stuck here.

I appreciate any guidance.

```html

<!-- User Editable Region -->

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

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

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

Link to the challenge:

The attribute goes on the opening tag, not inside of the tags.

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

You should have an opening tag with a lang attribute of en.

Thank you for responding - I’ve tried a variety and looked at the MDN dictionary which is clear.

<!DOCTYPE html>
<html lang="en">
  <head>
    <!-- … -->
  </head>
  <body>
    <!-- … -->
  </body>
</html>

: The HTML Document / Root element - HTML: HyperText Markup Language | MDN (mozilla.org)

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