Build a Recipe Page - Build a Recipe Page

Tell us what’s happening:

Not sure why this is throwing the following errors. I’ve put it through a validator numerous times and that says its fine.
Errors:
2: You should have an html element with lang set to en (I do??)
3: You should have a head element within the html element.
8: You should have a body element within the html element.

Your code so far

<!DOCTYPE html>
<html lang="en"> 
  <head>
  <meta charset="UTF-8">
  <title>Cherry Cobbler Recipe</title>
  </head> 
  <body>
  <h1>Cherry Cobbler</h1>
  <p>Recipe introduction</p>
  <img src="https://cdn.freecodecamp.org/curriculum/labs/recipe.jpg" alt="Cooking ingredients.">
  <h2>Ingredients</h2>
  <ul>
    <li>1/2 Pound of cherries</li>
    <li>1 tblsp lemon juice</li>
    <li>1 cup brown sugar</li>
    <li>4 tblsp flour</li>
    <li>1 cup oats</li>
    <li>2 cups flour</li>
    <li>1 cup brown sugar</li>
    </ul>
<h2>Instructions</h2>
  <ol>
    <li>Combine filling ingredients in a bowl</li>
    <li>In a seperate dish, combine topping ingredients</li>
    <li>Cover filling with topping</li>
    <li>Bake at 375F for 45-55 minutes</li>
  </ol>

Your browser information:

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

Challenge Information:

Build a Recipe Page - Build a Recipe Page

Welcome to the forum @ForeverIcky

Where are the closing html and body tags?

Happy coding

Since the closing html and body tags were not called out by the W3C Markup Validation Service, I created an issue for this.

where did you create the issue?

https://github.com/validator/validator/issues

UPDATE: This issue was closed as not planned because the HTML spec says the html and body closing tags are optional.