<html>
<head>
<title> Datos </title>
<link href="estilos_tabla.css"
rel="stylesheet" type="text/css" />
</head>
<body>
<table border="2px">
<caption>Datos</caption>
<tr>
<th>Jefe de departamento</th>
<th>Jefe Sección</th>
<th>Empleado</th>
<th>Edad empleado</th>
</tr>
<tr>
<td rowspan="2">Juan Alberto Chan</td>
<td>Martín López</td>
<td>Maite Suárez</td>
<td>55</td>
</tr>
<tr>
<td>Luis Morales</td>
<td>Mateo Carralde</td>
<td>33</td>
</tr>
<tr>
<td>Diana Rodriguez</td>
<td>Carlos Hernández</td>
<td>Alberto Fernández</td>
<td>62</td>
</tr>
<tr>
<td colspan="2">Luis Pérez</td>
<td>Diego Gutiérrez</td>
<td>44</td>
</tr>
</body>
</html>
table { text-align:center;font-family: "Arial"; border-color:red; font-size: 20px; }
caption {font-size: 17px; color:brown; background:orange; }
th { font-size: 15px; backgrounf: #b9c9fe; color: #039; }
td { background: #e8edff; color:#669; font-size: 14px; }
No hay comentarios:
Publicar un comentario