Disallows void element with content (void-content
)
HTML void elements cannot have any content and must not have an end tag.
Rule details
Examples of incorrect code for this rule:
<img></img>
Examples of correct code for this rule:
<img>
<img/>