How to create a <body>

whats wrong with this" "?
Your body element should come after your head element.

<head>
    <body>
      </body>     
    <meta charset="utf-8" />    
    <title>Cafe Menu</title>    
  </head>

Your code so far


<!DOCTYPE html>
<html>
<head>
  <body>
    </body>     
  <meta charset="utf-8" />    
  <title>Cafe Menu</title>    
</head>
<html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36

Challenge: Step 4

Link to the challenge:

When it says “should come after the head element” it means “after the closed section”

so like:

<head>
  <meta charset="utf-8">
  <title>What A Raccoon :0</title>
</head>
<!-- Body goes here -->
<body>
</body>

Does that make sense?

3 Likes

Thanks that helps a lot.

1 Like

I’m glad!

What you did was nest it inside of <head>. It’s an entirely understandable mistake but yee that’s the issue

glad i could help!

EDIT: Made body visible (apparently it eats tags outside of code segments lol)

1 Like

HTML code without ` or </> symbol will be treated as regular code and rendered on the page. So, it will be hidden.