<html>
<head>
<link rel="stylesheet" type="text/css" href="webpage1.css">
</head>
<body>
<div class="top-1">
<h1>my website</h1>
</div>
</body>
</html>
type or paste code here
body {
color:green;
margin: 0;
}
h1 {
text-align: center;
padding: 180px 20px;;
}
.top-1 {
background-image: url(images/download.jpeg);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
object-fit: cover;
}