span
文字ではなくクラス「データ」を使用して、表のセルの数字 (および数字のみ)をラップするにはどうすればよい$
ですか?
HTML マークアップは次のとおりです。
<table>
<tr>
<th>Description</th>
<th>Weight</th>
<th>Views</th>
<th>Cost</th>
</tr>
<tr>
<td>Item description here</td>
<td class="data">37 pounds</td>
<td class="data">132 views</td>
<td class="data">$99.59</td>
</tr>
</table>