+ 6

<p align="center">Paragraph text</p> is it valid...?

In HTML5 the ALIGN attribute is not supported as we learn. But in quiz the align attribute is used and says it is valid. Can someone tell me the reason....

22nd Sep 2018, 2:44 AM
Jewel Rana
Jewel Rana - avatar
5 Réponses
+ 4
It depends on what standard you are validating against/for. It's not valid HTML5, but it's valid HTML.
22nd Sep 2018, 5:14 AM
Janning⭐
Janning⭐ - avatar
+ 4
I wanna say, is it valid to use align attribute in <p> tag where we learn align teg is not support in HTML5.
22nd Sep 2018, 2:59 AM
Jewel Rana
Jewel Rana - avatar
+ 4
oooh. ok. Thank you..!
22nd Sep 2018, 5:27 AM
Jewel Rana
Jewel Rana - avatar
+ 2
Happy to help. 🙂
22nd Sep 2018, 5:57 AM
Janning⭐
Janning⭐ - avatar