html code editor

KyleC

macrumors member
Original poster
Oct 9, 2004
82
0
Dallas, Texas
Can anyone recommend a HTML editor for osx? I am taking a basic html class and I want to use a program other than textedit. One that will highlight my code nicely.

Thanks!
 

mrgreen4242

macrumors 601
Feb 10, 2004
4,355
1
KyleC said:
Can anyone recommend a HTML editor for osx? I am taking a basic html class and I want to use a program other than textedit. One that will highlight my code nicely.

Thanks!
Taco HTML Edit is excellent.
 

tag

macrumors 6502a
Apr 29, 2005
918
9
A free alternative to BBedit if you don't want to spend the cash(Free for private use, Commercial use is like 35$) is SubEthaEdit. Has syntax style hilighting which you can custom configure for different strings. Plus not only does it have pre set highlights for HTML it also does for just about any programming language available, and if it's not you can always add your own sets.

Plus it lets you see your progess in realtime via a preview pane which shows your results as you type your HTML.
 

Mitthrawnuruodo

Moderator emeritus
Mar 10, 2004
13,816
185
Bergen, Norway
I think maybe TextWrangler is a bit better BBEdit substitute than SubEthaEdit, since that's made by the same company as BBEdit, as a freeware version of BBEdit. (Edit: Just to be clear SubEthaEdit is also a very nice text editor, and I have and use both... :))

Also Taco HTML edit has been mentioned. Quite nice and free program, which even let you preview php natively, without going through Apache. :cool:

For a bit more powerful tool, but still free, check out NVU. It's basically a free version of Dreamweaver...
 

TDM21

macrumors 6502a
Jul 7, 2004
789
0
Got to give a vote to Taco HTML Edit. I used it when I took my JavaScript class. Very fast and easy to use.
 

dyplea26

macrumors newbie
Aug 29, 2005
1
0
HTML just begun writing code using Textedit on a G5.
Code seems correct - however the actual code displays in every browser I use [Firefox, Safari, IE].

What am I doing wrong?
Code:

<html>
<head>
<title>AldenBerndsen Web Page</title>
</head>
<body>
The AldenBerndsen Home Page.<br>
First attempt.<hr>
<p>Wow!<hr>
Weow!<br>
</body>
</html>
Thanks
 

Linkjeniero

macrumors 6502
Jan 6, 2005
255
0
vim. It's simple yet powerful. (it runs on the terminal)

I tried your code and it shows correctly (although you are missing a </p>). Maybe the problem is the text editor... try saving it in something else (you can try pico, also in the terminal. But vim is much better...)
 

iMeowbot

macrumors G3
Aug 30, 2003
8,634
0
dyplea26 said:
HTML just begun writing code using Textedit on a G5.
Code seems correct - however the actual code displays in every browser I use [Firefox, Safari, IE].

What am I doing wrong?
If you are using TextEdit and created a new file, make sure that before you save you pick "Make plain text" from the Format menu. Also, when you save the file, use .html or .htm as your extension, browsers prefer that for local files.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.