miércoles, 3 de junio de 2020

LENGUAJE HTML 5 Y CSS 3 (sesión 11)

HTML:
<!DOCTYPE html>
<html lang="es-ES">
<head>
<meta charset="UTF-8">
<title> Tablas de Nivel I </title>
<link rel="stylesheet" href="tablas1.css">
</head>
<body>

<h1> Jugando con Tablas Nivel I </h1>
<table> 
<caption>Jugando con Tablas de Nivel I</caption>
<tr>
<th>Nombre</th>
<th>Apellidos</th>
<th>Blog</th>
</tr>
<tr> 
<td>Irene</td>
<td>Yao</td>
<td>https://celesteludenberg.blogspot.com</td>
</tr>
<tr>
<td>María</td>
<td>Gracia</td>
<td>https://mariagq15.blogspot.com</td>
</tr>
</table>
</body>

</html>
———————————————————————————————————————-

CSS:
/* 
Creando Tablas de Nivel I
 */

h1{
text-align: center;
}

table{
margin-top:50px;
caption-side: bottom;
margin-left: auto;
margin-right: auto;
border-collapse: collapse;
}

th{
background-color: black;
color: white;
}

caption{
padding-top: 20px;
font-style: italic;
}

td,th{
border: 2px solid black;
padding-left: 20px;
padding-right: 20px;
padding-top: 10px;
padding-bottom: 10px;
}






No hay comentarios:

Publicar un comentario

LENGUAJE HTML 5 Y CSS 3 (Sesión 12)

HTML: <!DOCTYPE html> <html lang="es-ES"> <head> <meta charset="UTF-8"> <title>...