Empty tags
Working with a CMS it may happen that the output markup is not perfect and contains empty tags.
Usually this is not a problem, but if there is an associated style-for example, a margin or border-there can be annoying layout problems.
The :empty selector simplifies the eventual proofreading task by allowing us to specify specific rules for these content-less tags.
p:empty {
display: none;
}
More info on MDN