简单的html表。逻辑不清楚

时间:2017-08-16 18:17:33

标签: html

THE TABLE

嗨,伙计们。我在制作这张桌子时面临一些问题。我输入了以下代码,我认为这是正确的,但事实并非如此。

<HTML>
<HEAD>
<TITLE>
TABLE DESIGN 2
</TITLE> 
</HEAD>
<BODY>
<TABLE BORDER="1" ALIGN="CENTER" WIDTH="150" HEIGHT="200" >
<TR>
<TD ROWSPAN="6" ALIGN="CENTER">A</TD>
<TD ROWSPAN="3" ALIGN="CENTER">B</TD>
<TD ROWSPAN="2" ALIGN="CENTER">C</TD>
</TR>
<TR>
<TD ROWSPAN="2" ALIGN="CENTER">E</TD>
</TR>
<TR>
<TD ROWSPAN="3" ALIGN="CENTER">F</TD>
</TR>
<TR>
<TD ROWSPAN="2" ALIGN="CENTER">F</TD>
</TR>
</TABLE>
</BODY>
</HTML>

1 个答案:

答案 0 :(得分:1)

由于您使用6行进行数学计算,因此您需要在&#34; E&#34;之上插入一个额外的空行。细胞

&#13;
&#13;
<TABLE BORDER="1" ALIGN="CENTER" WIDTH="150" HEIGHT="200">
  <TR>
    <TD ROWSPAN="6" ALIGN="CENTER">1</TD>
    <TD ROWSPAN="3" ALIGN="CENTER">1/2</TD>
    <TD ROWSPAN="2" ALIGN="CENTER">1/3</TD>
  </TR>
  <TR></TR>
  <TR>
    <TD ROWSPAN="2" ALIGN="CENTER">1/3</TD>
  </TR>
  <TR>
    <TD ROWSPAN="3" ALIGN="CENTER">1/2</TD>
  </TR>
  <TR>
    <TD ROWSPAN="2" ALIGN="CENTER">1/3</TD>
  </TR>
</TABLE>
&#13;
&#13;
&#13;