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

cacawac

macrumors newbie
Original poster
Feb 22, 2008
2
0
i am brand new to this mac world. i bought my mac yesterday and decided to create a new website and i'm following basic tutorials to do so. these tutorials are written for microsoft notebook, so i'm using textedit instead (is this right?). here is the basic code i've put into textedit, saved it as a .html file, then when i open it in the browser it just appears as the text below. what am i doing wrong?!

<html>

<head>
<title>my first website </title>
</head>

<body>
<p>This is my first website. </p>
</body>

</html>

any advice would be appreciated!
 
it's because it's saving it as an rtf file (it doesn't seem like that though). Download textwrangler (it's free) and try it in there. It's designed for hand coding websites. BTW: the tutorial you are using isn't very good if it's not telling you to use a doctype or anything. search for an xhtml and css tutorial if you want to know how to code websites properly.
 
in text edit goto the format menu then click "make plain text" then try it...
That will work, but I agree with the above poster. Text Edit isnt the best app to use.
 
you could use iWeb, it will do it all for you!

But if you really want to get into web development your starting where I did 10 years ago, now I'm a web developer for an international company.
 
no problem. but i strongly suggest you take my suggestion of learning XHTML and CSS. It's a lot easier to start learning that than having to convert over from plain table based html
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.