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