konten html dalam persegi panjang

<style>
.rectangle{
padding-top: 40px;
  width:100px;
  height:100px;
  border:1px solid #000; 
  position: relative;
  text-align: center;
}
</style>

<div class="rectangle">Hello world!</div>
Arno Deceuninck