14 ms·
end tag is optional for <p> in HTML 4. http://www.w3.org/TR/REC-html40/struct/text.html#h-9.3.1 http://www.w3.org/TR/REC-html40/struct/text.html#h-9.3.1
by cia_plant 17y ago
end tag is optional for <p> in HTML 4. http://www.w3.org/TR/REC-html40/struct/text.html#h-9.3.1 http://www.w3.org/TR/REC-html40/struct/text.html#h-9.3.1
- Sephr 17y agoSorry, I meant that it is a best practice to close them anyways because an invalid HTML comment inserted into blog served as XHTML doesn't go.
- nostrademons 17y agoThe blog really ought to validating user input, because there are many things worse than unclosed <p>s that can happen if it doesn't. Of course, "ought to" and "does" are two different things...