quinta-feira, 8 de abril de 2010

TABELA

As tabelas definidas em HTML têm permitido apresentar dados em forma tabular e contruir arranjos de página complexos.

Exemplo de aplicações
<html>
<head>
<title> Exemplo</title>
</head>
<body>
<h4>Uma coluna:</h4>
<table border="1">
<tbody>
<tr>
<td>100</td>
</tr>
</tbody>
</table>

<h4>Uma linha e Três colunas:</h4>

<table border="1">
<tbody>
<tr>
<td>100</td>
<td>200</td>
<td>300</td>
</tr>
</tbody>
</table>

<h4>Duas linha e Três colunas:</h4>

<table border="1">
<tbody>
<tr>
<td>100</td>
<td>200</td>
<td>300</td>
</tr>
<tr>
<td>400</td>
<td>500</td>
<td>600</td> 
</tr>
</tbody>
</table>

-As tabelas constroem-se com o elemento <table>. As linhas da tabela obtêm-se com o elemento <tr>. As células de dados criam-se com o elemento <td>.


0 comentários: