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 Managing Project Files

ywang04
ywang04
6,762 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,414 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,762 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.