'Checkboxes in HTML

What input attribute do I use to make sure the user does not select everything in a list of html checkboxes? For example, I have created five checkboxes, but I want users to only select a maximum of three. I don't want to use radio buttons in this case. Please keep solutions to only HTML, not javascript.

Thanks. First newbie question here.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source