Web features explorer

Mutually exclusive <details> elements

Newly available since 2024-09-03
Tags: api html Groups: HTML > HTML elements

Multiple <details> elements which use the same name attribute are mutually exclusive. When one member of the group is opened, all other members are closed.

Learning resources on MDN

Browser support

Specifications