0% found this document useful (0 votes)
9 views12 pages

ASSIGNMENT Web Development

The document contains multiple HTML pages for a web development assignment, including a Home Page, About Page, Contact Page, Student Marks Page, and a Login Form. Each page features a consistent layout with a header, main content area, and footer, utilizing CSS for styling. The pages include navigation links, forms for contact and login, and a table for displaying student marks.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views12 pages

ASSIGNMENT Web Development

The document contains multiple HTML pages for a web development assignment, including a Home Page, About Page, Contact Page, Student Marks Page, and a Login Form. Each page features a consistent layout with a header, main content area, and footer, utilizing CSS for styling. The pages include navigation links, forms for contact and login, and a table for displaying student marks.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 12

ASSIGNMENT

wEbdevelopmint
Home Page

<!DOCTYPE html>
<html lang="en">
<head>

<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-
scale=1.0">
<title>Home Page</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
header {
background-color: #333;
color: white;
text-align: center;
padding: 1em;
}
main {
padding: 2em;
}
footer {
background-color: #333;
color: white;
text-align: center;
padding: 1em;
position: fixed;
bottom: 0;
width: 100%;
}
</style>
</head>
<body>
<header>
<h1>Welcome to Your Home Page</h1>
</header>
<main>
<a href="[Link]">about us</a>
<a href="[Link]">Contact</a>
<a href="[Link]">Table</a>
<a href="[Link]">Login</a>
</main>
<footer>
<p>&copy; 2024 Your Home Page</p>
</footer>
</body>
</html>
About Page

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-
scale=1.0">
<title>About Us</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
header {
background-color: #333;
color: white;
text-align: center;
padding: 1em;
}
main {
padding: 2em;
}
footer {
background-color: #333;
color: white;
text-align: center;
padding: 1em;
position: fixed;
bottom: 0;
width: 100%;
}
</style>
</head>
<body>
<header>
<h1>About Us</h1>
</header>
<main>
<section>
<h2>Our Story</h2>
<p>Welcome to our about page! Learn more about our journey
and mission.</p>
</section>

<section>
<h2>Our Team</h2>
<p>We are a dedicated team working towards a common goal.
Meet our team members:</p>
<ul>
<li>Mhammad Bilal - Founder</li>
<li>Mhammad Bilal - Developer</li>
<li>Mhammad Bilal - Designer</li>
</body>
</html>
Contact Page

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-
scale=1.0">
<title>Contact Us</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
header {
background-color: #333;
color: white;
text-align: center;
padding: 1em;
}
main {
padding: 2em;
}
footer {
background-color: #333;
color: white;
text-align: center;
padding: 1em;
position: fixed;
bottom: 0;
width: 100%;
}
form {
max-width: 600px;
margin: 0 auto;
}
label {
display: block;
margin-bottom: 8px;
}
input,
textarea {
width: 100%;
padding: 8px;
margin-bottom: 16px;
box-sizing: border-box;
}
button {
background-color: #333;
color: white;
padding: 10px 15px;
border: none;
cursor: pointer;
}
</style>
</head>
<body>
<header>
<h1>Contact Us</h1>
</header>
<main>
<section>
<p>Have questions or want to get in touch? Fill out the form
below:</p>
<form action="#" method="post">
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>

<label for="message">Message:</label>
<textarea id="message" name="message" rows="4"
required></textarea>

<button type="submit">Submit</button>
</form>
</section>
</main>
<footer>
<p>&copy; 2024 Your Contact Page</p>
</footer>
</body>
</html>

Students Marks

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-
scale=1.0">
<title>Student Marks</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
header {
background-color: #333;
color: white;
text-align: center;
padding: 1em;
}
main {
padding: 2em;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
th, td {
border: 1px solid #333;
padding: 10px;
text-align: center;
}
th {
background-color: #333;
color: white;
}
</style>
</head>
<body>
<header>
<h1>Student Marks</h1>
</header>
<main>
<table>
<thead>
<tr>
<th>Student ID</th>
<th>Name</th>
<th>Physics</th>
<th>Chemistry</th>
<th>Maths</th>
<th>Urdu</th>
<th>English</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Ali</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td><select name="" id="">
<option value="Pass">Pass</option>
<option value="Fail">Fail</option>
</select></td>
</tr>
<tr>
<td>2</td>
<td>Hassan</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td><select name="" id="">
<option value="Pass">Pass</option>
<option value="Fail">Fail</option>
</select></td>
</tr>
<tbody>
<tr>
<td>3</td>
<td>Haider</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td><select name="" id="">
<option value="Pass">Pass</option>
<option value="Fail">Fail</option>
</select></td>
</tr>
<tr>
<td>4</td>
<td>Talha</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td><select name="" id="">
<option value="Pass">Pass</option>
<option value="Fail">Fail</option>
</select></td>
</tr>
<tbody>
<tr>
<td>5</td>
<td>Taha</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td><select name="" id="">
<option value="Pass">Pass</option>
<option value="Fail">Fail</option>
</select></td>
</tr>

</tr>
<!-- Add more rows for additional students -->
</tbody>
</table>
</main>
</body>
</html>
Login Form

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-
scale=1.0">
<title>Login</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #2f32da;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
form {
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
width: 300px;
}
label {
display: block;
margin-bottom: 8px;
}
input {
width: 100%;
padding: 8px;
margin-bottom: 16px;
box-sizing: border-box;
}
button {
background-color: #f10ab8;
color: white;
padding: 10px 15px;
border: none;
cursor: pointer;
}
</style>
</head>
<body>
<form action="#" method="post">
<h2>Login</h2>
<label for="username">Username:</label>
<input type="text" id="username" name="username" required>

<label for="password">Password:</label>
<input type="password" id="password" name="password" required>

<center> <button type="submit">Login</button></center>


</form>
</body>
</html>

You might also like