Aligning paragraphs: HTML vs HTML5 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Aligning paragraphs: HTML vs HTML5

In the Attributes lesson of the HTML course it states that the align attribute of <p> is not supported in HTML5. What does that mean? Is it no longer in use? What’s the alternative?

22nd Jun 2020, 5:29 AM
gad2code
gad2code - avatar
3 Answers
+ 4
Which lesson?? Share link. Or you can do it by css . Text-align: center;
22nd Jun 2020, 5:32 AM
Samira
Samira - avatar
22nd Jun 2020, 5:45 AM
Gordon
Gordon - avatar
0
Thank you for all your answers. Very helpful! 👍
23rd Jun 2020, 7:11 PM
gad2code
gad2code - avatar