Text formatting | Sololearn: Learn to code for FREE!

0

Text formatting

hey how to change the allingnment of the text like center,left or right

2/25/2017 2:06:53 AM

Durga Rao

7 Answers

New Answer

+3

Don't use such html attributes to style elements, use css instead... For text alignement, property is 'text-align' ^^

+1

In html use align for text

0

align="left"

0

use align="center or left"

0

To make text to be at center we can use <center> tag and also <align> tag can also be used

-1