how to make a text at the top of page in css

CSS
div {
  position: absolute;
  top: 
50px;
  border: 3px solid green;
}
 
Source

Also in CSS: