commit 4d398e030dc80ec92653d2ba66a4e36a9fb6f95f
parent 0c4b8dc31244fe9ac5c5ba0f45992bf842806bc4
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date: Tue, 22 Feb 2022 22:40:43 +0100
Added header/main/footer tags
Diffstat:
4 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -1 +1,3 @@
http
+BLOG-IDEAS
+HTML-TIPS
diff --git a/bottom.html b/bottom.html
@@ -1,8 +1,9 @@
+</main>
<hr class="line">
-<nav class="bottom">
- <table class="footer">
+<footer>
+ <table>
<tr>
<td class="contact">
<a href="mailto:sebastiano@tronto.net">
@@ -15,7 +16,7 @@
</td>
</tr>
</table>
-</nav>
+</footer>
</body>
</html>
diff --git a/src/style.css b/src/style.css
@@ -1,4 +1,4 @@
-.menu {
+header nav table {
width: 100%;
}
@@ -7,7 +7,7 @@
font-weight: bold;
}
-.footer {
+footer table {
font-style: italic;
width: 100%;
}
diff --git a/top.html b/top.html
@@ -9,8 +9,9 @@
<body>
+<header>
<nav class="top">
- <table class="menu">
+ <table>
<tr>
<td class="logo">
<a href="/">
@@ -45,6 +46,8 @@
</tr>
</table>
</nav>
+</header>
<hr class="line">
+<main>