diff --git a/stranky/tabulka.css b/stranky/tabulka.css new file mode 100644 index 0000000..3584afd --- /dev/null +++ b/stranky/tabulka.css @@ -0,0 +1,33 @@ +body { + font-family: Arial, sans-serif; + margin: 20px; +} + +h1 { + text-align: center; +} + +table { + width: 100%; + border-collapse: collapse; + margin: 20px 0; + font-size: 18px; + text-align: left; +} + +th, td { + padding: 12px; + border-bottom: 1px solid #ddd; +} + +thead { + background-color: #f2f2f2; +} + +tbody tr:nth-child(even) { + background-color: #f9f9f9; +} + +tbody tr:hover { + background-color: #f1f1f1; +} diff --git a/stranky/tabulka.html b/stranky/tabulka.html new file mode 100644 index 0000000..49a5e05 --- /dev/null +++ b/stranky/tabulka.html @@ -0,0 +1,32 @@ +
+ + + +Name | +Age | +Occupation | +
---|---|---|
John Doe | +30 | +Software Engineer | +
Jane Smith | +25 | +Graphic Designer | +
Mike Johnson | +35 | +Project Manager | +