+ 2

align="center"

Hi, what is align in HTML? Is it a function? And also how does the system understand that when we write align="center" it must move the text to the center? Why is it written inside starting <p> element, like here <p align="center" and not inside of opening and closing p elements like this <p> align="center" </p>?

12th Apr 2018, 4:49 PM
Pavel
3 ответов
+ 6
try it you have wrong syntax <p align ="center"> try this </p>
12th Apr 2018, 4:53 PM
Manual
Manual - avatar
12th Apr 2018, 4:55 PM
Manual
Manual - avatar