Tell us what’s happening:
It wanted me to add a body element and I tried to but it’s saying that I did it wrong. How do I do it correctly?
Thanks!
**Your code so far**
<!DOCTYPE html>
<html>
<head>
<body>
<meta charset="utf-8" />
<title>Cafe Menu</title>
</body>
</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.64 Safari/537.36
Challenge: Step 4
Link to the challenge:
1 Like
An element includes both its opening and closing tags. So when the instructions say to add one element “below” another element, it means below the entire element, which includes both the opening and closing tags. You have added body
inside the head
.
Hi @hanna032
Read this:
HTML (HyperText Markup Language) is the code that is used to structure a web page and its content. For example, content could be structured within a set of paragraphs, a list of bulleted points, or using images and data tables. As the title suggests,...
I think you will understand after. Like a human HTML documents has a head and a body.
Happy coding
1 Like
system
Closed
November 30, 2022, 5:13am
4
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.