align text to center code example
Example 1: center text in css
.class {
text-align: center;
}
Example 2: text align center
text-align: center;
Example 3: html align right
<p style="text-align:right;">Example</p>
Example 4: css text align center
body {
text-align: center;
}