Footer html
This commit is contained in:
17
index.html
17
index.html
@@ -29,6 +29,20 @@
|
||||
nav a:hover {
|
||||
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>
|
||||
</head>
|
||||
<body>
|
||||
@@ -47,5 +61,8 @@
|
||||
<p>This is a sample header section with navigation.</p>
|
||||
</section>
|
||||
</main>
|
||||
<footer>
|
||||
<p>© 2026 My Site. All rights reserved. <a href="#contact">Contact us</a>.</p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user