http://docs.emmet.io/ (watch the short intro video)
Basically, you can type something like this:
div.myId>span.myClass
<div class="myId"><span class="myClass"></span></div>
Need another example?
This:
table>thead>tr>th*5^^^tbody>tr*2>td*5
<table> <thead> <tr> <th></th> <th></th> <th></th> <th></th> <th></th> </tr> </thead> </table> <tbody> <tr> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> </tbody>