Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML How to Make a Website CSS: Cascading Style Sheets Center the Wrapper

Using TextEdit in mac

Hi,

I am using "TextEdit" in editing my HTML files. My problem is: Every time I close the HTML file and try to reopen the file using "open with" option, I choose TextEdit to make changes to the file it opens as an HTML file inside the TextEdit program. I mean I can not see the tags I see their effect only. Any idea why?

1 Answer

There's a chance TextEdit is saving as rich text format/.txt extension.

Try these steps:

  1. Set TextEdit to plain text format (command + shift + t)
  2. Save file with .html extension
  3. Select .html from the pop if there is one

Also consider using a text editor like Atom or Sublime Text. Either one will save you lots of trouble in the future.