HTMLify

contact.html
Views: 268 | Author: demo
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
/* Reset some default styles */
body, h1, h2, p, ul, li {
    margin: 0;
    padding: 0;
}

/* Style the navigation bar */
nav ul {
    list-style: none;
    background-color: #333;
    overflow: hidden;
}

nav li {
    float: left;
}

nav a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

/* Style the header */
header {
    background-color: #3498db;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Style the main content */
main {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

section {
    margin-bottom: 20px;
}

h2 {
    font-size: 24px;
    color: #333;
}

/* Style the footer */
footer {
    text-align: center;
    background-color: #333;
    color: white;
    padding: 10px;
}
</style>
    <title>Contact</title>
</head>
<body>
    <nav>
        <ul>
            <li><a href="index.html">Home</a></li>
            <li><a href="about.html">About</a></li>
            <li><a href="contact.html">Contact</a></li>
        </ul>
    </nav>
    <header>
        <h1>Contact Me</h1>
    </header>
    <main>
        <section>
            <h2>Contact Information</h2>
            <p>This is the contact page content.</p>
        </section>
    </main>
    <footer>
        <p>&copy; 2023 Demo site</p>
    </footer>
</body>
</html>

Comments