Why doesnt my header <h1> </h1> work


No matter what I do nothing happens. Its been two days now and it still wont work


Would you mind posting your code so that I can see what's wrong?



Below is my code and it is not displaying the


as instructed.
Clearly I am doing something wrong but not sure what.

Please can you assist?



@kylelmkem_co_za and @bencard, you need to highlight all of your code in the editor, then click the </> button in the formatting bar so we can see it.


I've got the same problem. Such a simple task, and it's got me stumped.

The instruction is:

Create an <h1> tag inside your body tags. Between your opening <h1> and closing </h1> tags, type your name for all to see!

This is my code:

<!DOCTYPE html>
          <h1>Steve Shinners</h1>

I'm getting this error message:

Oops, try again. Make sure you put in <h1></h1> tags between your <body></body> tags.

I think I've been staring at it too long to work out. Can anyone please help? Thanks


This code works



This worked for me


Hi chipace72456, do you mean that the code I posted works for you, or have you posted code that works, that I can't see?

Thanks for clarifying.


has anyone been able to fine a solution for this yet?


Hey guys!

Here's my working code:

<!DOCTYPE html>
        <title>Pig party</title>

     <h1>Headers are awesome</h1>


And if you ever want to post code, but don't know how, visit my post on how to make code visible, and don't forget to share the topic!


Your </title> and </head> are in the wrong place, they should be positioned above the body, like so:

<!DOCTYPE html>


Thanks! I knew it would be obvious when someone pointed out the solution to me.


No problem, I'm happy to help!