text left align 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 center
text-align: center;
Example 3: css text align center
body {
text-align: center;
}
Example 4: css text align right
body {
text-align: right;
}