<?xml version=‘1.0’ encoding=‘utf-8’?> <!–
RHTML Html tag snippets
–> <snippets language=“html-erb”>
<!-- Generic tag helper --> <snippet> <text><![CDATA[<${1:div}> $0
</${1}]]></text>
<tag><</tag> <description>HTML: tag</description> </snippet> <!-- Basic html tags --> <snippet> <text><![CDATA[<div class="$1"> $0
</div>]]></text>
<tag>divc</tag> <description>HTML: div with class</description> </snippet> <snippet> <text><![CDATA[<div id="$1"> $0
</div>]]></text>
<tag>divi</tag> <description>HTML: div with id</description> </snippet>
<snippet>
<text><![CDATA[<br/>
$0]]></text>
<tag>br</tag> <description>HTML: line break</description> <accelerator><![CDATA[<Control>m]]></accelerator> </snippet> <!-- Tables --> <snippet> <text><![CDATA[<table class="$1"> <tr> <th>$0</th> </tr>
</table>]]></text>
<tag>table</tag> <description>HTML: table</description> </snippet> <snippet> <text><![CDATA[<td>$0</td>]]></text> <tag>td</tag> <description>HTML: table cell</description> </snippet> <snippet> <text><![CDATA[<tr> $0
</tr>]]></text>
<tag>tr</tag> <description>HTML: table row</description> </snippet> <snippet> <text><![CDATA[<tr class="<%= cycle( 'odd', 'even' ) %>"> $0
</tr>]]></text>
<tag>troe</tag> <description>HTML: table row class odd-even</description> </snippet> <!-- Lists --> <snippet> <text><![CDATA[<ul class="${1:list}"> $0
</ul>]]></text>
<tag>ulc</tag> <description>HTML: unordered list with class</description> </snippet> <snippet> <text><![CDATA[<ul> $0
</ul>]]></text>
<tag>ul</tag> <description>HTML: unordered list</description> </snippet> <snippet> <text><![CDATA[<li>$1</li>$0]]></text> <tag>li</tag> <description>HTML: list item</description> </snippet>
</snippets>