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?

Hi,

Below is my code and it is not displaying the

Kyle

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

Please can you assist?

Head

Kyle

@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>
  <html>
    <head>
      <title>
        <body>
          <h1>Steve Shinners</h1>
        </body>
      </title>
    </head>
  </html>    

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 is my website
this is my website
this is my website

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>
<html>
    <head>
        <title>Pig party</title>
    </head>
    <body>

     <h1>Headers are awesome</h1>

    </body>
</html>

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>
  <html>
    <head>
      <title>Title</title>
    </head>
    <body>
1 Like

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

No problem, I’m happy to help!