Html tags wrap around h1

Tell us what’s happening:
Its saying “The HTML tags should wrap around one element”

Your code so far



<!DOCTYPE html>
<html> 
<head>
    <title>sample</title>
</head>
<Body>
    <h1>sample</h1>
    <p>sample</p>
    <!--yoooo-->
</Body>
<html/>

Your browser information:

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

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/declare-the-doctype-of-an-html-document

You were too ambitious. All it wants is html tags around a single h1 element:
<html>
<h1></h1>
</html>

It looks like you have a typo on the closing html tag:

You’ve written <html/>
Whereas it should be </html>

Hope that helps fix the problem!

Try this code it works:

<!DOCTYPE html>
<html>
<h1>Hi</h1>
</html>