<div class="container">
  <code>&lt;div&gt;</code>
</div>
body {
  height: 100vh;
  display: grid;
  place-items: center;
  font-family: Arial, sans-serif;
}

.container {
  border: 1.5px solid red;
  border-radius: 8px;
  padding: 10px;
  width: 300px;
  height: 150px;
  text-align: center;
  font-size: 18pt;
  display: flex;
  align-items: center;
  justify-content: center;
}

code {
  background: #eee;
  border-radius: 3px;
  padding: 0 3px;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.