how to position an element in the center of a html page code example Example: how to put element in center in html p { text-align: center; }