align text right css code example
Example 1: text-align css
.p{
text-align:center;
}
<div class="p">
<p style="text-align:center">HELLO</p>
</div>
Example 2: text align justify
text-align: justify;
Example 3: text align css
p{
text-align:center;/*values: center, left, right, etc...*/
}
Example 4: css text align right
body {
text-align: right;
}
Example 5: css text align left
body {
text-align: left;
}