Mail website template

Here is a basic template for a mail website:

HTML Structure

<!DOCTYPE html>
<html>
<head>
    <title>Mail Website Template</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <header>
        <nav>
            <ul>
                <li><a href="#home">Home</a></li>
                <li><a href="#about">About</a></li>
                <li><a href="#services">Services</a></li>
                <li><a href="#contact">Contact</a></li>
            </ul>
        </nav>
    </header>
    <main>
        <section id="home">
            <h1>Welcome to our mail website!</h1>
            <p>This is a basic template for a mail website.</p>
        </section>
        <section id="about">
            <h2>About Us</h2>
            <p>This is a brief description of our company.</p>
        </section>
        <section id="services">
            <h2>Our Services</h2>
            <ul>
                <li>Email Hosting</li>
                <li>Email Marketing</li>
                <li>Email Security</li>
            </ul>
        </section>
        <section id="contact">
            <h2>Get in Touch</h2>
            <form>
                <label for="name">Name:</label>
                <input type="text" id="name" name="name"><br><br>
                <label for="email">Email:</label>
                <input type="email" id="email" name="email"><br><br>
                <label for="message">Message:</label>
                <textarea id="message" name="message"></textarea><br><br>
                <input type="submit" value="Send">
            </form>
        </section>
    </main>
    <footer>
        <p>&copy; 2023 Mail Website Template</p>
    </footer>
</body>
</html>

CSS Styles (in styles.css file)

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #333;
    color: #fff;
    padding: 1em;
    text-align: center;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    display: inline-block;
    margin-right: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2em;
}

section {
    background-color: #f7f7f7;
    padding: 2em;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

h1, h2 {
    color: #333;
    margin-top: 0;
}

form {
    margin-top: 20px;
}

label {
    display: block;
    margin-bottom: 10px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
}

input[type="submit"] {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 1em;
    text-align: center;
    clear: both;
}

This template includes a basic structure for a mail website, with a header, navigation menu, main content area, and footer. The CSS styles are simple and can be customized to fit your needs.

Note that this is just a basic template, and you will need to add your own content, images, and functionality to make it a fully functional mail website.