HTML5 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

HTML5

In one section it says, "the align attribute of <p> is not supported in HTML5." If this isn't used, then what is?

25th Apr 2019, 10:19 PM
Erin
2 Answers
+ 1
The align attribute of <p> is not supported in HTML5. Use CSS instead. CSS syntax: <p style="text-align:right">
25th Apr 2019, 10:25 PM
Edwin
Edwin - avatar
0
That makes sense. thank you!
25th Apr 2019, 10:26 PM
Erin