I started to learn HTML, and I'm using text edit and everything is going fine, when I save the file with a .html extension and open it with safari I only view the code and not the webpage that was supposed to be created.

I started to learn HTML, and I'm using text edit and everything is going fine, when I save the file with a .html extension and open it with safari I only view the code and not the webpage that was supposed to be created.

That is because you don't have a web server configured and running to serve the html page. In order to see the page in a browser you need to access it using a url similar to http://localhost/~yourUserName if you are serving the page from your user account.
Prior to Mountain Lion you could go into web sharing and turn on the web server. With Mountain Lion there is no option, other than using terminal, to turn on the web server. The web sharing menu item has been removed in Mountain Lion. Apache is still on your computer but it will take a little searching these forums or the Internet to find how to turn it on.
If you want a graphic user interface to turn on/off the Apache server you could download and install a server application like xampp, http://www.apachefriends.org/en/xampp.html. I use this and it works well.

Similar Messages

Maybe you are looking for

  • Flat file format - importing vs typing it out

    Hi.  I've heard there is a way to import the format (rather that typing it out in connection mgr) of a fixed width flat file.  What r the general steps or where is there a set of instructions online?  I generally have a txt doc with column names (lot

  • Setting font style on hover for spark datagrid

    I'm trying to skin a Spark datagrid. I have most things sorted by creating a custom skin, but one thing I can't find is how to set the colour of the row's font on hover. I can set the background colour fine, but how would I go about changing the font

  • Not inventory Items

    I have a doubt in the manage of not inventory items, when I made a Goods receipt PO and I use an item that there is not an inventory item, the column name G/L account appears with out any account select, basically my doubt is if is correct to save th

  • Restart does not functioning, always "Firefox is already running....." I am so tired of this

    ''Locking as duplicate, continue here - '' [/questions/751685] vbmcbmcbnmcnbm

  • Move data between tables with INSERT-LOOP?

    Greetings I need to move all the contact information (contained in 5 fields- call it the address table) into the table (call it the main table) that contains all the other associated information. Tables are related via the "vendor_ID" key field. Ther