Sesión 11 - Las tablas

HTML
<!DOCTYPE html>
<html lang="es-ES">
<head>
    <meta charset="UTF-8">
    <title>Tablas de nivel 1</title>
    <link rel="stylesheet" href="Pr%C3%A1ctica%2011%20HTML.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>María</td>
            <td>Gracia Quílez</td>
            <td>https://mariagq15.blogspot.com</td>
        </tr>
        <tr>
            <td>Irene</td>
            <td>Yao</td>
            <td>https://celesteludenberg.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: skyblue;
    color: black;
}

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;

}

Comentarios

Entradas populares de este blog

Comparando aPPs - 3 (Picmonkey)