Emmet is a plugin available for popular text editors that let you write HTML abbreviations without having to directly write HTML tags, instead use Emmet’s shortcuts.

It reduces the amount of HTML the user must write and increases efficiency and saves precious time.

A simple example.

article>header
Code language: HTML, XML (xml)

All you have to do is hit TAB it will be parsed as.

<article> <header></header> </article>
Code language: HTML, XML (xml)

You can also create the default HTML5 template with:

html:5
Code language: HTML, XML (xml)

it will be parsed as

<html lang="en"> <meta charset="UTF-8"> <title>Document</title>
Code language: HTML, XML (xml)

As you can see how much easier it is to use Emmet compared to writing HTML directly.

Emmet has officially made their plugin available for Atom editor that can be installed using APM

apm install emmet
Code language: Bash (bash)

You can install it using the Atom plugin tab by going into the install menu, searching for Emmet, and installing the plugin by emmetio

Happy Coding!

You can access all the posts over Atom under atom and editor tag.

Have a question? Leave a comment below.

Darryl Dias

I’m Darryl. I’m a 3D Artist, Programmer and Linux enthusiast. On this site I share my insights, tips and tricks, tutorials, methods and best practices.

Leave a comment

Your email address will not be published. Required fields are marked *