Problem Statement
What are void elements in HTML? Give examples
Explanation
Void elements are HTML elements that do not have closing tags or any content inside them.
They are self-contained. Examples include br tag, hr tag, img tag, br tag, link tag, and meta tag.
These elements usually perform standalone functions such as inserting a line break or linking a stylesheet.
Practice Sets
This question appears in the following practice sets: