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 Images, Text and Links Add Meaning to Words with Text Level Elements

Jeremy Kievit
Jeremy Kievit
751 Points

What is the keyboard shortcut for autocompleting/closing html tags?

And is this shortcut the same across all html editors?

2 Answers

Not all software dev programmes have auto close tags! most dev software is using package (Plugins) but the workstation will auto close your tags!

I'm using Sublime-text3 with some package like,

  • Emmet
  • AutoFillName
  • BracketHighLigher
  • ColorHighLigther
  • HTML/CSS/JS Prettify

I hope this helps you...

Steven Parker
Steven Parker
231,275 Points

I'm sure not all editors are the same, but in my experience no keystroke was needed. Completing an open tag automatically caused the matching end tag to be entered and the cursor placed between them.