Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

LoneWolf121188

macrumors 6502a
Original poster
Jun 7, 2007
664
0
Longmont, CO
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.
 
  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!
 
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.
 
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
 
For textedit, go to preferences, then the "open and save" tab and check "ignore rich text commands in html files"
 
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. :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.