Ir al contenido principal

Tablas con color de fondo



<html>
<h2> TABLAS </h2>
<head><title> ejemplo de tabla sencilla </title></head>
<body bgcolor="PINK" >
<h1> listado de cursos</h1>
<table border>

<tr>

<td><strong>curso</strong></td>

<td><strong>horas</strong></td>

<td><strong>horario</stong></td>

</tr>


<tr>

<td>css</td>

<td>20</td>

<td>16:00 - 20:00</td>

</tr>


<tr>

<td>HTML</td>

<td>20</td>

<td>16:00 - 20:00</td>

</tr>


<tr>

<td>Dreamweaver</td>

<td>60</td>

<td>16:00 - 20:00</td>

</tr>



</table>

</br>

</br>

</br>
</br>

</br>

</br>

<table border=5>

<tr>

<td rowspan="3">

<ts>Campo1</td>

<td>Campo 2</td>

<td>Campo 3</td>

<tr>

<td colspan= "2">Campo 4 y 5</td>

<td>Campo 6</td>


</tr>

<tr>

<td>Campo 7</td>

<td>Campo 8</td>

<td>Campo 9</td>

</tr>
<td rowspan="3">Campo unificado</td>

<td>Campo 2</td>

<td>Campo 3</td>
<tr>

<td colspan= "2">Campo 4 y 5</td>

<td>Campo 6</td>


</tr>

<tr>

<td>Campo 7</td>

<td>Campo 8</td>

<td>Campo 9</td>

</tr>

</body>

</html>

Comentarios