Skip to main content

 <!DOCTYPE html>

<html lang="en">

<head>

  <meta charset="UTF-8">

  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <meta name="description" content="Your go-to blog for the latest sports news, updates, and analysis.">

  <title>Sports Blog</title>

  <style>

    body {

      font-family: Arial, sans-serif;

      margin: 0;

      padding: 0;

      line-height: 1.6;

      color: #333;

    }

    header {

      background: #333;

      color: #fff;

      padding: 1rem 0;

      text-align: center;

    }

    header h1 {

      margin: 0;

    }

    nav {

      margin-top: 1rem;

    }

    nav a {

      color: #fff;

      text-decoration: none;

      margin: 0 1rem;

    }

    nav a:hover {

      text-decoration: underline;

    }

    .hero {

      background: url('sports-hero.jpg') no-repeat center center/cover;

      color: #fff;

      padding: 4rem 2rem;

      text-align: center;

    }

    .hero h2 {

      font-size: 2.5rem;

      margin-bottom: 1rem;

    }

    .hero p {

      font-size: 1.2rem;

    }

    .featured-posts {

      padding: 2rem;

      text-align: center;

    }

    .featured-posts h2 {

      font-size: 2rem;

      margin-bottom: 2rem;

    }

    .post {

      display: inline-block;

      width: 30%;

      margin: 1rem;

      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

      padding: 1rem;

      text-align: left;

    }

    .post img {

      width: 100%;

      height: auto;

    }

    .post h3 {

      margin: 1rem 0;

    }

    .post p {

      font-size: 0.9rem;

    }

    .post a {

      color: #333;

      text-decoration: none;

      font-weight: bold;

    }

    .post a:hover {

      text-decoration: underline;

    }

    footer {

      background: #333;

      color: #fff;

      text-align: center;

      padding: 1rem 0;

      margin-top: 2rem;

    }

    footer p {

      margin: 0;

    }

  </style>

</head>

<body>

  <header>

    <h1>Sports Blog</h1>

    <nav>

      <a href="#">Home</a>

      <a href="#">About</a>

      <a href="#">Categories</a>

      <a href="#">Contact</a>

    </nav>

  </header>


  <section class="hero">

    <h2>Welcome to the Ultimate Sports Blog</h2>

    <p>Get the latest updates, news, and insights from the world of sports.</p>

  </section>


  <section class="featured-posts">

    <h2>Featured Posts</h2>

    <div class="post">

      <img src="post1.jpg" alt="Post 1">

      <h3>Top 10 Football Moments of 2023</h3>

      <p>Relive the most exciting moments from the world of football this year.</p>

      <a href="#">Read More</a>

    </div>

    <div class="post">

      <img src="post2.jpg" alt="Post 2">

      <h3>NBA Playoffs: Predictions and Analysis</h3>

      <p>Our experts break down the upcoming NBA playoffs.</p>

      <a href="#">Read More</a>

    </div>

    <div class="post">

      <img src="post3.jpg" alt="Post 3">

      <h3>Olympics 2024: What to Expect</h3>

      <p>A sneak peek into the most anticipated events of the 2024 Olympics.</p>

      <a href="#">Read More</a>

    </div>

  </section>


  <footer>

    <p>&copy; 2023 Sports Blog. All rights reserved.</p>

  </footer>

</body>

</html>

Comments

Popular posts from this blog

Sports Blog Sports Blog Home About Categories Contact Welcome to the Ultimate Sports Blog Get the latest updates, news, and insights from the world of sports. Featured Posts Top 10 Football Moments of 2023 Relive the most exciting moments from the world of football this year. Read More NBA Playoffs: Predictions and Analysis Our experts break down the upcoming NBA playoffs. Read More Olympics 2024: What to Expect A sneak peek into the most anticipated events of the 2024 Olympics. Read More © 2023 Sports Blog. All rights reserved.