Html5 news template

Here is a basic HTML5 template for a news website:

index.html

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>News Website</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <header>
        <nav>
            <ul>
                <li><a rel="nofollow" target="_blank" href="#">Home</a></li>
                <li><a rel="nofollow" target="_blank" href="#">About</a></li>
                <li><a rel="nofollow" target="_blank" href="#">Contact</a></li>
            </ul>
        </nav>
    </header>
    <main>
        <section class="hero">
            <h1>Welcome to our news website!</h1>
            <p>Stay up-to-date with the latest news and updates.</p>
        </section>
        <section class="news-list">
            <h2>Latest News</h2>
            <ul>
                <li>
                    <h3><a rel="nofollow" target="_blank" href="#">News Article 1</a></h3>
                    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sit amet nulla auctor, vestibulum magna sed, convallis ex.</p>
                </li>
                <li>
                    <h3><a rel="nofollow" target="_blank" href="#">News Article 2</a></h3>
                    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sit amet nulla auctor, vestibulum magna sed, convallis ex.</p>
                </li>
                <li>
                    <h3><a rel="nofollow" target="_blank" href="#">News Article 3</a></h3>
                    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sit amet nulla auctor, vestibulum magna sed, convallis ex.</p>
                </li>
            </ul>
        </section>
    </main>
    <footer>
        <p>&copy; 2023 News Website</p>
    </footer>
    <script src="script.js"></script>
</body>
</html>

styles.css

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;
    display: flex;
    justify-content: space-between;
}

nav li {
    margin-right: 20px;
}

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

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

.hero {
    background-image: linear-gradient(to bottom, #333, #555);
    background-size: 100% 300px;
    background-position: 0% 100%;
    padding: 2em;
    text-align: center;
    color: #fff;
}

.news-list {
    padding: 2em;
}

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

.news-list li {
    margin-bottom: 20px;
}

.news-list h3 {
    font-weight: bold;
    margin-top: 0;
}

.news-list p {
    font-size: 0.9em;
    color: #666;
}

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

This template includes:

You can customize the styles.css file to change the layout, colors, and fonts to fit your needs.

Note: This is just a basic template and you will need to add more content, images, and functionality to make it a fully functional news website.