<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
<style>
h1 {
display: table;
margin: 0px auto 0px auto;
padding: 3px;
font-size: 24px;
background-color: #30cf52;
color: #fff;
}
</style>
</head>
<body>
<h1>Lorem Ipsum is simply dummy text</h1>
</body>
</html>