Viewing HTML

Discussion in 'Mac Basics and Help' started by indierthanthou, Jan 31, 2008.

  1. indierthanthou macrumors member

    Joined:
    Nov 14, 2007
    #1
    Whenever I write HTML in textedit, save it as HTML, and view it with firefox or any other web browser, it just shows the code, not the site that I made. How do I make it show what I made, not just the source?
     
  2. zblaxberg Guest

    zblaxberg

    Joined:
    Jan 22, 2007
  3. indierthanthou thread starter macrumors member

    Joined:
    Nov 14, 2007
    #3
    <html>
    <head>
    <title>Title of page</title>
    </head>
    <body>
    This is my first homepage. <b>This text is bold</b>
    </body>
    </html>

    Even with a basic code like this, all it shows is the code, not the actual site.
     
  4. clevin macrumors G3

    clevin

    Joined:
    Aug 6, 2006
    #4
    strange, it looks fine here in firefox.

    you save it as *.html file, right?
     

    Attached Files:

  5. indierthanthou thread starter macrumors member

    Joined:
    Nov 14, 2007
  6. Nermal Moderator

    Nermal

    Staff Member

    Joined:
    Dec 7, 2002
    Location:
    New Zealand
    #6
    Don't save it as HTML, or TextEdit will write HTML that looks like what you wrote (OK, I didn't explain that very well). Save as plain text with a .html extension.
     
  7. clevin macrumors G3

    clevin

    Joined:
    Aug 6, 2006
  8. indierthanthou thread starter macrumors member

    Joined:
    Nov 14, 2007
    #8
    When I try that, it won't let me save it as .html at the end. It gives me the option to use both. *.html.rtf
     
  9. indierthanthou thread starter macrumors member

    Joined:
    Nov 14, 2007
    #9
    It's possible. But when I did it with word, it wouldnt work either.

    EDIT: Figured it out. go to Format>make plain text
     

Share This Page