Basic Table
Basic Table
DescriptionEach row consists of a number of cells. Each cell if defined by a tag. The tag looks like <TD>. The starting tag is <TD> and the closing tag is </TD>. Whatever is between the <TD> tags is what will show up in the cell. The <TD> tags go between the <TR> tags.
Code
<TABLE border="1">
<TR> <TD> Cell 1 </TD> <TD> Cell 2 </TD> </TR>
<TR> <TD> Cell 3 </TD> <TD> Cell 4 </TD> </TR>
</TABLE>
Output
Cell 1 Cell 2
Cell 3 Cell 4
Practice
Advertisements