DEV Community

Discussion on: HTML can do that?

Collapse
 
alexander_32 profile image
Alexander-- • Edited

Nice article! I think, that it misses an important technique, that uses checkboxes and :checked selector to approximate interactive elements.

Checkboxes and radio buttons can be used to create tabs, expandable areas, dialogs and other complex interactive controls without using Javascript. They are a lot more flexible and have better cross-browser compatibility than "dialog" and "summary".