4
In a table
, if I apply bold (<b>
) out of cells (<td>
), it doesn’t work:
<table>
<tr>
<b>
<td>Cell A</td>
<td>Cell B</td>
<td>Cell C</td>
<td>Cell D</td>
</b>
</tr>
</table>
If apply inside, (obvious) works, but I have to put in everyone who wants:
<table>
<tr>
<td><b>Cell A</b></td>
<td>Cell B</td>
<td><b>Cell C</b></td>
<td>Cell D</td>
</tr>
</table>
- Why this occurs?
- The only way would be manually place in each cell, or by
CSS
? - Works in range of other types of tags?
but if you want to use it so much
<b>
you can put it off the<table>
, but CSS is more recommended and makes HTML cleaner– Mark Vaaz