BIO -DATA
HTML
<html>
<head>
<title>Document</title>
<style>
*{
margin: 0;
padding: 0;
box-sizing: border-box;
body{
height: 100vh;
background-color: aquamarine;
}
header{
display: flex;
margin: auto;
width: 1200px;
position: relative;
padding: 20px 0px;
}
header a{
font-size: 25px;
text-decoration: none;
color: #000;
font-weight: bold;
header ul{
position: absolute;
right: 120px;
}
header ul li{
display: inline-block;
padding: 10px;
margin: 0px 10px;
font-weight: bold;
header button{
padding: 10px 30px;
border-radius: 10px;
outline: none;
border: 1px solid rgb(122,122,122);
background-color: #fff;
position: absolute;
right: 0;
section{
margin: auto;
width: 1200px;
padding: 20px 0px;
}
section h1{
margin-top: 84px;
font-size: 68px;
width: 268px;
font-family: monospace;
text-transform: capitalize;
}
section p{
width: 260px;
color: rgb(160,160,160);
margin: 20px 0px;
section button{
margin-top: 20px;
padding: 10px 30px;
border-radius: 10px;
outline: none;
border: 1px solid rgb(122,122,122);
background-color: #fff;
font-size: 18px;
}
button:hover{
background-color: rgb(100,100,100);
color: #fff;
[Link]{
background-color: #000;
color: #fff;
}
h4{
margin-top: 120px;
font-size: 26px;
section img{
float: right;
width: 600px;
height: 600px;
margin-top: 30px;
}
table {
width: 50%;
border-collapse: collapse;
th, td {
border: 1px solid black;
padding: 8px;
text-align: left;
}
th {
background-color: #f2f2f2;
tr:nth-child(even) {
background-color: #f9f9f9;
.se {
align: center;
color: crimson;
</style>
</head>
<body>
<header>
<img src="" alt="">
<a href="">[Link]</a>
<ul>
<li>Home</li>
<li>How its works</li>
<li>FAQS</li>
<li>Pricing</li>
</ul>
<button>Login</button>
</header>
<section>
<img src="[Link] alt=""
/>
<h1>Hello, i am Aniket</h1>
<p>I am a computer science student </p>
<button class="active">Contact</button>
<button>About us </button>
<h4>Web design</h4>
</section>
<br><br><br>
<hr>
<section class="se">
<h2>Personal Details</h2>
<table>
<tr>
<th>First Name</th>
<th>Last Name</th>
<th>Father Name</th>
<th>Email</th>
<th>Phone Number</th>
</tr>
<tr>
<td>Patel</td>
<td>Aniket</td>
<td>Kamleshbhai</td>
<td>[Link]@[Link]</td>
<td>123-456-7890</td>
</tr>
</table>
</section>
</body>
</html>
CSS
body{
display: flex;
text-align:center;
border-style: solid;
border-width: thin;
background-color: cyan;
}
h1{
display: flex;
font-family:sans-serif;
font-size:60px;
padding-top:0px;
flex-direction: column;
h2{
color:black;
font-size:20px;
text-decoration: underline;
#image{
display:block;
margin: auto;
height:auto;
max-width:100%;
border-radius: 2%;
box-shadow: 5px 5px 7px grey;
#img-caption{
color:#000000;
padding-bottom:2em;
font-family:sans-serif;
font-size:9px;
}
span{
background-color:#E6E6FA;
#tribute-info{
background-color:#F5F5F5;
font-family:"Times New Roman", Times, serif;
font-size:inherit;
display: contents;
align-items: flex-end;
text-align: center;
}
#tribute-link{
display: flex;
flex-direction: column;
padding-top: 3px;
padding-bottom: 2px;;
DIWALI
}
HTML
<html lang="en">
<head>
<title>Simple Diwali Wesite</title>
<link rel="stylesheet" href="[Link]">
</head>
<body>
<header>
<div class="brand">
<h1>Web Design</h1>
</div>
<div class="menu">
<ul>
<li><a href="">HOME</a></li>
<li><a href="">PHOTOS</a></li>
<li><a href="">VIDEOS</a></li>
<li><a href="">CONTACT US</a></li>
</ul>
</div>
</header>
<div class="introduction">
<h1>Happy Diwali</h1>
<h2>Have a happy, safe and blessed Diwali!</h2>
<hr>
<p style="background-color: rgba(255, 0, 0, 0.3); color: bisque; text-align:
center;font-size: 25px;">After the grand celebrations of Dussehra, the country waits
with bated breath for yet another and perhaps even glossier, <br>
splashier, and more gratifying festival, the one that marks different mythological
and historical events-Diwali.</p>
<hr>
</div>
<div class="button">
<a href=""> <button type="button">FAV Festival</button></a>
</div>
</body>
</html>
CSS
@import
url('[Link]
*{
margin: 0;
padding: 0;
box-sizing: border-box;
body {
background: url("[Link]
background-size: cover;
.brand h1 {
margin-top: 19px;
margin-left: 5px;
color: floralwhite;
}
.menu ul {
float: right;
margin-top: -23px;
}
.menu ul li {
list-style: none;
display: inline-block;
padding: 0 20px;
.menu ul li a {
text-decoration: none;
color: aqua;
header {
position: fixed;
background-color: rgba(30, 30, 30, 0.85);
width: 100%;
margin-top: -260px;
height: 90px;
.introduction h1 {
text-align: center;
margin-top: 250px;
font-size: 60px;
font-family: 'Oxygen', sans-serif;
.introduction h2 {
text-align: center;
margin-top: 7px;
font-size: 30px;
font-family: 'Oxygen', sans-serif;
.button button {
margin-top: 16px;
font-size: 20px;
font-family: 'Oxygen', sans-serif;
margin-left: 45%;
background-color: rgb(188, 224, 23);
width: 10%;
padding: 3px;
border-radius: 6px;
cursor: pointer;
border: 2px solid rgb(29, 210, 241);
transition: .5s;
.button button:hover{
background-color: cornflowerblue;
}
Ratan Tata
INDEX
HTML
<html>
<head>
<title>Tribute Page</title>
<link rel="stylesheet" href="[Link]">
</head>
<body>
<section>
<div id="main">
<h1 id="title">Ratan Tata</h1>
<div id="img-div">
<img id="image" src="[Link]
in/416x416/filters%3Aformat%28jpg%29/https%3A%2F%2Fspecials-
[Link]%2Fimageserve%2Fb0c032466eb88b109f20d7d9f6b4e0a8%
[Link]" alt="Ratan Tata">
<p id="img-caption"><span>Ratan Tata is one of the most influential business
magnate India has ever seen.</span></p>
<p id="tribute-info">
Ratan Naval Tata (born 28 December 1937) is an Indian industrialist,
philanthropist, and a former chairman of Tata Sons.
He was also chairman of Tata Group, from 1990 to 2012, and again, as
interim chairman, from October 2016 through February 2017, and continues to head
its charitable trusts.
He is the recipient of two of the highest civilian awards of India, the Padma
Vibhushan (2008) and Padma Bhushan (2000).
He is well known for his business ethics and philanthropy.
<br><br>
Born in 1937, he is a scion of the Tata family, and great-grandson of Jamsetji
Tata, the founder of Tata Group.
He is an alumnus of the Cornell University College of Architecture and
Harvard Business School through the Advanced Management Program that he
completed in 1975.
He joined his company in 1961 when he used to work on the shop floor of
Tata Steel, and was the apparent successor to J. R. D. Tata upon the latter's
retirement in 1991.
During Ratan Tata's chairmanship of 21 years, revenues grew over 40 times,
and profit, over 50 [Link] got Tata Tea to acquire Tetley, Tata Motors to acquire
Jaguar Land Rover, and Tata Steel to acquire Corus,
in an attempt to turn Tata from a largely India-centrist group into a global
business.<br><br>
Ratan Tata was born in Bombay, now Mumbai, on 28 December 1937,and is
the son of Naval Tata (born in Surat).
His biological maternal grandmother had been the sister of Hirabai Tata, wife
of group founder Jamshedji Tata.
His biological grandfather, Hormusji Tata, had belonged to the broader Tata
family; Ratan therefore was a Tata by birth.
Parents Naval and Sonoo separated in 1948 when Ratan was 10, and he
was subsequently raised by the widow of Sir Ratanji Tata, his grandmother, Navajbai
Tata, who formally adopted him through the J. N. Petit Parsi Orphanage.
He has a half-brother, Noel Tata (from Naval Tata's second marriage with
Simone Tata), with whom he was raised.
His first language is Gujarati.<br><br>
He studied at the Campion School, Mumbai till the 8th class, followed by
Cathedral and John Connon School, Mumbai and at Bishop Cotton School in Shimla,
and, in 1955, graduated from Riverdale Country School in New York City.
In 1959, he then received a degree in Architecture from Cornell University,
and in 1975, attended the seven-week Advanced Management Program of Harvard
Business School — an institution which he has since endowed.
<br><br>Tata is a supporter of education, medicine and rural development,
and considered a leading philanthropist in India.
Tata supported University of New South Wales Faculty of Engineering to
develop capacitive deionization to provide improved water for challenged areas.
<br><br>Ratan Tata received the Padma Bhushan in 2000 and Padma
Vibhushan in 2008, the third and second highest civilian honours awarded by the
Government of India.
</p>
<a href="[Link] target="_blank" id="tribute-
link">Click Here !!For more details about Ratan_Tata</a>
</div>
</div>
</section>
</body>
</html>
CSS
body{
display: flex;
text-align:center;
border-style: solid;
border-width: thin;
background-color: cyan;
h1{
display: flex;
font-family:sans-serif;
font-size:60px;
padding-top:0px;
flex-direction: column;
}
h2{
color:black;
font-size:20px;
text-decoration: underline;
}
#image{
display:block;
margin: auto;
height:auto;
max-width:100%;
border-radius: 2%;
box-shadow: 5px 5px 7px grey;
#img-caption{
color:#000000;
padding-bottom:2em;
font-family:sans-serif;
font-size:9px;
span{
background-color:#E6E6FA;
#tribute-info{
background-color:#F5F5F5;
font-family:"Times New Roman", Times, serif;
font-size:inherit;
display: contents;
align-items: flex-end;
text-align: center;
#tribute-link{
display: flex;
flex-direction: column;
padding-top: 3px;
padding-bottom: 2px;;
Virat kohli
HTML
<html>
<head>
<title>virat kohli - Profile</title>
<link rel="stylesheet" href="[Link]">
</head>
<body>
<header>
<h1>VIRAT KOHLI - The king Kohli</h1>
<nav>
<ul>
<li><a href="#profile">Profile</a></li>
<li><a href="#biography">Biography</a></li>
<li><a href="#career">Career Highlights</a></li>
<li><a href="#gallery">Gallery</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
</header>
<main>
<section id="profile" class="profile">
<img src="[Link] alt="MS Dhoni"
class="profile-pic">
<div class="profile-info">
<h2>Virat kohli</h2>
<p><strong>Sport:</strong> Cricket</p>
<p><strong>Country:</strong> India</p>
</div>
</section>
<section id="biography" class="biography">
<h2>Biography</h2>
<p>Virat Kohli is an Indian international cricketer who plays Test and ODI
cricket for the Indian national team. A former captain in all formats of the game, Kohli
retired from the T20I format following India's win at the 2024 T20 World Cup. He's a
right-handed batsman and an occasional unorthodox right arm quick bowler.</p>
</section>
<section id="career" class="career-highlights">
<h2>Career Highlights</h2>
<ul>
<li>2007 ICC World Twenty20 Champion</li>
<li>2011 ICC Cricket World Cup Champion</li>
<li>2013 ICC Champions Trophy Winner</li>
<li>Most successful captain in IPL history with RCB</li>
<li>Numerous records as a batsman</li>
</ul>
</section>
<section id="gallery" class="gallery">
<h2>Gallery</h2>
<div class="gallery-grid">
<img src="[Link]
content/uploads/2023/07/[Link]" alt="MS Dhoni 1"><br>
<img
src="[Link]
7&rs=1&pid=ImgDetMain" alt="MS Dhoni 2"><br>
<img src="[Link]
[Link]/sites/visualstory/stories/2022_09/story_10338/assets/[Link]?time=1
664471165" alt="MS Dhoni 3"><br>
<!-- Add more images as needed -->
</div>
</section>
<section id="contact" class="contact">
<h2>Contact</h2>
<p>For any inquiries or fan messages, please reach out through the following
social media platforms:</p>
<ul>
<li><a href="[Link] target="_blank">Twitter</a></li>
<li><a href="[Link]
target="_blank">Instagram</a></li>
<li><a href="[Link]
target="_blank">Facebook</a></li>
</ul>
</section>
</main>
</body>
</html>
CSS
/* General styles */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: rgb(190, 54, 218);
color: #333;
}
header {
background-color: black;
color: white;
padding: 20px;
text-align: center;
}
header h1 {
margin: 0;
nav ul {
list-style-type: none;
padding: 0;
margin: 0;
text-align: center;
nav ul li {
display: inline;
margin: 0 15px;
}
nav ul li a {
color: white;
text-decoration: none;
font-weight: bold;
}
nav ul li a:hover {
text-decoration: underline;
main {
padding: 20px;
}
.profile, .biography, .career-highlights, .gallery, .contact {
background: white;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
padding: 20px;
margin-bottom: 20px;
.profile {
display: flex;
align-items: center;
.profile-pic {
border-radius: 50%;
width: 180px;
height: 180px;
object-fit: cover;
margin-right: 20px;
border: 5px solid #1a1a1a;
.profile-info h2 {
margin: 0;
color: #1a1a1a;
ul {
list-style-type: disc;
margin: 0;
padding-left: 20px;
h2 {
margin-top: 0;
color: black;
.gallery-grid {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.gallery-grid img {
width: calc(33% - 10px);
height: auto;
border-radius: 8px;
}
.contact ul {
list-style-type: none;
padding: 0;
margin: 0;
text-align: center;
}
.contact ul li {
display: inline;
margin: 0 10px;
.contact ul li a {
color: black;
text-decoration: none;
.contact ul li a:hover {
text-decoration: underline;
footer {
background-color: #1a1a1a;
color: white;
text-align: center;
padding: 10px;
position: fixed;
bottom: 0;
width: 100%;