How Can I Edit HTML Files?

mcmike100

macrumors member
Original poster
Jan 31, 2005
93
0
When I open an HTML file in TextEdit it displays it as the actual webpage rather than the HTML commands. When I View Source in Firefox it shows the HTML but won't let me edit it.

Thanks
 

The Past

macrumors 6502
Aug 17, 2004
291
0
United States
You can do view source and copy into a text editor such as BBEdit or use an authoring program such as GoLive or Dreamweaver.
 
Comment

Espnetboy3

macrumors 6502
Feb 1, 2003
463
0
go to a view or preferences in text edit see if u can toggle back to the code. I love bbedit its great you should check it out.
 
Comment

TEG

macrumors 604
Jan 21, 2002
6,571
49
Langley, Washington
1) change the extension to .txt and open in Text Edit

2) Copy the source from Moz/Saf to Text Edit , make changes and resave

3) Use Unix Software like vi or emacs in the terminal to edit the file

TEG
 
Comment

eXan

macrumors 601
Jan 10, 2005
4,714
20
Russia
If you want to do some serious HTML-editing or to make you personal site, I would recomment Macromedia Dreamweaver
 
Comment

vocaro

macrumors regular
Mar 5, 2004
120
0
eXan said:
If you want to do some serious HTML-editing or to make you personal site, I would recomment Macromedia Dreamweaver
Dreamweaver costs an arm and a leg. I recommend the poster try out Mozilla Composer first. It's not as powerful as Dreamweaver, but it should handle what he needs done, and it's totally free.

http://www.mozilla.org/products/mozilla1.x/
 
Comment

andrewm

macrumors regular
Apr 2, 2004
132
3
Los Angeles, CA
No one mentioned...

SubEthaEdit ! Much cheaper than BBEdit (and free for non-commercial use), and has splendid syntax colouring, as well as an option for collaborative editing. Very handy for group projects. It even has full Unicode support, because it's Cocoa--which BBEdit (which used to be my editor of choice) does not.

Perhaps someday it'll have syntax checking, too.

Cheers!

[Edit: I just double-checked TextWrangler, and retract my statement about BBEdit's Unicode support--although that still seems like a minor issue.]
 
Comment

Stampyhead

macrumors 68020
Sep 3, 2004
2,294
30
London, UK
You could also try Macromedia Contribute. The latest version is about $130, but it has a great interface for people that want to create or edit web pages and don't know HTML. I recommend it to all my clients who want to manage their own sites and who don't want to pay for content management.
 
Comment

Sammie

macrumors newbie
Nov 4, 2004
19
0
Peawanuck, Ontario
I am assuming that you are using "text edit" as I had tis problem also when I started.

What i do is open text edit and under preferences, I click on "plain text" and under file --> open --> (make sure "ignore rich text commands is checked") and open the same file. Then you should be able to open the html code without having to buy expensive software which you dont really need. It only takes a week to learn html. If you wanna learn css...go to www.csszengarden.com and they have a premade css page thats downloadable and that there is what you need rather than html. Most people use html for structure today and css for making the page kewl.

Hope that helps
 
Comment

Similar threads

Register on MacRumors! This sidebar will go away, and you'll see fewer ads.