Use Plain Text options for TextEdit when writing HTML files

07 August 2008 · 4 comments

If you were going to write some HTML using the Mac’s free text editor TextEdit you need to make sure the Preferences are set for plain text, not for RTF. [See My first page - a basic HTML recipe.] I suggest the following choices for the Preferences. The screenshots below are from Mac OS X [...]

If you were going to write some HTML using the Mac’s free text editor TextEdit you need to make sure the Preferences are set for plain text, not for RTF. [See My first page - a basic HTML recipe.]

I suggest the following choices for the Preferences. The screenshots below are from Mac OS X 10.5.4 (Leopard). If you use a different version of the Operating System some things may be different.

kit-textedit-prefs-01.jpg.

The important choices under New Document are the Plain Text format and not to check the Smart Quotes option. Wrap to page is a good choice to stop long lines of text from dribbling off to the right so you have to scroll sideways. Window Size and Font are purely a matter of taste — set them how you like.

kit-textedit-prefs-02.jpg.

For the Open and Save preferences check the box for Ignore rich text commands in HTML files. If you follow the brief ‘recipe’ in my next post choose one of the XHTML types for HTML Saving Options, rather than one of the HTML (no X) types.

Update: The whole series:

  1. Use Plain Text options for TextEdit when writing HTML files
  2. My first page – a basic HTML recipe
  3. My second page – a basic HTML recipe
  4. My third page – a basic HTML recipe
  5. My fourth page – a basic HTML recipe

4 comments

Tell us what you think.
Note: there may be a delay before your comment appears. I now approve all comments from new visitors, in an attempt to keep spam at bay.

Add your Comment

Older Post:

Newer Post: