Footer html
This commit is contained in:
17
index.html
17
index.html
@@ -29,6 +29,20 @@
|
|||||||
nav a:hover {
|
nav a:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
footer {
|
||||||
|
background-color: #222;
|
||||||
|
color: #ddd;
|
||||||
|
padding: 1rem 2rem;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 0.9rem;
|
||||||
|
}
|
||||||
|
footer a {
|
||||||
|
color: #66caff;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
footer a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@@ -47,5 +61,8 @@
|
|||||||
<p>This is a sample header section with navigation.</p>
|
<p>This is a sample header section with navigation.</p>
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
|
<footer>
|
||||||
|
<p>© 2026 My Site. All rights reserved. <a href="#contact">Contact us</a>.</p>
|
||||||
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user