Is this correct code for head and body tag?

Tell us what’s happening:

Your code so far

<!DOCTYPE html>
 <title>The best page ever</title>

 <h1>The best page ever</h1>
 <p>Edit the markup so there's a head and a body. The head element should only include the title, and the body element should only include the h1 and p.</p>  



Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3237.0 Safari/537.36.

Challenge: Define the Head and Body of an HTML Document

Link to the challenge:

1 Like

Hey @Sofia797!
Welcome to the Forum!

Your code runs for me.


  • Restarting your browser
  • Disabling extentions like dark theme.
  • Try other browser
1 Like