Tabla

mail@pastecode.io avatar
unknown
html
7 days ago
772 B
7
Indexable
Never
<!DOCTYPE html>
<html>
<head>
<style>
table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

td, th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #dddddd;
}
</style>
</head>
<body>

<h2>HTML Table</h2>

<table>
  <tr>
    <th> <button> 1.1 </button></th>
    <th> <button> 1.2 </button> </th>
    <th>Apellido</th>
    <th>Nacionalidad </th>
  </tr>
  <tr>
    <td>Rafael</td>
    <td>30</td>
    <td>Sequeiros</td>
    <td>Honduras </td>
   
  </tr>
  <tr>
    <td>Ernesto</td>
    <td>28</td>
    <td>Alvarado</td>
    <td>Alemnia </td>
  </tr>
  <tr>
    <td>Ernesto</td>
    <td>28</td>
    <td>Alvarado</td>
    <td>Alemnia </td>
  </tr>
  
</table>

</body>
</html>

Leave a Comment