I think, that in both cases (attribute has empty value OR attribute is missing) effect is same. For attributes which doesn't have value their name must be used as a value, e.g. `checked="checked"`.