Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > How to edit HTML source code on a Mac, without an HTML editor?

How to edit HTML source code on a Mac, without an HTML editor?
Thread Tools
Eug
Clinically Insane
Join Date: Dec 2000
Location: Caught in a web of deceit.
Status: Offline
Reply With Quote
Sep 18, 2006, 11:14 AM
 
OK, this may seem like a stupid question, but how do I edit an HTML document on OS X without Dreamweaver or something?

I've got some very simple pages (including ones generated by Aperture or iPhoto, etc.) that I want to hand edit (just to make some very basic changes), but if I use TextEdit it tries to interpret the HTML. Even if I change the file suffix to .txt, it does the same thing.
     
Addicted to MacNN
Join Date: Nov 2002
Location: Seattle, WA
Status: Offline
Reply With Quote
Sep 18, 2006, 11:18 AM
 
vi?

I use BBedit. There's also simpletext in one of the developer sample app folders if you have the dev tools installed. Or you could view the source in Safari and copy it into a blank document (textedit? word?).

Yeah, I was ever so pissed at TextEdit when I learned what you just learned.
     
Addicted to MacNN
Join Date: Aug 2004
Location: FFM
Status: Offline
Reply With Quote
Sep 18, 2006, 11:28 AM
 
Originally Posted by Eug
if I use TextEdit it tries to interpret the HTML. Even if I change the file suffix to .txt, it does the same thing.
TextEdit: File→Open…→☒ Ignore rich text commands

If you do this regularly you can make this behaviour the default in the preferences.

There's no need to change the suffix.
     
Eug  (op)
Clinically Insane
Join Date: Dec 2000
Location: Caught in a web of deceit.
Status: Offline
Reply With Quote
Sep 18, 2006, 12:36 PM
 
Awesome, thx!
     
JKT
Professional Poster
Join Date: Jan 2002
Location: London, UK
Status: Offline
Reply With Quote
Sep 18, 2006, 02:15 PM
 
Download either TextWrangler or Smultron (both freeware text editors that will colour html tags etc to make them easier to work with).
     
Junior Member
Join Date: Dec 2005
Status: Offline
Reply With Quote
Sep 18, 2006, 02:49 PM
 
try Taco HTML edit. Very simple to use
     
Mac Elite
Join Date: Jul 2002
Status: Offline
Reply With Quote
Sep 18, 2006, 05:10 PM
 
TextMate
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 05:42 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2