HTML file opens as plain text in Safari?

  • Thread starter Thread starter 9603048
  • Start date Start date
9

9603048

Guest
I'm running 10.5.8 Mac OS X software on my computer. When I create a file in TextEdit and save it at an HTML file and open it in Safari, it opens as just a plain text file, not even recognizing it as an HTML file. I am 100% sure that it is saved as an HTML (instead of Name.html.txt) file because I checked the properties of the file, and also tried other text editors. I also tried in Mozilla Firefox, and the same thing happened. I also tried saving it as an .htm file, but still no luck. How can I get it to run?? Please help.
Here's the code. Very simple program, I don't see any problem with it.

<html>
<body bgcolor="red">

test
</body>

</html>
 
In the drop down menu make sure it says all files instead of .txt. If you've done this, then I haven't the slightest clue what's going on, never had this happen before.

-Billy
 
Back
Top