Text Edit Problems (Previewing HTML In Browser)

Joined
Jun 21, 2006
Messages
15
Reaction score
0
Points
1
I made the switch from Windows to a Mac a few days ago with the purchase of my Macbook. I absolutely love OS X so far; its sooo easy to use/learn and it is a great improvement on Windows.

I am however having one problem that I am hoping you guys could help me out with...

So I am trying to use Text Edit for Mac OS X to create a webpage. I saved a little test bit of code as test.html and tried to open it up in safari/firefox however it is showing the actual code. Just in case you are wondering here is the code:

Code:
<html>
<body>

Welcome to my Web page 

</body>
</html>
 
Joined
Sep 21, 2005
Messages
809
Reaction score
111
Points
43
Location
ohio
Your Mac's Specs
iBook G4 OSX Tiger
i think you have to change it from rich text to plain text, or something like that i cant remember. i use text wrangler for html instead of text edit, i like it a lot better
 
Joined
Feb 2, 2004
Messages
12,455
Reaction score
604
Points
113
Location
PA
Your Mac's Specs
MacBook
It works fine for me.
Just be sure to uncheck the "if no extension is provided..." box when saving it and be sure to save it with the .html extension.

Picture 2.png

Picture 1.png
 
Joined
Mar 9, 2004
Messages
9,065
Reaction score
331
Points
83
Location
Munich
Your Mac's Specs
Aluminium Macbook 2.4 Ghz 4GB RAM, SSD 24" Samsung Display, iPhone 4, iPad 2
Personally, I'd just use SubEthaEdit (www.codingmonkeys.de): It has a live webpage preview, has correct syntax markup and is really nice and fast.

It is also free for non-commercial use.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top