<!DOCTYPE html>
<html>
<head>
<title>The title of the document</title>
<style>
.container {
display: flex;
align-items: center;
justify-content: center
}
img {
max-width: 100%
}
.image {
flex-basis: 40%
}
.text {
font-size: 20px;
padding-left: 20px;
}
</style>
</head>
<body>
<div class="container">
<div class="image">
<img src="https://i.pinimg.com/originals/26/ea/fc/26eafc0b14488fea03fa8fa9751203ff.jpg">
</div>
<div class="text">
<h1>Paris is one of the most beautiful cities in France.</h1>
</div>
</div>
</body>
</html>