Trying to see local HTML files on Browser

wintak

Registered
I'm new to a Mac and although I love the mac, I'm having a few issues that I simply can't figure out.

I'm trying to create a website locally that eventually I'll FTP to a live site. On the Mac I am using Safari and Firefox. When I bring up the .html file all I see is the code in those browsers.

That same code on my pc brings up the website in Safari, Firefox or IE so it's not the code.

I'm seeing things about a local server but don't know if that applies to me or not.

In the address bar of the browser it says file:///Users/myusername/Documents/Website/TestSite.html

where myusername is my actual User Name.

I've also now checked web sharing and followed the directions on viewing webpages you put in your Sites folder (which is where I have overwritten the index.html file that came with the Mac) and now that doesn't work either.

I'm getting a little frustrated.

I'm sure this is a low level question, but I've never used a mac before so this is all new to me.

Thanks
Amy
 
If you want to test local Machine web pages put them into /YouHardDrive/Users/YourUserName/Sites/.
 
I've done that. To no avail. I've got one named index.html and one named TestSite.html and neither work. NOW, my test site (which should just say "Hello World") is completely black (the TestSite.html) and the index.html still just shows the code, not what it's supposed to look like.

I'm sure this is so low level that I'm missing something so small and that's why it's not working.

Amy
 
Amy, found it. Guessing you were using the Mac's TextEdit app, you'll need to go to the Format menu and click on "Make Plain Text".

Dan
 
KMPPEZ...omg..thanks so much. I hadn't figured it out. I just tried it with your suggestion ..it worked. Thanks so much

Amy
 
Back
Top