college project
surabhi college.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<h1>Surabhi College</h1>
</header>
<nav>
<a href="#">home</a>
<a href="#">student login</a>
<a href="#">student result</a>
<a href="#">notes</a>
<a href="#">photo</a>
</nav>
<main></main>
<section>
<h2>Branches</h2>
<img src="icon/IMG_8860.JPG" alt="" width="22%">
<img src="icon/IMG_8860.JPG" alt="" width="22%">
<img src="icon/IMG_8860.JPG" alt="" width="22%">
<img src="icon/IMG_8860.JPG" alt="" width="22%">
<img src="icon/IMG_8863.JPG" alt="" width="22%">
<img src="icon/IMG_8863.JPG" alt="" width="22%">
<img src="icon/IMG_8863.JPG" alt="" width="22%">
<img src="icon/IMG_8863.JPG" alt="" width="22%">
</section>
<hr>
<section>
<h2>College</h2>
<img src="icon/IMG_8863.JPG" alt="" width="22%">
<img src="icon/IMG_8863.JPG" alt="" width="22%">
<img src="icon/IMG_8863.JPG" alt="" width="22%">
<img src="icon/IMG_8863.JPG" alt="" width="22%">
<img src="icon/IMG_8860.JPG" alt="" width="22%">
<img src="icon/IMG_8860.JPG" alt="" width="22%">
<img src="icon/IMG_8860.JPG" alt="" width="22%">
<img src="icon/IMG_8860.JPG" alt="" width="22%">
</section>
<hr>
<div>
<h2>Owner</h2>
<img src="icon/1488191168SurabhiCollegeOfEngineeringandTechnologyBhopalMadhyaPradesh.jpg" width="100px" height="95px" alt="">
<a href="#">
<h3>SCET BHOPAL</h3>
</a>
</div>
<footer>
<a href="#">privacy policy</a>
<a href="#">contact</a>
<a href="#">DMCA</a>
<a href="#">about</a>
</footer>
</main>
</body>
</html>
style.css
* {
margin: 0;
padding: 0;
}
h1 {
padding: 30px;
background-color: blue;
color: white;
font-size: 40px;
text-align: center;
}
nav {
padding: 10px;
background-color: tomato;
overflow: hidden;
}
nav a {
display: block;
color: white;
text-decoration: none;
padding: 3px 10px;
float: left;
font-size: 20px;
}
nav a:hover {
color: aqua;
cursor: copy;
}
h2 {
text-align: center;
padding-bottom: 20px;
background-color: teal;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
margin-right: 10px;
margin-left: 10px;
}
section {
text-align: center;
padding-top: 10px;
}
div {
text-align: center;
text-decoration: none;
}
div a {
color: black;
text-decoration: none;
}
footer {
padding: 20px;
background-color: black;
overflow: hidden;
}
footer a {
color: aliceblue;
display: block;
padding: 4px 15px;
float: left;
text-decoration: none;
}
output:-
إرسال تعليق