<!DOCTYPE html>
<html>
<head>
<title>Object Fit Cover Example</title>
<style>
.image-container {
width: 400px;
height: 400px;
overflow: hidden;
}
.image-container img {
width: 100%;
height: 100%;
object-fit: cover;
}
</style>
</head>
<body>
<h1>Object Fit Cover Example</h1>
<div class="image-container">
<img src="example.jpg" alt="Example Image" />
</div>
</body>
</html>