place text in the center of the page code example
Example 1: css position element in the middle of a header
P.blocktext {
margin-left: auto;
margin-right: auto;
width: 200px;/*usually works best with a fixed width*/
}
Example 2: how to put element in center in html
p {
text-align: center;
}