programko/tabulky.html

97 lines
1.8 KiB
HTML
Raw Permalink Normal View History

2024-03-21 10:25:45 +01:00
<!DOCTYPE html>
<html lang="sk">
<head>
<meta charset="UTF-8">
<title>Tabulky</title>
<!-- namapovanie css -->
<link rel="stylesheet" href="tabulky.css">
</head>
<body>
<h2>Struktura tabulky</h2>
<table border="5px">
<tr>
<th>Prvý</th>
<th>Druhý</th>
<th>Tretí</th>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
</table>
<hr>
<h2>Oramovanie tabulky</h2>
<table id="tabulka2" class="podfarbenie">
<tr>
<th>Prvý</th>
<th>Druhý</th>
<th>Tretí</th>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
</table>
<table id="tabulka3" class="podfarbenie2">
<tr>
<th>Prvý</th>
<th>Druhý</th>
<th>Tretí</th>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
</table>
</body>
</html>