Source Code: (back to article)
<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
<style>
.container {
display: flex;
justify-content: center;
}
h1 {
display: flex;
padding: 3px;
font-size: 24px;
background-color: #000;
color: #fff;
}
</style>
</head>
<body>
<div class="container">
<h1>Lorem Ipsum is simply dummy text</h1>
</div>
</body>
</html>