Help : The html tags should wrap around one h1 element

What am I doing wrong? Isn’t the html tag wrapping the h1 element?

It means the H1(header one) tag is a body tag, so it should be under a body tag.

You don’t have any head and body tag in your html tag/code.

Just place the h1 inside the body.

Simple:

<!DOCTYPE html>
<html>
<head>
<!--header stuffs goeas here, like styles, scripts, title, meta, ...-->
</head>
<body>
<!--body stuffs goes here, headers, text, images, etc...-->
<h1>Hello campionn</h1>
</body>
</html>

keep going on good work, happy coding.

1 Like

what’s wrong in my case. i have my heading tag in body

i got it. Thank you for helping me.

Thank you so much for code sample… its very simple task but I’m annoyed what to do.

I know the reply is extremely late but still, for anyone else out there stuck on the same problem in future, it’s the comment that is the problem, remove that and keep it simple. It will work!


Hope this helps someone!

Thank you , really helped a lot, l appreciate

1 Like