产生以下内容的代码是什么:
我正在使用带有网络必备安装的visual studio 2013 ...
我需要一个带有3 li的ul和一个img里面...
<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>
谢谢......
答案 0 :(得分:2)
尝试以下方法:
ul.gallery>li*3>a[href=../upload/files/image-$][class=fb][rel=gallery]>img[src=../upload/files/item-$][alt=Foto]