Why is my html code not working?

  • Thread starter Thread starter Takumoto
  • Start date Start date
T

Takumoto

Guest
I wanted to try using notepad ++ so I typed Something simple:
<html>
<head>
<title> Moving on </title>
</head>
<body bgcolor="green">
<br> Throw your hands in the air.
</body>
</html>

When i open it in IE or Firefox It comes up as a black screen,plain white. Is it my code,browser,or notepad++.
 
I cut and pasted your exact code into notepad++ and it worked perfectly. You can see it at https://www.rockitrigs.com/temp.htm . Once you are there, you can right click and view source to make sure it is your code.

I think you might not have given it a file extension. You need to specify it as either .htm or .html for it to display properly. Good luck!
 
Back
Top