1.p{
2text-align:center;
3}
4<div class="p">
5<p style="text-align:center">HELLO</p>
6</div>
1The different values of text-align are -
21) text-align: justify; (spreads throughout to the left and right)
32) text-align: center; (centers the text)
43) text-align: left; (the default value, shifts the text to left side)
54) text-align: right; (shifts the text to right side)