I can't get past page 25 of the Creating a Website Missing Manual. I have a Mac, so I'm using textedit to write codes and open htm files.
When I open the popsicle.htm example file Textedit just turns black. When I try to type in the same code the examples are using to show in my browser all the coding still comes up.
Do I need to change my preferences to a certain setting to make this work? Please help I'm so frustrated!
Help get this topic noticed by sharing it on Twitter, Facebook, or email.
I'm sorry for the frustration. TextEdit has some settings that you'll probably need to change to work with HTML files.
*Go to TextEdit > Preferences > Open and Save
*Check Ignore rich text commands in HTML files (This will make it so that TextEdit shows your markup itself, instead of the results of your markup.)
*Uncheck Add ".txt" extension to plain text files (Your HTML files will need to be plain text, but they only need the file extension .htm or .html.)
*Go to the New Document tab
*Select Plain text as your Format for new documents
Here's a blog post that explains some of this.
Once you've created/edited a file with these settings, you should be able to open it in your browser and have it interpreted correctly.
Let us know if you still have questions. If you're encountering new problems, feel free to send us a screenshot.
O'Reilly Media, Inc.