<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Fake News Portal</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<nav>
<!-- Navigation links -->
</nav>
<h1>Fake News Portal</h1>
<!-- Other header content -->
</header>
<main>
<article>
<h2>Fake Story One: Urban Development</h2>
<img src="https://live.staticflickr.com/65535/53498184592_85a1bb3b8e_b.jpg" width="400" height="400"alt="Urban Street View">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit...</p>
</article>
<article>
<h2>Fake Story Two: The Park Revival</h2>
<img src="https://live.staticflickr.com/65535/53498184597_ebd4d68874_w.jpg" width="400" height="400" alt="Park with People and Trees">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit...</p>
</article>
<!-- More articles -->
</main>
<aside>
<!-- Side content like ads or links -->
</aside>
<footer>
<!-- Footer content -->
</footer>
</body>
</html>
/* Reset some basic elements */
body, h1, h2, p {
margin: 0;
padding: 0;
}
body {
font-family: 'Times New Roman', Times, serif;
background-color: #fff;
color: #333;
line-height: 1.6;
}
header {
background-color: #f8f9fa;
border-bottom: 1px solid #ddd;
padding: 10px 0;
}
header h1 {
text-align: center;
font-size: 2.5em;
font-weight: bold;
}
nav {
display: flex;
justify-content: center;
padding: 10px 0;
}
nav a {
text-decoration: none;
color: #333;
margin: 0 15px;
font-weight: bold;
font-size: 1em;
}
main {
width: 80%;
margin: 20px auto;
}
article {
margin-bottom: 40px;
}
article h2 {
font-size: 1.5em;
margin-bottom: 10px;
}
article img {
max-width: 100%;
height: auto;
display: block;
margin-bottom: 10px;
}
aside {
background-color: #f7f7f7;
padding: 20px;
margin-top: 20px;
}
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 20px 0;
position: relative;
bottom: 0;
width: 100%;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.