what if we don't put "/" in <p align="right" /> | Sololearn: Learn to code for FREE!

+1

what if we don't put "/" in <p align="right" />

7/20/2019 7:16:45 AM

Gaurav Singh Katoch

1 Answer

New Answer

+2

In this case, I don't think it will matter in terms of presentation in the web-browser. The practice of self-closing elements is part of the XHTML-standard, and it's a pretty good standard to follow, regardless. https://blog.teamtreehouse.com/to-close-or-not-to-close-tags-in-html5