New course! Every coder should learn Generative AI!
Try a free lesson0
Why? The align attribute of <p> is not supported in HTML5.
attributes in html
2 Answers
+ 6
Because now you do your job with the text-align attribute of CSS.
0
but we can put it in a div <div align="center"> <p> </p> <div>