Observe o código a seguir, em HTML.
[Figura: código HTML:
<table border="1" width="18%">
<tr>
<td width="100%" colspan="3"><p align="center">TJ_AM_2013</td>
</tr>
<tr>
<td width="1%"><p align="center">NOME</td>
<td width="27%"><p align="center">DEPTO</td>
<td width="33%"><p align="center">Telefone</td>
</tr>
<tr>
<td width="1%" align="center">João</td>
<td width="27%" align="center" valign="middle">Web</td>
<td width="33%" align="center" valign="middle">72349015</td>
</tr>
<tr>
<td width="1%" align="center">Leocádio</td>
<td width="27%" align="center" valign="middle">Pessoal</td>
<td width="33%" align="center" valign="middle">72348635</td>
</tr>
<tr>
<td width="1%" align="center">Selma</td>
<td width="27%" align="center">Projetos</td>
<td width="33%" align="center">72349852</td>
</tr>
</table>]
O código irá gerar a seguinte tabela:
[Figura: código HTML:
<table border="1" width="18%">
<tr>
<td width="100%" colspan="3"><p align="center">TJ_AM_2013</td>
</tr>
<tr>
<td width="1%"><p align="center">NOME</td>
<td width="27%"><p align="center">DEPTO</td>
<td width="33%"><p align="center">Telefone</td>
</tr>
<tr>
<td width="1%" align="center">João</td>
<td width="27%" align="center" valign="middle">Web</td>
<td width="33%" align="center" valign="middle">72349015</td>
</tr>
<tr>
<td width="1%" align="center">Leocádio</td>
<td width="27%" align="center" valign="middle">Pessoal</td>
<td width="33%" align="center" valign="middle">72348635</td>
</tr>
<tr>
<td width="1%" align="center">Selma</td>
<td width="27%" align="center">Projetos</td>
<td width="33%" align="center">72349852</td>
</tr>
</table>]
O código irá gerar a seguinte tabela:
- A)[Tabela: TJ_AM_2013 (título mesclado nas 3 colunas)
NOME | DEPTO | Telefone
João | Web | 72349015
Leocádio | Pessoal | 72348635
Selma | Projetos | 72349852] - B)[Tabela: TJ_AM_2013 (título mesclado nas 3 colunas)
NOME | DEPTO | Telefone
Selma | Projetos | 72349852
Leocádio | Pessoal | 72348635
João | Web | 72349015] - C)[Tabela: TJ_AM_2013 (título mesclado nas 3 colunas)
NOME | DEPTO | Telefone
João | Web | 72349015
Leocádio | (célula Web e célula 72349015 mescladas com a linha anterior)
Selma | Projetos | 72349852] - D)[Tabela: TJ_AM_2013 (título mesclado nas 3 colunas)
NOME | DEPTO | Telefone
Selma | Projetos | 72349852
Leocádio | (célula Projetos e célula 72349852 mescladas com a linha anterior)
João | Web | 72349015] - E)[Tabela: TJ_AM_2013 (título mesclado nas 3 colunas)
NOME | DEPTO | Telefone
Leocádio | Pessoal | 72348635
Selma | (célula Pessoal e célula 72348635 mescladas com a linha anterior)
João | Web | 72349015]