Why? The align attribute of <p> is not supported in HTML5. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why? The align attribute of <p> is not supported in HTML5.

attributes in html

25th Sep 2018, 4:23 PM
Vishal Yadav
Vishal Yadav - avatar
2 Answers
+ 6
Because now you do your job with the text-align attribute of CSS.
25th Sep 2018, 4:47 PM
Valen.H. ~
Valen.H. ~ - avatar
0
but we can put it in a div <div align="center"> <p> </p> <div>
16th Jun 2022, 1:04 AM
Mohamed Mashaheet