Program5

 <!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

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

<title>Newspaper</title>

<style>

body {

font-family: Arial, sans-serif;

line-height: 1.6;

margin: 0;

padding: 0;

}

header, footer {

background-color: #2C3E50;

color: white;

text-align: center;

padding: 10px 0;

}

article, section {

margin: 20px;

padding: 10px;

background-color: #ECF0F1;

border-radius: 8px;

}

article {

background-color: #BDC3C7;

}

h1, h2 {

color: #34495E;

}

table {

width: 100%;

border-collapse: collapse;

}

table, th, td {

border: 1px solid #BDC3C7;

}

th, td {

padding: 8px;

text-align: left;

}

figure {

background-color: #F4F6F7;

padding: 10px;

border-radius: 8px;

}

aside {

background-color: #D5DBDB;

padding: 15px;

margin-top: 20px;

}

aside p {

font-size: 14px;

}

</style>

</head>

<body>

<header>

<h1>Welcome to the Newspaper</h1>

</header>

<section>

<h2>Headline News</h2>

<article>

<h3>Breaking News: Local Event Takes Place</h3>

<p>Today, a major event happened in the town center, drawing attention

from around the region.</p>

</article>

<article>

<h3>Sports Update: Major Victory</h3>

<p>The local football team clinched a victory in the final match of

the season.</p>

</article>

</section>

<section>

<h2>Featured Articles</h2>

<article>

<h3>In-depth Analysis of the Economy</h3>

<p>Experts are predicting a recovery in the economy in the upcoming

months, despite the challenges faced this year.</p>

</article>

</section>

<aside>

<h3>Quick Facts</h3>

<p>Did you know that the oldest newspaper in the world has been

continuously printed for over 300 years?</p>

</aside>

<figure>

<img src="https://via.placeholder.com/300" alt="Newspaper Image">

<figcaption>A picture capturing the essence of the news

today.</figcaption>

</figure>

<section>

<h2>Recent Statistics</h2>

<table>

<thead>

<tr>

<th>Category</th>

<th>Value</th>

</tr>

</thead>

<tbody>

<tr>

<td>Population</td>

<td>5 Million</td>

</tr>

<tr>

<td>Area</td>

<td>120,000 km²</td>

</tr>

<tr>

<td>Annual Growth Rate</td>

<td>2.5%</td>

</tr>

</tbody>

</table>

</section>

<footer>

<p>&copy; 2024 Newspaper. All Rights Reserved.</p>

</footer>

</body>

</html>

Comments

Popular posts from this blog

Plantation

Program9

Program8