Quote:
Originally Posted by theducks
I would include any empty (non-text/Image) tag pairs in those locations
IMHO Margins should be used to supply top or bottom whitespace
|
The problem is that neither <p> </p> nor <p><br/></p> is "empty" - because they contain text - and that's
generally what I see used for this purpose. It's another case of "easy for a human to recognize, but hard to automate removal." Factor in that there's usually a class attached to the P element in such cases (especially to force a nonzero height to hack around the fact that the latter example is often - correctly - discarded without being displayed), and this becomes a rabbit hole
really fast.