Tables with Emmet

by Joe Saad

HTML

<!-- 
table>thead(>tr>th+th{Account Name}+th{Account Number}+th{Service Address})+tbody(>tr*10>td>input:r#autoParts$[name='autoParts']+td(>label[for='autoParts$']{Tasco Auto Parts$})+td{111-32-$$$$}+td) 
-->

<table>
    <thead>
        <tr>
            <th></th>
            <th>Account Name</th>
            <th>Account Number</th>
            <th>Service Address</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>
                <input type="radio" name="autoParts" id="autoParts1">
                <td><label for="autoParts1">Tasco Auto Parts1</label></td>
                <td>111-32-0001</td>
                <td></td>
            </td>
        </tr>
        <tr>
            <td>
                <input type="radio" name="autoParts" id="autoParts2">
                <td><label for="autoParts2">Tasco Auto Parts2</label></td>
                <td>111-32-0002</td>
                <td></td>
            </td>
        </tr>
        <tr>
            <td>
                <input type="radio" name="autoParts" id="autoParts3">
                <td><label for="autoParts3">Tasco Auto Parts3</label></td>
                <td>111-32-0003</td>
                <td></td>
            </td>
        </tr>
        <tr>
            <td>
                <input type="radio" name="autoParts" id="autoParts4">
                <td><label for="autoParts4">Tasco Auto Parts4</label></td>
                <td>111-32-0004</td>
                <td></td>
            </td>
        </tr>
        <tr>
            <td>
                <input type="radio" name="autoParts" id="autoParts5">
                <td><label for="autoParts5">Tasco Auto Parts5</label></td>
                <td>111-32-0005</td>
                <td></td>
            </td>
        </tr>
        <tr>
            <td>
                <input type="radio" name="autoParts" id="autoParts6">
                <td><label for="autoParts6">Tasco Auto Parts6</label></td>
                <td>111-32-0006</td>
               ...