html align verticallly centercenter code example Example: css text align center body { text-align: center; }