note, most of these examples are taken from: http://code.google.com/p/zen-coding/wiki/ZenHTMLSelectorsEn
E#nameconverts to:
<div id="name"></div>E.nameconverts to
<div class="name"></div>div.one.twoconverts to
<div class="one two"></div>div#name.one.twoconverts to:
<div id="name" class="one two"></div>ul>liconverts to:
<ul>
<li></li>
</ul>and
table>tr>tdconverts to:
<table>
<tr>
<td></td>
</tr>
</table>and
ul#sidenav>li.itemconverts to:
<ul id="sidenav">
<li class="item"></li>
</ul>p+pconverts to:
<p></p>
<p></p>so:
div#content>p.one+p.twoconverts to:
<div id="content">
<p class="one"></p>
<p class="two"></p>
</div> a[href]converts to:
<a href=""></a>and
span[title="Hello" rel]compiles to
<span title="Hello" rel=""></span>p.title|econverts to
<p class="title"></p>p*3converts to:
<p></p>
<p></p>
<p></p>and
ul#name>li.item*3converts to:
<ul id="name">
<li class="item"></li>
<li class="item"></li>
<li class="item"></li>
</ul>p.name-$*3converts to:
<p class="name-1"></p>
<p class="name-2"></p>
<p class="name-3"></p>and
select>option#item-$*3converts to
<select name="" id="">
<option value="" id="item-1"></option>
<option value="" id="item-2"></option>
<option value="" id="item-3"></option>
</select>from @jonschlinkert: I don't like this concept at all. Maybe it's fine for "on the fly" zencoding, but it's bad implementation. If anything, they should have done E>
ul+converts to
<ul>
<li></li>
</ul>and
table+converts to
<table>
<tr>
<td></td>
</tr>
</table>and
dl+converts to
<dl>
<dt></dt>
<dd></dd>
</dl>