Can't View HTML scripts with my browsers

Discussion in 'Mac Basics and Help' started by Adudefelldown, Jul 24, 2009.

  1. Adudefelldown macrumors newbie

    Jul 24, 2009
    I just recently got a new Mac Book Pro and am trying to learning HTML. When I open up a HTML file that's located on my computer to view how it looks using firefox and safari it just shows the code. I have opened up the same files on my windows computer using Firefox and IE and they display correctly.

    I'm new to the Mac OS so I'm not sure if its a setting that I need to change or if I'm going about it incorrectly but any help would be much appreciated. I've also duel booted windows and I get the same results.
  2. HBOC macrumors 68020

    Oct 14, 2008
    hmm. that is weird. In safari in OS X, if you go to view, there is a tab that says view source, but all that does is open the html in another window.

    I don't know what to say... I haven't installed FF on my Mac yet. There has to be some plug in that is "on" or something...

    **Edit** i re-read your post. What are you using to write the html in? I use BBEdit. The files are saved as HTML? When i hit cmd-o and then select the file (in safari), it shows the page.
    But you are saying it will show the styling and such in FF on the windows side of things? ...
  3. miles01110 macrumors Core


    Jul 24, 2006
    The Ivory Tower (I'm not coming down)
    HTML files aren't called scripts.

    What program did you use to create the file? Does it have a .html extension? Did you save the file in plain text format?
  4. Adudefelldown thread starter macrumors newbie

    Jul 24, 2009
    It was in rich text not plain thats why it didnt work :eek:

    Thanks for the help!

Share This Page