HTML and CSS Reference
In-Depth Information
Figure 11.10
A table with multiple text alignments
HTML
1.
<table>
2.
<thead>
3.
<tr>
4.
<th scope="col" colspan="2">Item</th>
5.
<th scope="col">Qty</th>
6.
<th scope="col">Price</th>
7.
</tr>
8.
</thead>
9.
<tbody>
10.
<tr>
11.
<td>
12.
<strong class="book-title">
Don’t Make Me Think
</strong>
by Steve Krug
13.
</td>
14.
<td
class="item-stock"
>In Stock</td>
15.
<td
class="item-qty"
>1</td>
16.
<td
class="item-price"
>$30.02</td>
17.
</tr>
Search WWH ::
Custom Search