What does this mean which is in note in attribute section?

The align attribute of <p> is not supported in HTML5.

10/4/2019 3:01:46 PM

Priyanshu Gupta

1 Answer

New Answer


It means, if the document is HTML5 standard, and you use the 'align' attribute with the paragraph <p> tag, it *may not* affect how the paragraph is aligned in the browser view area. However, as I tried it in Code Playground the 'align' attribute still affected the paragraph's alignment. <p align="center">This is a paragraph</p>