Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML Managing Project Files

ywang04
ywang04
6,750 Points

typing html and pressing tab doesn't show the full html structure

According to this video, typing html and pressing tab in Atom doesn't show the full html structure.

Only <html></html> is shown:

<html></html>

Does anyone have the same issue?

Seth Kroger
Seth Kroger
56,402 Points

Do either ! then tab or html:5 then tab do what is shown in the video?

Hi ywang04, Check you are in the "index.html tab" when you type "html" not the 'styles.css tab". That was a mistake I made.

I had the same issue. Typing "!" + TAB key or typing "html:5" + TAB key was what worked for me. You do have to save it as an html file first before the keyboard shortcuts will work.

3 Answers

I'm using Atom in Linux. Typing html then hitting the tab key does bring up the html structure.

ywang04
ywang04
6,750 Points

Hi Shane and Seth, I found the return key takes effect instead of tab key on my computer. :)

Thanks for your suggestions.

it helped me Thank you

pat barosy
pat barosy
6,759 Points

You have to save it as an HTML file first (control S on a Windows machine, command S on a Mac), then the autocomplete will work.