Declare DOCTYPE of a html document

Tell us what’s happening:
my code isn’t running it displaying “the html tag should wrap around one h1 element”

Your code so far


<!DOCTYPE html>
<html>
<head>
    <title> response of India on COVID19 </title></head>
    <body>
        <h1>
            response of India on COVID-19</h1>
            <p> after the largest single day increase in the number of COVID-19 cases in India, it has never been clearer that the pandemic is upon us and the next few weeks are going to throw up a scenario that many stil find hard to imagine. From the data we have, here's a look at the near future, and what the Narendra Modi needs to do. </p>
        </body>
 </html> 

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/80.0.3987.87 Chrome/80.0.3987.87 Safari/537.36.

Challenge: Declare the Doctype of an HTML Document

Link to the challenge:

what’s your question?

i 'm unable to determine why my code isn’t running
it is displying “html tag should be wrapped around one h1 tag” i already did it

you added too much stuff
write just what’s required

Add a DOCTYPE tag for HTML5 to the top of the blank HTML document in the code editor. Under it, add opening and closing html tags, which wrap around an h1 element. The heading can include any text.

okay
now i can understand a little

but still code isn’t running

hi,
you should stick strictly to the task. Any code too much may result in failing the test. :slight_smile:

have you done any changes? the code you posted above don’t pass because you added to much stuff