What app will let me edit a .html file in HTML?

Discussion in 'macOS' started by LoneWolf121188, Aug 27, 2008.

  1. LoneWolf121188 macrumors 6502a

    Joined:
    Jun 7, 2007
    Location:
    Longmont, CO
    #1
    In Windows, you can open up any .html file in notepad and you'll see the HTML code. What app on the mac can do that? I tried TextEdit, but it brought up a rich text page (links were actually blue, underlined links instead of <a href=> ). Word does the same. I know you can do Apple-U in Firefox to "View Page Source", but that won't let you edit it.
     
  2. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #2
    1. In Safari: View > View Source
    2. In the window that pops up, Command-A to select all, Command-C to copy
    3. Open TextEdit: Command-V to paste
    4. Now edit all you want!
     
  3. r0k macrumors 68040

    r0k

    Joined:
    Mar 3, 2008
    Location:
    Detroit
  4. iShater macrumors 604

    iShater

    Joined:
    Aug 13, 2002
    Location:
    Chicagoland
    #4
    I think textedit does allow you to see the file, try opening it from inside the application as a text file.

    I personally use TextWrangler.
     
  5. epochblue macrumors 68000

    epochblue

    Joined:
    Aug 12, 2005
    Location:
    Nashville, TN
    #7
    Free apps that do this:
    • TextEdit (just make sure it's in Plain Text mode)
    • Smultron
    • TextWrangler

    There are, of course, a mountain of other apps that'll do this, but Smultron and TextWrangler are my favorite of the free options.

    My 2 favorite shareware apps that'll do this:
    • TextMate
    • SubEthaEdit
     
  6. photo-video macrumors member

    Joined:
    Aug 24, 2004
  7. jc1350 macrumors 6502a

    Joined:
    Feb 4, 2008
    #9
    For textedit, go to preferences, then the "open and save" tab and check "ignore rich text commands in html files"
     
  8. NeoMayhem macrumors 6502a

    Joined:
    Aug 22, 2003
    #10
    One of the menus in TextEdit will let you convert to plain text, that is what you want.
     
  9. MrSmith macrumors 68040

    MrSmith

    Joined:
    Nov 27, 2003
    #11
    I'm no pro so this may be a silly thing to say, but I love being able to open the html files at the server with TextWrangler...which of course you can't do in TextEdit. :)
     
  10. apfhex macrumors 68030

    apfhex

    Joined:
    Aug 8, 2006
    Location:
    Northern California
    #12
    ^ Do this. :)

    I like the "Edit in external editor" function from FTP software. I use CyberDuck and SubEthaEdit together like this.
     
  11. LoneWolf121188 thread starter macrumors 6502a

    Joined:
    Jun 7, 2007
    Location:
    Longmont, CO
    #13
    Thanks guys. I got Smultron and its working great.
     

Share This Page