Free templete for news blog

Here is a free template for a news blog:

HTML Structure:

<!DOCTYPE html>
<html>
<head>
    <title>News Blog 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 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>
        <h1>News Blog Template</h1>
    </header>
    <main>
        <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>
                    <p><a rel="nofollow" target="_blank" href="#">Read More</a></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>
                    <p><a rel="nofollow" target="_blank" href="#">Read More</a></p>
                </li>
                <!-- Add more news articles here -->
            </ul>
        </section>
        <section class="featured-article">
            <h2>Featured Article</h2>
            <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>
            <p><a rel="nofollow" target="_blank" href="#">Read More</a></p>
        </section>
    </main>
    <footer>
        <p>&copy; 2023 News Blog 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;
}

.news-list {
    margin-top: 2em;
}

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

.news-list li {
    margin-bottom: 1em;
}

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

.featured-article {
    margin-top: 2em;
}

.featured-article h3 {
    font-size: 1.5em;
    margin-top: 0;
}

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

How to use:

  1. Create a new folder for your news blog and add the HTML file to it.
  2. Create a new file called styles.css and add the CSS styles to it.
  3. Open the HTML file in a web browser to see the template in action.
  4. Customize the template by adding your own content, images, and styles.

Note: This is a basic template and you may want to add more features such as a search bar, categories, and comments. You can also customize the design and layout to fit your needs.