Uso degli attributi del TAG TABLE

Codice Effetto
Uso dell'attributo BORDER

<TABLE BORDER="1">
<TR>
<TD>Riga1 Cella1</TD>
<TD>Riga1 Cella2</TD>
<TD>Riga1 Cella3</TD>
< /TR>
<TR>
<TD>Riga2 Cella1</TD>
<TD>Riga2 Cella2</TD>
</TR>
</TABLE>

Riga1 Cella1 Riga1 Cella2 Riga1 Cella3
Riga2 Cella1 Riga2 Cella2
Uso degli attributi BORDER, ALIGN, CELLPADDING e del TAG CAPTION

<TABLE BORDER="3" ALIGN="center" CELLPADDING="5">
<CAPTION> Didascalia </CAPTION>
<TR>
<TD>Riga1 Cella1</TD>
<TD>Riga1 Cella2</TD>
<TD>Riga1 Cella3</TD>
< /TR>
<TR>
<TD>Riga2 Cella1</TD>
<TD>Riga2 Cella2</TD>
</TR>
</TABLE>

Didascalia
Riga1 Cella1 Riga1 Cella2 Riga1 Cella3
Riga2 Cella1 Riga2 Cella2
Uso degli attributi BORDER, ALIGN, CELLSPACING, BGCOLOR e WIDTH

<TABLE BORDER="1" ALIGN="right" CELLSPACING="10" BGCOLOR="#FFFF00" WIDTH="90"%>
<TR>
<TD>Riga1 Cella1</TD>
<TD>Riga1 Cella2</TD>
<TD>Riga1 Cella3</TD>
< /TR>
<TR>
<TD>Riga2 Cella1</TD>
<TD>Riga2 Cella2</TD>
</TR>
</TABLE>

Riga1 Cella1 Riga1 Cella2 Riga1 Cella3
Riga2 Cella1 Riga2 Cella2




Indietro Avanti