WT Lab All Shubh
WT Lab All Shubh
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple Webpage</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: 20px;
}
main {
padding: 20px;
text-align: center;
}
footer {
background-color: #333;
color: white;
text-align: center;
padding: 10px;
position: absolute;
width: 100%;
bottom: 0;
}
</style>
</head>
<body>
<header>
<h1>Welcome to My Simple Webpage</h1>
</header>
<main>
<h2>Hello, world!</h2>
Output:-
2. Create a HTML page, which has properly aligned paragraphs with image along with it.
Output:-
Output:-
Output:-
/* Body styles */
Output:-
<!DOCTYPE html>
<html lang="en">
Output:-
OutPut:-
Output:-
Output:-
OutPut:-
11. Write a program using JavaScript to include a JS file into another JS file.