News site html template

Here is a basic HTML template for a news site:

<!DOCTYPE html>
<html>
<head>
    <title>News Site</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 Site</h1>
    </header>
    <main>
        <section class="featured">
            <h2>Featured News</h2>
            <ul>
                <li>
                    <h3>Breaking News: [Headline]</h3>
                    <p>[Summary]</p>
                    <a rel="nofollow" target="_blank" href="#">Read More</a>
                </li>
                <li>
                    <h3>Latest News: [Headline]</h3>
                    <p>[Summary]</p>
                    <a rel="nofollow" target="_blank" href="#">Read More</a>
                </li>
            </ul>
        </section>
        <section class="latest">
            <h2>Latest News</h2>
            <ul>
                <li>
                    <h3>[Headline]</h3>
                    <p>[Summary]</p>
                    <a rel="nofollow" target="_blank" href="#">Read More</a>
                </li>
                <li>
                    <h3>[Headline]</h3>
                    <p>[Summary]</p>
                    <a rel="nofollow" target="_blank" href="#">Read More</a>
                </li>
                <li>
                    <h3>[Headline]</h3>
                    <p>[Summary]</p>
                    <a rel="nofollow" target="_blank" href="#">Read More</a>
                </li>
            </ul>
        </section>
    </main>
    <footer>
        <p>&copy; [Year] News Site</p>
    </footer>
    <script src="script.js"></script>
</body>
</html>

This template includes:

You can customize this template by adding your own content, styles, and JavaScript code. You can also add more sections, such as a search bar, a newsletter sign-up form, or a list of categories.

Here is an example of what the CSS file (styles.css) might look like:

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;
}

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

featured li {
  margin-bottom: 20px;
}

featured h3 {
  font-weight: bold;
  margin-top: 0;
}

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

latest li {
  margin-bottom: 20px;
}

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

This CSS file adds basic styling to the HTML template, including a dark gray background color, white text color, and a simple layout. You can customize the styles to fit your needs.