我有HTML表格下面。更改HTML表格的字體樣式?
jsfiddle鏈接:
<table id="tabla" align="center" cellspacing="15" cellpadding="0">
<tr>
<td><input type="button" value="Form View"></input></td>
<td><input type="button" value="Table view"></input></td>
</tr>
<tr>
<td>Classification1:</td>
<td>value</td>
<td>Source:</td>
<td>value</td>
<td>Sic1:</td>
<td>Value</td>
<td>Sic Description1:</td>
<td>value</td>
<td>Source:</td>
<td>value</td>
</tr>
<tr>
<td>Classification1:</td>
<td>value</td>
<td>Source:</td>
<td>value</td>
<td>Sic1:</td>
<td>Value</td>
<td>Sic Description1:</td>
<td>value</td>
<td>Source:</td>
<td>value</td>
</tr>
<tr>
<td>Classification1:</td>
<td>value</td>
<td>Source:</td>
<td>value</td>
<td>Sic1:</td>
<td>Value</td>
<td>Sic Description1:</td>
<td>value</td>
<td>Source:</td>
<td>value</td>
</tr>
<tr>
<td>Classification1:</td>
<td>value</td>
<td>Source:</td>
<td>value</td>
<td>Sic1:</td>
<td>Value</td>
<td>Sic Description1:</td>
<td>value</td>
<td>Source:</td>
<td>value</td>
</tr>
</table>
這裏每行有多個TD。我想將標籤名稱更改爲粗體而不是值。 我該怎麼做?
例:
<td>Classification1:</td>
<td>value</td>
這裏Classification1:
應在大膽value
應該是正常的。
這是您的jsfiddle:http://jsfiddle.net/GsG7C/4 / – Shomz