Welcome to The Cave of Dragonflies forums, where the smallest bugs live alongside the strongest dragons.
Guests are not able to post messages or even read certain areas of the forums. Now, that's boring, don't you think? Registration, on the other hand, is simple, completely free of charge, and does not require you to give out any personal information at all. As soon as you register, you can take part in some of the happy fun things at the forums such as posting messages, voting in polls, sending private messages to people and being told that this is where we drink tea and eat cod.
Of course I'm not forcing you to do anything if you don't want to, but seriously, what have you got to lose? Five seconds of your life?
Um, he already described his problem. He has an HTML file on his computer; he's opening the file in Safari; and instead of it showing the rendered page, it shows the source code as if it were a text file. I'm not sure what else he should be including.
Anyway, I don't know much about Safari, but did you definitely save it with an HTML file extension, e.g. .htm or .html?
The filename was index.htmAnyway, I don't know much about Safari, but did you definitely save it with an HTML file extension, e.g. .htm or .html?
Yes, I am using a Mac.My friend took a web design class last year, and he noted the same problem on his Mac. I think he was using Firefox, but maybe not. Are you using a Mac?
As said above, the specific filename was index.htm. I made sure that it wouldn't make it a text document by choosing "HTML document" in the dropdown and unchecking the "Hide extension" box.Are you sure ".html" (or ".htm") is the actual extension and not just in the filename? In other words, if your file is site.html, are you sure it's not site.html.txt or something like that?
I'm using TextEdit.Which program are you using to write the HTML file?