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 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: