👤

Zrób tabele na stronie internetowej HTML w notatniku według wzoru

Zrób Tabele Na Stronie Internetowej HTML W Notatniku Według Wzoru class=

Odpowiedź :

Odpowiedź:

<!DOCTYPE html>

<html lang="pl">

<head>

  <meta charset="UTF-8">

  <meta http-equiv="X-UA-Compatible" content="IE=edge">

  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <meta name="author" content="Imie i nazwisko">

  <title>Tytuł strony</title>

  <style>

  body{

      background: rgb(2,0,36);

background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(226,254,139,1) 35%, rgba(0,212,255,1) 100%);

  }

  .table{

     width: 50%;

     margin-left: auto;

     margin-right: auto;

  }

  th{

     color: black;

     font-size: 25px;

  }

ul li{

  font-family: Verdana, Geneva, Tahoma, sans-serif;

  color: blue;

  border-right: 1px solid black;

  display: inline-block;

}

table.GeneratedTable {

 

 width: 100%;

 background-color: #ffffff;

 border-collapse: collapse;

 border-width: 2px;

 border-color: #ffcc00;

 border-style: solid;

 color: #000000;

}

table.GeneratedTable td, table.GeneratedTable th {

 padding: 3px;

}

table.GeneratedTable thead {

 background-color: #ffcc00;

}

</style>

<table class="GeneratedTable" border="1">

 <thead>

   <tr>

     <th colspan="4">Tytuł strony:</th>

   

   </tr>

 </thead>

 <tbody>

   <tr>

     <td colspan="4" style="text-align: center;"><ul><li>Strona Główna</li><li>Podstrona 1</li><li>Podstrona 2</li></ul></td>

   </tr>

   <tr>

     <td>w calej tabeli uzyj</td>

     <td></td>

     <td rowspan="3">Moje ulubione przedmioty:</br>

       <li>geografia</li>

       <li>informatyka</li>

       <li>wf</li>

       <li>pikseli</li>

     </td>

     

   </tr>

<tr>

  <td>standardowej czcionki</td>

  <td><img src="obrazek.jpg" width="150px" height="150px"></img></td>

  <td></td>

</tr>

<tr>

  <td>(kroj, rozmiar, kolor)</td>

  <td><a href="wstaw tu link">Onet</a></td>

</tr>

<tr>

  <th colspan="4"><a href="#">Napisz do mnie</a></th>

</tr>

 </tbody>

</table>

</style>

</head>

<body>

</body>

</html>

Wyjaśnienie: