Void element

noun

say it: “VOYD EL-uh-ment” /vɔɪd ˈɛləmənt/

An HTML element that can't hold anything inside it, so it has a start tag and no end tag. img, br, hr, meta and link are void elements.

What is Void element?

Void element — An HTML element that cannot contain child content and has no end tag.

In a sentence

  • “An image is a void element, so I wrote the img tag and never looked for a closing one.”

Level: Novice · More HTML terms at this level

Updated