+ 2
Why tag <p algin> doesn't work in html5
When I was study html I have read that tag p algin doesn't work in html5 Can anyone tell me why ??
4 Respuestas
+ 13
Actually it’s <p align=“”> text </p>
NOT
<p algin>
https://code.sololearn.com/WhW66SjoeCNv/?ref=app
+ 7
I'm pretty sure it works. And it's not algin, its align...
Example:
<p align="center">text</p>
+ 3
Well let me tell u the whole thing about it.
Paragraph tag <p>: is used to show block of paragraph in the webpage .
The align attribute of paragraph tag is used to align it in the webpage
Syntx :
<p align=" --"> ##content </p>
U can set the value of align as center , left or right. The paragraph will be aligned to that side.
Thanks
+ 2
Try this ... <p style="text-align:center"> content </p>