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 trialywang04
6,762 Pointstyping 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?
Shane Edgecombe
1,522 PointsHi ywang04, Check you are in the "index.html tab" when you type "html" not the 'styles.css tab". That was a mistake I made.
L Haney
Front End Web Development Techdegree Student 10,263 PointsI 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
micram1001
33,833 PointsI'm using Atom in Linux. Typing html then hitting the tab key does bring up the html structure.
ywang04
6,762 PointsHi Shane and Seth, I found the return key takes effect instead of tab key on my computer. :)
Thanks for your suggestions.
iwbmkdikci
Courses Plus Student 5,384 Pointsit helped me Thank you
pat barosy
6,759 PointsYou 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.
Seth Kroger
56,413 PointsSeth Kroger
56,413 PointsDo either
!
then tab orhtml:5
then tab do what is shown in the video?