in the case of HTML attributes, a boolean attribute has only two possible states, being there or not being there
for example, you can have an input element that is not required <input type="text"> by not writing the required attribute, or an element that is required by writing the required attribute <input type="text" required>
boolean attributes like required, checked and others do not get a value