I have been making webpages for a while, though I am no pro. I recently got a new MBP and decided today to try making a web page (to try out some php that I started learning ~5minutes ago). I could not figure out how to add php to my pages created in iWeb (though i still love the program). I decided to go back to basics with just TextEdit (which is presume is the mac variant of 'notepad'). When i create my file in Text edit that looks as follows
-----
<html>
<body>
Hi
</body>
</html>
------
and save that file as firstpage.html . I get and error (atleast what i think to be an error) when I open the file "firstpage.html" with both safari and firefox. The un expected event is both safari and firefox displaying the file as:
------
<html>
<body>
Hi
</body>
</html>
------
and not:
-------
Hi
-------
Is there something I am missing here? or not doing correctly?
Thanks!
P.S.
-Sorry if I am posting this in the wrong forum. I thought this was a bit to "basic" to be posted in the forum for web design and development.
-----
<html>
<body>
Hi
</body>
</html>
------
and save that file as firstpage.html . I get and error (atleast what i think to be an error) when I open the file "firstpage.html" with both safari and firefox. The un expected event is both safari and firefox displaying the file as:
------
<html>
<body>
Hi
</body>
</html>
------
and not:
-------
Hi
-------
Is there something I am missing here? or not doing correctly?
Thanks!
P.S.
-Sorry if I am posting this in the wrong forum. I thought this was a bit to "basic" to be posted in the forum for web design and development.