Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added html #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions project_2/Newspapermaking.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

<!--
Question :-
You are tasked with creating a simple HTML structure for a newspaper front page using only HTML heading and p tags.
The content of the newspaper includes a headline, a subheadline, and a short article about a recent event. Below is the specific content you need to format:

Headline (h1):
"City Marathon: Record-Breaking Participation"

Subheadline (h2):
"Over 10,000 runners take part in the annual event"

Article (p):
"The annual city marathon saw a record-breaking participation this year, with over 10,000 runners from various age groups and backgrounds."
-->

<!-- Answer -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Newspaper Front Page</title>
</head>
<body>
<h1>City Marathon: Record-Breaking Participation</h1>
<h2>Over 10,000 runners take part in the annual event</h2>
<p>The annual city marathon saw a record-breaking participation this year, with over 10,000 runners from various age groups and backgrounds.</p>
</body>
</html>