LEXICON / Web Basics
Void element
Empty element
An HTML element with no child content or closing tag.
A closer look at the concept
Img, br, hr, input, and meta are void elements. A slash before > does not make an ordinary HTML element self-closing.
SIMPLE EXAMPLE
<img src="foto.jpg" alt="An open book on a desk"> does not use </img>.
Skip to content