Emmet code to generate HTML as ul, then 3 li with href and img inside.

What is the code to create the following:

I am using visual studio 2013 with a website installed ...

I need ul with 3 li with a and img inside ...

<ul class="gallery">
<li>
    <a href="../upload/files/image-1" class="fb" rel="gallery">
        <img src="../upload/files/item-1" alt="Foto" />
    </a>
</li>
<li>
    <a href="../upload/files/image-2" class="fb" rel="gallery">
        <img src="../upload/files/item-2" alt="Foto" />
    </a>
</li>
<li>
    <a href="../upload/files/image-3" class="fb" rel="gallery">
        <img src="../upload/files/item-3" alt="Foto" />
    </a>
</li>

thank...

+3
source share
1 answer

Try the following:

ul.gallery>li*3>a[href=../upload/files/image-$][class=fb][rel=gallery]>img[src=../upload/files/item-$][alt=Foto]
+2
source

All Articles