Women in Technology

Hear us Roar



Article:
  Apache Web-Serving with Mac OS X: Part 1
Subject:   html...
Date:   2010-03-15 22:41:06
From:   orange-11
Hello. I've been trying to use the suggested html code to have it display "Gleefully hosted by Mac OS X." However, it simply posts the code. Then I tried simply typing a sentence, saving it as html, and then seeing if that displayed -- it did. Is my text automatically being translated into code?


I'm using TextEdit, if that is relevant.


Secret: I'm a noob. If someone could help me out it would be most appreciated...

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • html...
    2010-04-19 09:35:13  dave.cohoe [View]

    Yes, it is significant that you are using TextEdit. When you do a save as HTML in TextEdit, it actually inserts your HTML code as text in the middle of a HTML document. So, you can't actually enter HTML code using the default settings.

    Try changing your preferences to Plain Text instead of the default Rich Text. When you do as 'save as,' make sure you add the .html extension to the file name.

    (You can also change your settings to ignore rich text commands in HTML files and not add the .txt extension from plain text files.)