The html tags should wrap around one h1 element. I have tried this way it's not working?

Tell us what’s happening:
Describe your issue in detail here.

Your code so far


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

Your browser information:

User Agent is: Mozilla/5.0 (Linux; U; Android 10; en-us; Redmi 7 Build/QKQ1.191008.001) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/79.0.3945.147 Mobile Safari/537.36 XiaoMi/MiuiBrowser/12.10.8-gn

Challenge: Declare the Doctype of an HTML Document

Link to the challenge:

Your h1 element is missing a closing tag.

I tried also giving closing tag but still showing that"The html tags should wrap around one h1 element."

Share your current code here.

Here is how to write code in the forum.

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor ( </> ) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

I don’t understand.

The closing tag of h1 element is </h1>
Right now you have like this </h>

1 Like

Now I’m feeling shy.
That’s a little mistake… how can i not noticed it. :no_mouth::neutral_face:
I’m Thankful to you. :heart:

No need to feel shy! We all make mistake :slight_smile:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.