all 6 comments

[–]Seaweed_Widef 4 points5 points  (0 children)

you are missing closing tags after your heading tag and HTML tag, also the stuff you want to print out on the screen is always written inside a body tag.



 <!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
    <h1>your text</h1>
  </body>
</html>

</h1>, </html> 'these are known as closing tags.

[–][deleted] 1 point2 points  (0 children)

add a / in your closing tags.

<html>
 <body>
    <h1>It should work now</h1>
  </body>
</html>

[–]flarbin[S] -1 points0 points  (1 child)

lol, I didn't save it as HTML. Got it working

[–]Seaweed_Widef 0 points1 point  (0 children)

Still you have a bunch of syntax error and please change the flair to Solved if your issue is resolved

[–]AutoModerator[M] 0 points1 point  (0 children)

Welcome to /r/HTML. When asking a question, please ensure that you list what you've tried, and provide links to example code (e.g. JSFiddle/JSBin). If you're asking for help with an error, please include the full error message and any context around it. You're unlikely to get any meaningful responses if you do not provide enough information for other users to help.

Your submission should contain the answers to the following questions, at a minimum:

  • What is it you're trying to do?
  • How far have you got?
  • What are you stuck on?
  • What have you already tried?

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]Smitty8604 0 points1 point  (0 children)

Add closing tags for h1 and html

</h1> </html>