Boolean attribute

An attribute whose presence means true and whose absence means false.

What is Boolean attribute?

Boolean attribute — An attribute whose presence means true and whose absence means false.

<button disabled>Sold out</button>

Level: Novice · More HTML terms at this level

Updated