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 HTML Basics Getting Started with HTML Global Structure of an HTML Document

David Kim
David Kim
943 Points

Atom Snippet

I typed html and pressed tab key but no snippet showing what should I do? it just gives me extra two spaces ... is there something I did wrong?

3 Answers

Eli Ferrer
Eli Ferrer
3,292 Points

You could install emmet package and then write html:5 and press tab, it should work.

my experience with atom on Kali-Linux as follows: typing html and hitting return does this:

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title></title>
  </head>
  <body>

  </body>
</html>

typing html and hitting the tab does this:

<html></html>

should have the right packages installed.

Shay Paustovsky
Shay Paustovsky
969 Points

Hi David,

I don't use Atom anymore (for personal reasons) but I do have some experience with it.

Follow these steps:

  1. Restart Atom
  2. Try different case for the word (i.e. "html" or "HTML") without any tags or symbols.
  3. If the steps above didn't work, try ("!" or "doc" or "doctype") then it should work.

Hopefully This helps.

Shay :smiley: