我在 HTML 中创建了一个 4 行 16 列的表格,我在一个单元格中插入了一个图像,在另一个单元格中插入了文本,直到我拥有所有的行和列。请参阅下面的代码。我的问题在于图像:图像尺寸太大。我不知道如何使它达到缩略图的大小。此外,文字也不在图像旁边。注意:图片在左边,文字在图片右边。任何帮助将不胜感激。
<html>
<head>
<title> Cameron Cookies </title>
</head>
<body>
<table cellspacing="0" cellpadding="0">
<tr>
<td><img src="j0175514.jpg" alt="Chocolate cookies"></img></td>
<td>Chocolate</td>
<td><img src="j0408843.jpg" alt="Chocolate Nut cookies"></img></td>
<td>Chocolate Nut</td>
</tr>
<tr>
<td><img src="j0428480.jpg" alt="Macadamia Nut cookies"></img></td>
<td>Macadamia Nut</td>
<td><img src="j0182695.jpg" alt="Oatmeal Raisin cookies"</img></td>
<td>Oatmeal Raisin</td>
</tr>
<tr>
<td><img src="j0428480.jpg" alt="M & M cookies"</img></td>
<td>M & M's</td>
<td><img src="j0440992.jpg" alt="White Chocolate cookies"</td>
<td>White Chocolate</td>
</tr>
<tr>
<td><img src="j0387871.jpg" alt="Chocolate Pecan cookies"</img></td>
<td>Chocolate Pecan</td>
<td><img src="j0425515.jpg" alt="Chocolate Hazelnut cookies"</img></td>
<td>Chocolate Hazelnut</td>
</tr>
</table>
</br>Cookies are a great gift idea that everybody loves. Just give us a call or send us an e-mail 24 hours in advance and we'll create
a lovely gift bag or basket filled with an assortment of fresh, homemade cookies.
Thanks for visiting our website and be sure to come visit us in person here in Portland, Maine.
To place an order, click here. </p>
</body>
</html>