问题及代码:
做一个表格
<?php
echo "<table border=1 width=300>";
echo "<tr><td width=100 height=50>1</td>";
echo "<td width=100 height=50>2</td>";
echo "<td width=100 height=50>3</td></tr>";
echo "<tr><td width=100 height=50>4</td>";
echo "<td width=100 height=50>5</td>";
echo "<td width=100 height=50>6</td></tr>";
echo "<tr><td width=100 height=50>7</td>";
echo "<td width=100 height=50>8</td>";
echo "<td width=100 height=50>9</td></tr>";
echo "<tr><td width=100 height=50>10</td>";
echo "<td width=100 height=50>11</td>";
echo "<td width=100 height=50>12</td></tr>";
echo "</table>";
?>
知识点分析:
表格 <td> </tr>
心得及体会:大一学习html时学过,依稀还记得~~~